ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 511 - DVA-C01 discussion

Report
Export

A movie fan club hosts a serverless web application in an Amazon S3 bucket. The application uses an AWS Lambda function that is exposed by an Amazon API Gateway API. The function queries an Amazon DynamoDB table to list actors sorted by movie. In the DynamoDB table. Actor is the primary key, Movie is the sort key, and Role and Year are attributes. In the web application, a developer wants to add a page that is named Phase 1 that lists only the movies that were released between 2008 and 2012. The developer needs to fetch the Phase 1 items in a way that minimizes the impact on the DynamoDB table.

Which solution will meet these requirements?

A.
Create a global secondary index (GSl) with the Year attribute as the sort key. Create a Lambda function to return the results from a new method in the API.
Answers
A.
Create a global secondary index (GSl) with the Year attribute as the sort key. Create a Lambda function to return the results from a new method in the API.
B.
Design a Lambda function that scans the DynamoDB table and filters the results for the Phase 1 items. Invoke the function from a new method in the API.
Answers
B.
Design a Lambda function that scans the DynamoDB table and filters the results for the Phase 1 items. Invoke the function from a new method in the API.
C.
Use a DynamoDB stream to send items that are filtered by Year to a new DynamoDB table. Invoke a Lambda function from a new method in the API.
Answers
C.
Use a DynamoDB stream to send items that are filtered by Year to a new DynamoDB table. Invoke a Lambda function from a new method in the API.
D.
Set up an Amazon CloudFront distribution. Create a Lambda@Edge function to filter the items that are returned from the API request.
Answers
D.
Set up an Amazon CloudFront distribution. Create a Lambda@Edge function to filter the items that are returned from the API request.
Suggested answer: B
asked 16/09/2024
Takenobu Tanida
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first