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

AWS Certified Associate DVA-C01 Passing Score

Page: 20 / 23
Total 608 questions

AWS Certified Developer Associate Exam Questions and Answers

Question 77

A company's ecommerce website is experiencing massive traffic spikes, which are causing performance problems in the company database. Users are reporting that accessing the website takes a long time

A developer wants to implement a caching layer using Amazon ElastiCache. The website is required to be responsive no matter which product a user views, and the updates to product information and prices must be strongly consistent

Options:

A.

Which cache writing policy will satisfy these requirements?

B.

Write to the cache directly and sync the backend at a later time.

C.

Write to the backend first and wait for the cache to expire.

D.

Write to the cache and the backend at the same time

E.

Write to the backend first and invalidate the cache

Question 78

A company is adding items to an Amazon DynamoDB table from an AWS Lambda function that is written in Python A developer needs to implement a solution that inserts records in the DynamoDB table and performs automatic retry when the insert fails

Which solution meets these requirements with MINIMUM code changes?

Options:

A.

Configure the Python code to run the AWS CLl through shell to call the Putltem operation

B.

Call the Putltem operation from Python by using the DynamoDB HTTP API

C.

Queue the items in AWS Glue: which will put them into the DynamoDB table

D.

Use the AWS software development kit (SDK) for Python (boto3) to call the Putltem operation

Question 79

A developer Is working with a Docker application that needs to be quickly deployed using AWS without changing the infrastructure or configuring health checks. The application should be configured so that changes and updates can be made automatically without any downtime

Which solution will meet these requirements?

Options:

A.

Use AWS Elastic Beanstalk for application deployment and select an all-at-once update policy.

B.

Use AWS Elastic Beanstalk for application deployment and select a rolling deployment policy.

C.

Deploy the Docker container on an Amazon EC2 instance in an Auto Scaling group and configure a health check on the EC2 instance

D.

Deploy the Docker container using AWS Lambda and enable Amazon CloudWatch monitoring

Question 80

A company is migrating the content delivery network for its dynamic PHP website to AWS An Amazon CloudFront web distribution is part of the new infrastructure The distnbution has the following cache behavior settings

• Allowed HTTP Methods is set to GET, HEAD

• Viewer Protocol Policy is set to HTTP and HTTPS

Developers test the solution and can reach the company's website over HTTP and HTTPS However the developers are unable to tog in lo the previously working administration panel of the website

Which action will resolve this login issue1?

Options:

A.

Set Allowed HTTP Methods to GET. HEAD; OPTIONS

B.

Set Viewer Protocol Policy to HTTPS Only

C.

Set Allowed HTTP Methods to GET, HEAD: OPTIONS, PUT, POST PATCH, DELETE

D.

Set Viewer Protocol Policy to Redirect HTTP to HTTPS

Page: 20 / 23
Total 608 questions