X-Ray Flashcards
This deck aims to help retain concepts related to the X-Ray service.
Which AWS service is used to collect application traces and provides tools for viewing, filtering, and gaining insights into that data to identify issues and optimization opportunities?
AWS X-Ray
What AWS X-Ray key-value pairs, with types such as string, number, or Boolean, are indexed for use with filter expressions and are used to group traces?
Annotations
What AWS X-Ray key-value pairs can have values of any type, including objects and lists, but are not indexed for use with filter expressions and store additional trace data?
Metadata
When testing an application locally using X-Ray Daemon, which option skips checking for EC2 instance metadata?
-o
option./xray -o -n us-east-2
What AWS X-Ray feature allows you to control the number of requests recorded based on specific criteria, modifying sampling behavior dynamically?
Sampling rules
What are the required fields in an AWS X-Ray segment?
- name
- id
- trace_id
- start_time
- end_time
- in_progress
What are the optional fields in an AWS X-Ray segment?
- service
- user
- origin
- parent_id
- http
- aws
- error
- throttle
- fault
- cause
- annotations
- metadata
- subsegments
What is the default port on which the AWS X-Ray Daemon listens?
2000
Can the AWS X-Ray Daemon port be changed?
Yes, it can be changed during configuration using the CLI option ‘–bind’
How many requests does AWS X-Ray record by default using sampling rules?
By default, X-Ray records the first request each second, and five percent of any additional requests