100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
AWS Certified Developer Associate 4: Multiple Choice Questions And Correct Answers with Rationale,100% Verified $15.00   Add to cart

Exam (elaborations)

AWS Certified Developer Associate 4: Multiple Choice Questions And Correct Answers with Rationale,100% Verified

 2 views  0 purchase
  • Course
  • Institution

AWS Certified Developer Associate 4: Multiple Choice Questions And Correct Answers with Rationale,100% Verified You are a developer for a company. You have been asked to deploy an application for development purposes onto an Elastic beanstalk environment. You need to ensure that custom softwar...

[Show more]

Preview 4 out of 42  pages

  • December 20, 2023
  • 42
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
AWS Certified Developer Associate 4: Multiple Choice
Questions And Correct Answers with Rationale,100%
Verified
You are a developer for a company. You have been asked to deploy an
application
for development purposes onto an Elastic beanstalk environment. You need to
ensure that custom software is installed on the backend Linux servers that are
launched as part of the Elastic Beanstalk environment. Which of the following can
be used to achieve this? Choose 2 answers from the options given below

A. Create an XML file with the required package names to be installed on the
server
B. Create an YAML file with the required package names to be installed on the
server
C. Place the file in the ebextensions folder in your Application Source Bundle
D. Place the file in the .config folder in your Application Source Bundle
Explanation :
Answer - B and C
The AWS Documentation mentions the following
AWS Elastic Beanstalk supports a large number of configuration options
(https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) that let
you
modify the settings that are applied to resources in your environment. Several of these
options have
default values that can be overridden to customize your environment. Other options can
be
configured to enable additional features.
Elastic Beanstalk supports two methods of saving configuration option settings.
Configuration files in
YAML or JSON format can be included in your application's source code in a directory
named .ebextensions and deployed as part of your application source bundle. You
create and manage
configuration files locally.
Option A is invalid because the configuration file needs to be in YAML or JSON format
Option D is invalid because the configuration file needs to be placed in
the .ebextensions folder
For more information on the environment configuration options , please refer to the
below URL
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-
configurationmethods-
before.html
Your company currently used Puppet as its configuration management software.
You are the development lead and now have to deploy an application for

,development onto AWS. You have to leverage your company's existing scripts on
Puppet for deployment of the environment. Which of the following would be the
best service for deployment of the application?

A. AWS Elasticbeanstalk
B. AWS Opswork
C. AWS Redshift
D. AWS DynamoDB
Explanation :
Answer - B
The AWS Documentation mentions the following
AWS OpsWorks is a configuration management service that helps you configure and
operate
applications in a cloud enterprise by using Puppet or Chef. AWS OpsWorks Stacks and
AWS OpsWorks
for Chef Automate let you use Chef (https://www.chef.io/) cookbooks and solutions for
configuration
management, while OpsWorks for Puppet Enterprise lets you configure a Puppet
Enterprise
(https://puppet.com/products/puppet-enterprise) master server in AWS. Puppet offers a
set of tools
for enforcing the desired state of your infrastructure, and automating on-demand tasks.
Option A is incorrect since Opswork should be chosen as the preference since its
support Puppet
Options C and D are incorrect since these are data stores
For more information on Opswork , please refer to the below URL
https://docs.aws.amazon.com/opsworks/latest/userguide/welcome.html
A company is planning on developing an application that is going to make use of
a DynamoDB table. The structure of the table is given below

AttributeName Type Description
CustomerID String Automatically generated GUID
Customer NameString Name of the Customer
Location String Place/ Area
Interests String Wish list of products

Which of the following should be chosen as the partition key to ensure the MOST
effective distribution of keys?

A. CustomerID
B. CustomerName
C. Location
D. Interests
Explanation :
Answer - A

,The most effective one will be the Customer ID since this would ideally be unique and
hence give a better key partition. Because of GUID provides programmatically unique
Identity.
For more information on DynamoDB , please refer to the below URL
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/best-
practices.html
You're are a developer for a company that has been hired to lead the application
development for a company. The application needs to interact with a backend
data store. The application would need to perform many complex join operations
on the data store. Which of the following would be ideal data store for the
application?

A. AWS DynamoDB
B. AWS RDS
C. AWS Redshift
D. AWS S3
Explanation :
Answer - B
Amazon Relational Database Service (Amazon RDS) is a web service that makes it
easier to set up,
operate, and scale a relational database in the cloud. It provides cost-efficient, resizable
capacity for
an industry-standard relational database and manages common database
administration tasks. Since
you need complex query design , it is better to choose one of the available relational
database services
Option A is incorrect since AWS DynamoDB does not support complex joins
Option C is incorrect since this is normally used for petabyte data storage
Option D is incorrect since this is used for Object level storage
For more information on AWS RDS , please refer to the below URL
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html
Your company is planning on storing documents in an S3 bucket. The documents
are sensitive, and employees should use Multi Factor authentication when trying
to
access documents. Which of the following must be done to fulfil this
requirement?

A. Ensure that Encryption is enabled the bucket AWS server-side encryption
B. Ensure that Encryption is enabled the bucket using KMS keys
C. Ensure that the a bucket policy is in place with a condition of
"aws:MultiFactorAuthPresent":"false" with a
Deny policy
D. Ensure that the a bucket policy is in place with a condition of
"aws:MultiFactorAuthPresent":"true" with a
Deny policy

, Explanation :
Answer - C
The AWS Documentation gives an example on how to add a bucket policy which
ensures that only if
users are MFA authenticated , will they have access the bucket.

Options A and B are incorrect since the question talks about MFA and not encryption
Option D is incorrect since aws:MultiFactorAuthPresent should be checked against the
false value for
a Deny policy
For more information on this use case scenario , please refer to the below URL
https://aws.amazon.com/premiumsupport/knowledge-center/enforce-mfa-other-
accountaccess-
bucket/
Your development team currently uses Jenkins for managing the CI/CD process.
You need to move the process on to AWS. Which of the following service would
be
the ideal service for this requirement?

A. AWS CodeBuild
B. AWS CodePipeline
C. AWS Elastic Beanstalk
D. AWS Opswork
Explanation :
Answer - B
CodePipeline is a continuous delivery service for fast and reliable application updates.
Jenkins is a
popular continuous integration and continuous delivery tool. Jenkins can build and test
your software
projects continuously while offering various delivery options as well as a very extensible
interface
powered by Jenkins plugins.
AWS CodePipieline plugin for Jenkins helps to implement the CI/CD process.
https://aws.amazon.com/blogs/devops/building-continuous-deployment-on-aws-with-
awscodepipeline-
jenkins-and-aws-elastic-beanstalk/
(https://aws.amazon.com/blogs/devops/buildingcontinuous-
deployment-on-aws-with-aws-codepipeline-jenkins-and-aws-elastic-beansatlk/)
Option A is incorrect. The question asks about migration your CI/CD tool to AWS.
CodeBuild is not a
fully-fledged CI/CD solution. It is solely a build tool; AWS CodeBuild is a fully managed
build service
that compiles source code, runs tests, and produces software packages that are ready
to deploy.
Options C and D are incorrect since this is used for managing application environments

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ACADEMICAIDSTORE. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $15.00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

81113 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling

Recently viewed by you


$15.00
  • (0)
  Add to cart