Free AWS Certified Developer - Associate DVA-C02 Exam Braindumps (page: 24)

Page 24 of 116

A developer is building an application that uses Amazon DynamoDB. The developer wants to retrieve multiple specific items from the database with a single API
call.
Which DynamoDB API call will meet these requirements with the MINIMUM impact on the database?

  1. BatchGetItem
  2. GetItem
  3. Scan
  4. Query

Answer(s): A



A developer has written an application that runs on Amazon EC2 instances. The developer is adding functionality for the application to write objects to an Amazon
S3 bucket.
Which policy must the developer modify to allow the instances to write these objects?

  1. The IAM policy that is attached to the EC2 instance profile role
  2. The session policy that is applied to the EC2 instance role session
  3. The AWS Key Management Service (AWS KMS) key policy that is attached to the
    EC2 instance profile role
  4. The Amazon VPC endpoint policy

Answer(s): A



A developer is leveraging a Border Gateway Protocol (BGP)-based AWS VPN connection to connect from on-premises to Amazon EC2 instances in the developer's account. The developer is able to access an EC2 instance in subnet A, but is unable to access an
EC2 instance in subnet B in the same VPC.
Which logs can the developer use to verify whether the traffic is reaching subnet B?

  1. VPN logs
  2. BGP logs
  3. VPC Flow Logs
  4. AWS CloudTrail logs

Answer(s): C



A developer is creating a service that uses an Amazon S3 bucket for image uploads.
The service will use an AWS Lambda function to create a thumbnail of each image.
Each time an image is uploaded, the service needs to send an email notification and create the thumbnail. The developer needs to configure the image processing and email notifications setup.
Which solution will meet these requirements?

  1. Create an Amazon Simple Notification Service (Amazon SNS) topic. Configure
    S3 event notifications with a destination of the SNS topic. Subscribe the
    Lambda function to the SNS topic. Create an email notification subscription to the SNS topic.
  2. Create an Amazon Simple Notification Service (Amazon SNS) topic. Configure
    S3 event notifications with a destination of the SNS topic. Subscribe the
    Lambda function to the SNS topic. Create an Amazon Simple Queue Service
    (Amazon SQS) queue. Subscribe the SQS queue to the SNS topic. Create an email notification subscription to the SQS queue.
  3. Create an Amazon Simple Queue Service (Amazon SQS) queue. Configure S3 event notifications with a destination of the SQS queue. Subscribe the Lambda function to the SQS queue. Create an email notification subscription to the
    SQS queue.
  4. Create an Amazon Simple Queue Service (Amazon SQS) queue. Send S3 event notifications to Amazon EventBridge. Create an EventBridge rule that runs the Lambda function when images are uploaded to the S3 bucket. Create an
    EventBridge rule that sends notifications to the SQS queue. Create an email notification subscription to the SQS queue.

Answer(s): A



Page 24 of 116



Post your Comments and Discuss Amazon AWS Certified Developer - Associate DVA-C02 exam with other Community members:

Ernesto commented on August 26, 2024
Prepared and passed this exam. Valid question and very tough exam. So good luck.
Spain
upvote