exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 284 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 284
Topic #: 1
[All AWS Certified Developer Associate Questions]

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
by116549
Highly Voted 2 years, 5 months ago
Seems like A: https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-annotations When you instrument your application, the X-Ray SDK records information about incoming and outgoing requests, the AWS resources used, and the application itself. You can add other information to the segment document as annotations and metadata. Annotations and metadata are aggregated at the trace level, and can be added to any segment or subsegment. Annotations are simple key-value pairs that are indexed for use with filter expressions. Use annotations to record data that you want to use to group traces in the console, or when calling the GetTraceSummaries API. X-Ray indexes up to 50 annotations per trace. Metadata are key-value pairs with values of any type, including objects and lists, but that are not indexed. Use metadata to record data you want to store in the trace but don't need to use for searching traces. You can view annotations and metadata in the segment or subsegment details in the X-Ray console.
upvoted 8 times
...
Paul_101
Most Recent 1 year, 9 months ago
Selected Answer: A
I also believe its A based on this link. I would chose A over B because it mentions the information needs to be indexed and Annotations are indexed while metadata is not. https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-annotations
upvoted 1 times
...
CarlosC
1 year, 10 months ago
Wouldn't be provide more detail? Which is what the question is asking.
upvoted 1 times
...
rcaliandro
1 year, 11 months ago
Selected Answer: A
Annotations are used to "index" data. A is the correct answer
upvoted 1 times
...
k1kavi1
2 years, 6 months ago
Selected Answer: A
https://www.examtopics.com/discussions/amazon/view/4626-exam-aws-certified-developer-associate-topic-1-question-199/
upvoted 3 times
...
kapil206001
2 years, 6 months ago
A https://www.examtopics.com/discussions/amazon/view/4626-exam-aws-certified-developer-associate-topic-1-question-199/
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...