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

Free DVA-C01 Amazon Web Services Updates

Page: 23 / 23
Total 608 questions

AWS Certified Developer Associate Exam Questions and Answers

Question 89

A developer must modify an Alexa skill backed by an AWS Lambda function to access an Amazon DynamoDB table in a second account A role in the second account has been created with permissions to access the table

How should the table be accessed?

Options:

A.

Modify the Lambda function execution role's permissions to include the new role

B.

Change the Lambda function execution role to be the new role

C.

Assume the new role in the Lambda function when accessing the table

D.

Store the access key and the secret key for the new role and use them when accessing the table

Question 90

A company hosts a microservices application that uses Amazon API Gateway, AWS Lambda, Amazon Simple Queue Service (Amazon SOS), and Amazon DynamoDB, One of the Lambda functions adds messages to an SOS FIFO queue.

When a developer checks the application logs, the developer finds a few duplicated items in a DynamoDB table. The items were inserted by another polling function that processes messages from the queue.

What is the MOST likely cause of this issue?

Options:

A.

Write operations on the DynamoDB table are being throttled

B.

The SOS queue delivered the message to the function more than once

C.

API Gateway duplicated the message in the SOS queue

D.

The polling function timeout is greater than the queue visibility timeout

Question 91

A developer has code stored in an Amazon S3 bucket The code must be deployed as an AWS Lambda function across multiple accounts in the same Region as the S3 bucket The Lambda function will be deployed using an AWS CloudFormation template that is run for each account

What is the MOST secure approach to allow access to the Lambda code in the S3 bucket?

Options:

A.

Grant the CloudFormation execution role S3 list and get permissions Add a bucket policy to Amazon S3 with the Pnncipal of "AWS": [account numbers].

B.

Grant the CloudFormation execution role S3 get permissions Add a bucket policy to Amazon S3 with the Principal of "".

C.

Use a service-based link to grant the Lambda function S3 list and get permissions by explicitly adding the S3 bucket's account number in the resource

D.

Use a service-based link to grant the Lambda function S3 get permissions and add a Resource of "*" to allow access to the S3 bucket.

Page: 23 / 23
Total 608 questions