Free DVA-C02 Exam Braindumps

Pass your DVA-C02 exam with these free Questions and Answers

Page 5 of 26
QUESTION 16

An application that is hosted on an Amazon EC2 instance needs access to files that are stored in an Amazon S3 bucket. The application lists the objects that are stored in the S3 bucket and displays a table to the user. During testing, a developer discovers that the application does not show any objects in the list.
What is the MOST secure way to resolve this issue?

  1. A. Update the IAM instance profile that is attached to the EC2 instance to include the S3:* permission for the S3 bucket.
  2. B. Update the IAM instance profile that is attached to the EC2 instance to include the S3:ListBucket permission for the S3 bucket.
  3. C. Update the developer's user permissions to include the S3:ListBucket permission for the S3 bucket.
  4. D. Update the S3 bucket policy by including the S3:ListBucket permission and by setting the Principal element to specify the account number of the EC2 instance.

Correct Answer: B

QUESTION 17

A company receives food orders from multiple partners. The company has a microservices application that uses Amazon API Gateway APIs with AWS Lambda integration. Each partner sends orders by calling a customized API that is exposed through API Gateway. The API call invokes a shared Lambda function to process the orders.
Partners need to be notified after the Lambda function processes the orders. Each partner must receive updates for only the partner's own orders. The company wants to add new partners in the future with the fewest code changes possible.
Which solution will meet these requirements in the MOST scalable way?

  1. A. Create a different Amazon Simple Notification Service (Amazon SNS) topic for each partne
  2. B. Configure the Lambda function to publish messages for each partner to the partner's SNS topic.
  3. C. Create a different Lambda function for each partne
  4. D. Configure the Lambda function to notify each partner's service endpoint directly.
  5. E. Create an Amazon Simple Notification Service (Amazon SNS) topi
  6. F. Configure the Lambda function to publish messages with specific attributes to the SNS topi
  7. G. Subscribe each partner to the SNS topi
  8. H. Apply the appropriate filter policy to the topic subscriptions.
  9. I. Create one Amazon Simple Notification Service (Amazon SNS) topi
  10. J. Subscribe all partners to the SNS topic.

Correct Answer: C

Page 5 of 26

Post your Comments and Discuss Amazon DVA-C02 exam with other Community members: