X-Ray Flashcards

This deck aims to help retain concepts related to the X-Ray service.

1
Q

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?

A

AWS X-Ray

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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?

A

Annotations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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?

A

Metadata

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When testing an application locally using X-Ray Daemon, which option skips checking for EC2 instance metadata?

A

-o option
./xray -o -n us-east-2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What AWS X-Ray feature allows you to control the number of requests recorded based on specific criteria, modifying sampling behavior dynamically?

A

Sampling rules

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the required fields in an AWS X-Ray segment?

A
  • name
  • id
  • trace_id
  • start_time
  • end_time
  • in_progress
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the optional fields in an AWS X-Ray segment?

A
  • service
  • user
  • origin
  • parent_id
  • http
  • aws
  • error
  • throttle
  • fault
  • cause
  • annotations
  • metadata
  • subsegments
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the default port on which the AWS X-Ray Daemon listens?

A

2000

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Can the AWS X-Ray Daemon port be changed?

A

Yes, it can be changed during configuration using the CLI option ‘–bind’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many requests does AWS X-Ray record by default using sampling rules?

A

By default, X-Ray records the first request each second, and five percent of any additional requests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly