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

AWS Certified Associate DVA-C01 Full Course Free

Page: 2 / 23
Total 608 questions

AWS Certified Developer Associate Exam Questions and Answers

Question 5

A company is building an application for stock trading. The application needs sub-millisecond latency for processing trade requests. The company uses Amazon DynamoDB to store all the trading data that is used to process each trading request

A development team performs load testing on the application and finds that the data retrieval time is higher than expected. The development team needs a solution that reduces the data retrieval time with the least possible effort.

Which solution meets these requirements?

Options:

A.

Add local secondary indexes (LSIs) for the trading data

B.

Store the trading data in Amazon S3, and use S3 Transfer Acceleration.

C.

Add retries with exponential backoff for DynamoDB queries.

D.

Use DynamoDB Accelerator (DAX) to cache the trading data

Question 6

An open-source map application gathers data from several geolocation APIs. The application's source code repository is public and can be used by anyone, but the geolocation APIs must not be directly accessible.

A developer must implement a solution to prevent the credentials that are used to access the APIs from becoming public. The solution also must ensure that the application still functions properly.

Which solution will meet these requirements MOST cost-effectively?

Options:

A.

Store the credentials in AWS Secrets Manager. Retrieve the credentials by using the GetSecretValue API operation.

B.

Store the credentials in AWS Key Management Service (AWS KMS). Retrieve the credentials by using the GetPublicKey API operation.

C.

Store the credentials in AWS Security Token Service (AWS STS). Retrieve the credentials by using the GetCallerldentity API operation.

D.

Store the credentials in AWS Systems Manager Parameter Store. Retrieve the credentials by using the GetParameter API operation.

Question 7

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 tor this query?

Options:

A.

A global secondary index (GSI) with Product ID as the partition key and Product Rating as the sort key

B.

A global secondary index (GSI) with Product ID as the partition key and Review ID as the sort key

C.

A local secondary index (LSI) with Product ID as the partition key and Product Rating as the sort key

D.

A local secondary index (LSI) with Review ID as the partition key and Product ID as the sort key

Question 8

A developer is migrating to Amazon Cognito from a custom user management solution that stores user information in a database. The developer has created a…… Amazon Cognito user pool. The developer needs to migrate the existing user information to the user pool without forcing users to change their passwords.

Which solution will meet these requirements?

Options:

A.

Import users from a .csv file.

B.

Add an OpenID Connect (OIDC) identity provider to the user pool.

C.

Import users from a .json file.

D.

Import users with a user migration AWS Lambda trigger.

Page: 2 / 23
Total 608 questions