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

DVA-C01 Exam Questions Tutorials

Page: 8 / 23
Total 608 questions

AWS Certified Developer Associate Exam Questions and Answers

Question 29

A company has written a Java AWS Lambda function to be triggered whenever a user uploads an image to an Amazon S3 bucket. The function converts the original image to several different formats and then copies the resulting images to another Amazon S3 bucket.

The Developers find that no images are being copied to the second Amazon S3 bucket. They have tested the code on an Amazon EC2 instance with 1GB of RAM, and it takes an average of 500 seconds to complete.

What is the MOST likely cause of the problem?

Options:

A.

The Lambda function has insufficient memory and needs to be increased to 1 GB to match the Amazon EC2 instance

B.

Files need to be copied to the same Amazon S3 bucket for processing, so the second bucket needs to be deleted.

C.

Lambda functions have a maximum execution limit of 300 seconds, therefore the function is not completing.

D.

There is a problem with the Java runtime for Lambda, and the function needs to be converted to node.js.

Question 30

A Developer must build an application that uses Amazon DynamoDB. The requirements state that items being stored in the DynamoDB table will be 7KB in size and that reads must be strongly consistent. The maximum read rate is 3 items per second, and the maximum write rate is 10 items per second.

How should the Developer size the DynamoDB table to meet these requirements?

Options:

A.

Read: 3 read capacity units

Write: 70 write capacity units

B.

Read: 6 read capacity units

Write: 70 write capacity units

C.

Read: 6 read capacity units

Write: 10 write capacity units

D.

Read: 3 read capacity units

Write: 10 write capacity units

Question 31

How can you secure data at rest on an EBS volume?

Options:

A.

Attach the volume to an instance using EC2's SSL interface.

B.

Write the data randomly instead of sequentially.

C.

Use an encrypted file system on top of the BBS volume.

D.

Encrypt the volume using the S3 server-side encryption service.

E.

Create an IAM policy that restricts read and write access to the volume.

Question 32

A Developer must re-implement the business logic for an order fulfilment system. The business logic has to make requests to multiple vendors to decide where to purchase an item. The whole process can take up to a week to complete.

What is the MOST efficient and SIMPLEST way to implement a system that meets these requirements?

Options:

A.

Use AWS Step Functions to execute parallel Lambda functions, and join the results.

B.

Create an AWS SQS for each vendor, poll the queue from a worker instance, and joint the results.

C.

Use AWS Lambda to asynchronously call a Lambda function for each vendor, and join the results.

D.

Use Amazon CloudWatch Events to orchestrate the Lambda functions.

Page: 8 / 23
Total 608 questions