AWS Certified Developer – Associate — Question 419
A developer notices timeouts from the AWS CLI when the developer runs list commands.
What should the developer do to avoid these timeouts?
Answer options
- A. Use the --page-size parameter to request a smaller number of items.
- B. Use shorthand syntax to separate the list by a single space.
- C. Use the yaml-stream output for faster viewing of large datasets.
- D. Use quotation marks around strings to enclose data structure.
Correct answer: A
Explanation
The --page-size parameter in the AWS CLI controls the number of items retrieved in a single API call, preventing timeouts when querying large datasets by breaking the request into smaller chunks. Shorthand syntax, yaml-stream output, and quotation marks do not reduce the API call payload size or address timeout issues.