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 267 discussion

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

A company manages a microservices application on Amazon EC2 instances. A developer has integrated the AWS X-Ray SDK with the application. The developer also has an IAM role that is associated with the EC2 instances. The role includes the AWSXRayDaemonWriteAccess managed IAM policy.

When the developer queries the X-Ray traces by using the GetServiceGraph API operation, no errors and no trace data are returned.

What could be the reason that no X-Ray trace data is being returned? (Choose two.)

  • A. The X-Ray daemon is not installed on each EC2 instance.
  • B. The GetServiceGraph API operation is providing a StartTime value and an EndTime value that are older than 30 days.
  • C. X-Ray trace data is not available for querying for 30 minutes after it is captured.
  • D. The developer’s IAM policy contains the AWSXRayReadOnlyAccess managed policy.
  • E. The GetServiceGraph API operation does not include an EndTime value.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
DrCloud
Highly Voted 2 years, 5 months ago
Selected Answer: AB
Given: "SDK" Reason for "A": The AWS X-Ray daemon is a software application that listens for traffic on UDP port 2000, gathers raw segment data, and relays it to the AWS X-Ray API. The daemon works in conjunction with the AWS X-Ray SDKs and must be running so that data sent by the SDKs can reach the X-Ray service." https://docs.aws.amazon.com/xray/latest/devguide/xray-daemon.html Reason for "B": Q: How far back can I query the trace data? How long does X-Ray store trace data for? X-Ray stores trace data for the last 30 days. This enables you to query trace data going back 30 days. https://aws.amazon.com/xray/faqs/ Why "C" is "not correct": Q: How long does it take for trace data to be available in X-Ray? Trace data sent to X-Ray is generally available for retrieval and filtering within "30 seconds" of it being received by the service.
upvoted 8 times
...
JagpreetLM10
Most Recent 2 years, 4 months ago
Selected Answer: AB
AB .........
upvoted 1 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: AB
Going with A&B
upvoted 2 times
...
michaldavid
2 years, 5 months ago
Selected Answer: A
Defo A but then I'm unsure about the second answer. Any suggestions?
upvoted 1 times
...
kapil206001
2 years, 5 months ago
AB https://www.amazonaws.cn/en/xray/faqs/
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago