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

Free DVA-C01 Questions Attempt

Page: 17 / 23
Total 608 questions

AWS Certified Developer Associate Exam Questions and Answers

Question 65

A developer has discovered that an application responsible for processing messages in an Amazon SQS queue is routinely falling behind. The application is capable of processing multiple messages in one execution, but is only receiving one message at a time

What should the developer do to increase the number of messages the application receives?

Options:

A.

Call the ChangeMessageVisibility API for the queue and set MaxNumberOfMessages to a value greater than the default of 1.

B.

Call the AddPermission API to set MaxNumberOfMessages for the ReceiveMessage action to a value greater than the default of 1.

C.

Call the ReceiveMessage API to set MaxNumberOfMessages to a value greater than the default of 1

D.

Call the SetQueueAttributes API for the queue and set MaxNumberOfMessages to a value greater than the default of 1.

Question 66

A Developer is migrating an on-premises application to AWS. The application currently takes user uploads and saves them to a local directory on the server. All uploads must be saved and made immediately available to all instances in an Auto scaling group.

Which approach will meet these requirements?

Options:

A.

Use Amazon EBS and configure the application AMI to use a snapshot of the same EBS instance on boot.

B.

Use Amazon S3 and rearchitect the application so all uploads are placed in S3.

C.

Use instance storage and share it between instances launched from the same Amazon machine image (AMI).

D.

Use Amazon EBS and file synchronization software to achieve eventual consistency among the auto scaling group.

Question 67

A developer implemented a static website hosted in amazon s3 that makes web service requests in amazon api gateway and aws lambda. The site is showing an error that reads.

''No 'access control-allow-origin'header' header is present on the requested resource. Origin 'null is therefore not allowed access ''

What should the developer do to resolve this issue?

Options:

A.

Enable cross-origin resource sharing (cors) on the s3 bucket

B.

Enable cross-origin resource sharing (cors) for the method in api gateway

C.

Add the access control-request-method header to the request

D.

Add the access-control inquest headers header to the request

Question 68

While developing an application that runs on Amazon EC2 in an Amazon VPC, a Developer identifies the need for centralized storage of application-level logs.

Which AWS service can be used to securely store these logs?

Options:

A.

Amazon EC2 VPC Flow Logs

B.

Amazon CloudWatch Logs

C.

Amazon CloudSearch

D.

AWS CloudTrail

Page: 17 / 23
Total 608 questions