Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon DVA-C02 Exam

Certification Provider: Amazon
Exam Name: AWS Certified Developer - Associate
Duration: 130 Minutes
Number of questions in our database: 198
Exam Version: Apr. 08, 2024
DVA-C02 Exam Official Topics:
  • Topic 1: Optimize applications by using AWS services and features/ Develop code for AWS Lambda
  • Topic 2: Implement encryption by using AWS services/ Deploy code by using AWS CI/CD services
  • Topic 3: Implement authentication and/or authorization for applications and AWS services/ Instrument code for observability
  • Topic 4: Use data stores in application development/ Develop code for applications hosted on AWS
  • Topic 5: Prepare application artifacts to be deployed to AWS/ Assist in a root cause analysis
  • Topic 6: Test applications in development environments/ Manage sensitive data in application code
  • Topic 7: Development with AWS Services/ Troubleshooting and Optimization
Disscuss Amazon DVA-C02 Topics, Questions or Ask Anything Related

Currently there are no comments in this discussion, be the first to comment!

Free Amazon DVA-C02 Exam Actual Questions

The questions for DVA-C02 were last updated On Apr. 08, 2024

Question #1

A developer supports an application that accesses data in an Amazon DynamoDB table. One of the item attributes is expirationDate in the timestamp format. The application uses this attribute to find items, archive them, and remove them from the table based on the timestamp value

The application will be decommissioned soon, and the developer must find another way to implement this functionality. The developer needs a solution that will require the least amount of code to write.

Which solution will meet these requirements?

Reveal Solution Hide Solution
Correct Answer: A

TTL for Automatic Deletion:DynamoDB's Time-to-Live effortlessly deletes expired items without manual intervention.

DynamoDB Stream:Captures changes to the table, including deletions of expired items, triggering downstream actions.

Lambda for Processing:A Lambda function connected to the stream provides custom logic for handling the deleted items.

Code Efficiency:This solution leverages native DynamoDB features and stream-based processing, minimizing the need for custom code.


DynamoDB TTL Documentation:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html

DynamoDB Streams Documentation:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html

Question #2

A company runs an application on AWS The application stores data in an Amazon DynamoDB table Some queries are taking a long time to run These slow queries involve an attribute that is not the table's partition key or sort key

The amount of data that the application stores in the DynamoDB table is expected to increase significantly. A developer must increase the performance of the queries.

Which solution will meet these requirements'?

Reveal Solution Hide Solution
Correct Answer: B

Global Secondary Index (GSI):GSIs enable alternative query patterns on a DynamoDB table by using different partition and sort keys.

Addressing Query Bottleneck:By making the slow-query attribute the GSI's partition key, you optimize queries on that attribute.

Scalability:GSIs automatically scale to handle increasing data volumes.


Amazon DynamoDB Global Secondary Indexes:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.html

Question #3

A developer maintains a critical business application that uses Amazon DynamoDB as the primary data store The DynamoDB table contains millions of documents and receives 30-60 requests each minute The developer needs to perform processing in near-real time on the documents when they are added or updated in the DynamoDB table

How can the developer implement this feature with the LEAST amount of change to the existing application code?

Reveal Solution Hide Solution
Correct Answer: B

DynamoDB Streams:Capture near real-time changes to DynamoDB tables, triggering downstream actions.

Lambda for Processing:Lambda functions provide a serverless way to execute code in response to events like DynamoDB Stream updates.

Minimal Code Changes:This solution requires the least modifications to the existing application.


DynamoDB Streams:https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html

AWS Lambda:https://aws.amazon.com/lambda/

Question #4

A company needs to set up secure database credentials for all its AWS Cloud resources. The company's resources include Amazon RDS DB instances Amazon DocumentDB clusters and Amazon Aurora DB instances. The company's security policy mandates that database credentials be encrypted at rest and rotated at a regular interval.

Which solution will meet these requirements MOST securely?

Reveal Solution Hide Solution
Correct Answer: D

This solution will meet the requirements by using AWS Secrets Manager, which is a service that helps protect secrets such as database credentials by encrypting them with AWS Key Management Service (AWS KMS) and enabling automatic rotation of secrets. The developer can create an AWS Lambda function by using the SecretsManagerRotationTemplate template in the AWS Secrets Manager console, which provides a sample code for rotating secrets for RDS DB instances, Amazon DocumentDB clusters, and Amazon Aurora DB instances. The developer can also create secrets for the database credentials in Secrets Manager, which encrypts them at rest and provides secure access to them. The developer can set up secrets rotation on a schedule, which changes the database credentials periodically according to a specified interval or event. Option A is not optimal because it will set up IAM database authentication for token-based access, which may not be compatible with all database engines and may require additional configuration and management of IAM roles or users. Option B is not optimal because it will create parameters for the database credentials in AWS Systems Manager Parameter Store, which does not support automatic rotation of secrets. Option C is not optimal because it will store the database access credentials as an encrypted Amazon S3 object in an S3 bucket, which may introduce additional costs and complexity for accessing and securing the data.


Question #5

A developer wants to add request validation to a production environment Amazon API Gateway API. The developer needs to test the changes

before the API is deployed to the production environment. For the test, the developer will send test requests to the API through a testing tool.

Which solution will meet these requirements with the LEAST operational overhead?

Reveal Solution Hide Solution

Unlock all DVA-C02 Exam Questions with Advanced Practice Test Features:
  • Select Question Types you want
  • Set your Desired Pass Percentage
  • Allocate Time (Hours : Minutes)
  • Create Multiple Practice tests with Limited Questions
  • Customer Support
Get Full Access Now

Save Cancel