
Answer-first summary for fast verification
Answer: Use the fields request parameter.
To retrieve only specific metadata properties of Cloud Storage objects without fetching the object data, using the `fields` request parameter is the optimal approach. This parameter allows specifying which metadata fields to include in the API response, reducing the payload size and improving performance. Options A (patch), B (compose), and C (copy) are unrelated to metadata retrieval—they are used for modifying, combining, or copying objects, respectively. Thus, option D directly addresses the requirement by minimizing data transfer and focusing on metadata.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How can you efficiently retrieve only the metadata (without object data) for user objects in Cloud Storage buckets to meet privacy and data residency requirements while optimizing performance?
A
Use the patch method.
B
Use the compose method.
C
Use the copy method.
D
Use the fields request parameter.