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

Page 48 of 116

A company has an ecommerce application. To track product reviews, the company’s development team uses an Amazon DynamoDB
table.
Every record includes the following:
• A Review ID, a 16-digit universally unique identifier (UUID)
• A Product ID and User ID, 16-digit UUIDs that reference other tables
• A Product Rating on a scale of 1-5
• An optional comment from the user
The table partition key is the Review ID. The most performed query against the table is to find the 10 reviews with the highest rating for a given product.
Which index will provide the FASTEST response for this query?

  1. A global secondary index (GSI) with Product ID as the partition key and
    Product Rating as the sort key
  2. A global secondary index (GSI) with Product ID as the partition key and
    Review ID as the sort key
  3. A local secondary index (LSI) with Product ID as the partition key and
    Product Rating as the sort key
  4. A local secondary index (LSI) with Review ID as the partition key and
    Product ID as the sort key

Answer(s): A



A company needs to distribute firmware updates to its customers around the world.
Which service will allow easy and secure control of the access to the downloads at the lowest cost?

  1. Use Amazon CloudFront with signed URLs for Amazon S3.
  2. Create a dedicated Amazon CloudFront Distribution for each customer.
  3. Use Amazon CloudFront with AWS Lambda@Edge.
  4. Use Amazon API Gateway and AWS Lambda to control access to an S3 bucket.

Answer(s): A



A developer is testing an application that invokes an AWS Lambda function asynchronously. During the testing phase, the Lambda function fails to process after two retries.
How can the developer troubleshoot the failure?

  1. Configure AWS CloudTrail logging to investigate the invocation failures.
  2. Configure Dead Letter Queues by sending events to Amazon SQS for investigation.
  3. Configure Amazon Simple Workflow Service to process any direct unprocessed events.
  4. Configure AWS Config to process any direct unprocessed events.

Answer(s): B



A company is migrating its PostgreSQL database into the AWS Cloud. The company wants to use a database that will secure and regularly rotate database credentials. The company wants a solution that does not require additional programming overhead.
Which solution will meet these requirements?

  1. Use Amazon Aurora PostgreSQL for the database. Store the database credentials in AWS Systems Manager Parameter Store. Turn on rotation.
  2. Use Amazon Aurora PostgreSQL for the database. Store the database credentials in AWS Secrets Manager. Turn on rotation.
  3. Use Amazon DynamoDB for the database. Store the database credentials in AWS
    Systems Manager Parameter Store. Turn on rotation.
  4. Use Amazon DynamoDB for the database. Store the database credentials in AWS
    Secrets Manager. Turn on rotation.

Answer(s): B



Page 48 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