DVA-C02 · Question #803
A company's application uses an Amazon API Gateway REST API and AWS Lambda functions to upload media files to and fetch media files from a standard Amazon S3 Standard bucket. The company runs a nightl
The correct answer is C. Implement the retry with a backoff pattern in the Lambda functions.. HTTP 429 errors indicate throttling, which is typically transient. Implementing retries with exponential backoff in the Lambda functions allows requests to recover gracefully from temporary throttling and ensures the application eventually uploads and processes all files successf
Question
A company's application uses an Amazon API Gateway REST API and AWS Lambda functions to upload media files to and fetch media files from a standard Amazon S3 Standard bucket. The company runs a nightly job on an Amazon EC2 instance to create dashboards and other visualizations for application users. The job usually runs for 1 to 2 hours. A developer observes request throttling while the function is running. The application generates multiple 429 exceptions in the Lambda function logs when files do not process successfully. The developer needs to resolve the issue and ensure that all of the application ingests all files. Which solution will meet these requirements?
Options
- AEnable S3 Transfer Acceleration on the bucket. Use the appropriate endpoint.
- BCall the CreateMultipartUpload API in the Lambda functions to upload the files in pieces.
- CImplement the retry with a backoff pattern in the Lambda functions.
- DSet up an S3 Lifecycle policy to automatically move the media files to the S3 Intelligent-Tiering
How the community answered
(61 responses)- A18% (11)
- B3% (2)
- C70% (43)
- D8% (5)
Explanation
HTTP 429 errors indicate throttling, which is typically transient. Implementing retries with exponential backoff in the Lambda functions allows requests to recover gracefully from temporary throttling and ensures the application eventually uploads and processes all files successfully. Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, Microsoft, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test, First Pass. Help you to pass any IT Certification exams at the first try. You can reach us at any of the email addresses listed below. Any problems about IT certification or our products, you could rely upon us, we will give you satisfactory answers in 24 hours.
Community Discussion
No community discussion yet for this question.