Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Exactprep DVA-C01 Questions

Page: 22 / 23
Total 608 questions

AWS Certified Developer Associate Exam Questions and Answers

Question 85

A video-hosting website has two types of members: those who pay a fee. and those who do not Each video upload places a message in Amazon SQS A fleet of Amazon EC2 instances polls Amazon SQS and processes each video

The developer needs to ensure that the videos uploaded by the paying members are processed first

How can the developer meet this requirement?

Options:

A.

Create two SQS queues: one for paying members, and one for non-paying members Poll the paying member queue first and then poll the non-paying member queue

B.

Use SQS to set priorities on individual items within a single queue: give the paying members' videos the highest priority.

C.

Use SQS to set priorities on individual items within a single queue and use Amazon SNS to encode the videos

D.

Create two Amazon SNS topics: one for paying members and one for non-paying members Use SNS topic subscription priorities to differentiate between the two types of members.

Question 86

A development team uses AWS Elastic Beanstalk to deploy a Java-based web application. The team wants to ensure that the changes to the source code and the configuration are always deployed on new instances The team configures the Elastic Beanstalk environment to use immutable updates. However an error occurs the first time a change is deployed with the new update policy

What is the MOST likely cause of this issue?

Options:

A.

Immutable updates are not supported for Java-based applications

B.

The account has reached its on-demand instance limit

C.

Immutable updates are only supported for m4 large and larger instance types.

D.

The developer must also modify the ebextensions/immutable-updates config file to enable immutable updates

Question 87

A developer is creating a script to automate the deployment process for a serverless application. The developer wants to use an existing AWS Serverless Application Model (AWS SAM) template for the application

What should the developer use for the project? (Select TWO)

Options:

A.

Callaws cloudformation package to create the deployment package Call aws cloudformation deploy to deploy the package afterward.

B.

Call sam package to create the deployment package Call sam deploy to deploy the package afterward

C.

Callaws s3 cp to upload the AWS SAM template to Amazon S3 Call aws lambda update-function-code to create the application.

D.

Create a ZIP package locally and call aws serverlessrepo create-applicarion to create the application.

E.

Create a ZIP package and upload it to Amazon S3 Callaws cloudfonnation create-stack to create the application

Question 88

A company recently experienced some unexpected downtime. After investigating, the company determines that a developer mistakenly terminated several production Amazon EC2 instances.

What should the company do to BEST protect against accidental terminations in the future.

Options:

A.

Enable EC2 termination protection on all production instances unless approval has been given through AWS Resource Access Manager.

B.

Modify the developer group’s permissions policy to deny them access to delete production instances unless approved has been given through AWS Resource Access Manager.

C.

Modify the developer group’s permission policy to require multi-factor authentication (MFA) only production instances are being delete Enable EC2 termination protection on production instances.

D.

Enable EC2 termination protection on production instances. Deny the developer group’s permissions policy access to terminate instance. Create a new role that developer can assume when termination is necessary.

Page: 22 / 23
Total 608 questions