X-Ray Flashcards

1
Q

This AWS service helps you debug and analyze your microservices applications with request tracing

A

AWS X-Ray - Distributed Tracing System

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

Which 2 AWS services come with a built in X-Ray Daemon?

A
  • EB
  • Lambda

On AWS Lambda and AWS Elastic Beanstalk, use those services’ integration with X-Ray to run the daemon. Lambda runs the daemon automatically any time a function is invoked for a sampled request. On Elastic Beanstalk, use the XRayEnabled configuration option to run the daemon on the instances in your environment.

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

What are some common X-Ray components?

There are 10 items in the answer

A
  • Segments
  • Subsegments
  • Service graph
  • Traces
  • Sampling
  • Tracing header
  • Filter expressions
  • Groups
  • Annotations and metadata
  • Errors, faults, and exceptions

https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html

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

X-Ray Concepts
What can you find in a Segment?

The compute resources running your application logic send data about their work as segments.

There are 5 elements in the answer

A

The host – hostname, alias or IP address

The request – method, client address, path, user agent

The response – status, content

The work done – start and end times, subsegments

Issues that occur – errors, faults and exceptions, including automatic capture of exception stacks.

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

In X-Ray these key-value pairs are indexed for use in filter expressions and allow grouping traces in the console

A

Annotations

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

When an exception occurs what information does X-Ray record?

Exception Details

Billing Amount

Stack Trace

Commit Author

A

Exception Details

Stack Trace

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

What are some of the services that integrate directly with X-Ray?

  • AWS X-Ray helps developers analyze and debug production
  • There are 13 services on the Cheat sheet
A
  • SNS
  • Lambda
  • SQS
  • Lambda
  • Api Gateway
  • EB
  • ELB
  • Fargate

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

What is X-Ray?

What are its 2 elements?

A
  • It’s a service that helps developers analyze and debug applications that utilize microservice architecture
  • Daemon
  • X-ray components
How well did you know this?
1
Not at all
2
3
4
5
Perfectly