- (Exam Topic 4)
A developer is exposing an API by using Amazon API Gateway and AWS Lambda as the backend for an application. The developer wants to add validation rules for a POST method to ensure that the data (rom the frontend web form is valid. The validation rules must include mandatory fields, data type, length, and regular expressions.
Which solution will meet these requirements?
Correct Answer:
D
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-method-request-validation.html
- (Exam Topic 1)
When using a large Scan operation in DynamoDB, what technique can be used to minimize the impact of a scan on a table's provisioned throughput?
Correct Answer:
A
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-query-scan.html
Because a Scan operation reads an entire page (by default, 1 MB), you can reduce the impact of the scan operation by setting a smaller page size. The Scan operation provides a Limit parameter that you can use to set the page size for your request. Each Scan or Query request that has a smaller page size uses fewer read operations and creates a "pause" between each request. For example, if each item is 4 KB and you set the page size to 40 items, then a Query request would consume only 40 strongly consistent read operations or 20 eventually consistent read operations. A larger number of smaller Scan or Query operations would allow your other critical requests to succeed without throttling.
- (Exam Topic 2)
A global company has an application running on Amazon EC2 instances that serves image files from Amazon S3. User requests from the browser are causing high traffic, which results in degraded performance.
Which optimization solution should a Developer implement to increase application performance?
Correct Answer:
B
- (Exam Topic 4)
An application adds a processing date to each transaction that it receives. The application writes each transaction to an Amazon DynamoDB table by using the Putitem operation. Each transaction has a unique ID (transactionlD). Sometimes the application receives transactions more than once.
A developer notices that duplicate transactions in DynamoDB have the latest processing date instead of the date when the transaction was first received. Duplicate records happen infrequently, and most of the transactions are unique.
What is the MOST cost-effective solution that the developer can implement to ensure that Putltem does not update an existing record?
Correct Answer:
C
- (Exam Topic 3)
A developer is designing a web application in which new users will use their email addresses to create accounts Millions of users are expected to sign up. The application will store attributes for each user
Which AWS service or feature should the developer implement to meet these requirements?
Correct Answer:
A