
Answer-first summary for fast verification
Answer: --projection-expression
Overall explanation Correct option: --projection-expression A projection expression is a string that identifies the attributes you want. To retrieve a single attribute, specify its name. For multiple attributes, the names must be comma-separated.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
When performing a scan operation on a DynamoDB table using the AWS Command Line Interface (CLI), you may not always need to retrieve all attributes of every item. Instead, you might want to retrieve just a subset of the attributes to save on data transfer and reduce the size of the result set. Which CLI options can you use to achieve this by specifying the particular attributes you want to be included in the scan results?
A
--projection-expression
B
--page-size
C
--max-items
D
--filter-expression