AWS Certified Developer – Associate — Question 208
A Development team wants to instrument their code to provide more detailed information to AWS X-Ray than simple outgoing and incoming requests. This will generate large amounts of data, so the Development team wants to implement indexing so they can filter the data.
What should the Development team do to achieve this?
Answer options
- A. Add annotations to the segment document and the code
- B. Add metadata to the segment document and the code
- C. Configure the necessary X-Ray environment variables
- D. Install required plugins for the appropriate AWS SDK
Correct answer: A
Explanation
The correct answer is A because adding annotations to the segment document allows for more detailed and indexed data, which is essential for filtering. Option B mentions metadata, which is useful but does not support indexing like annotations do. Options C and D are not directly related to enhancing data detail or indexing capabilities.