X-Ray Flashcards

1
Q

T or F

Architectures can get really compkicated, AWS X-ray allows you to debug what is happening.

A

True

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

_____ is a service that collects data about requests that your app serves and provides tools you can use to view, filter, and gain insights into that data to indentify issues and opportunities for optimization.

A

X-ray

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

T or F

with X-ray, for any traced request to your app, you can see detailed info not only about the request and response, but also about calls that your app makes to downstream AWS resources, microservices, databases, and HTTP web APIs.

A

true

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

T or F

The xray SDK provides

  • Interceptors to add your code to trace incoming HTTP requests.
A

True

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

T or F

X-ray SDK provides

Client handlers to instrument AWS SDK clients that your app uses to call other AWS services.

A

True

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

T or F

X-ray SDK provides

-an FTP client to use to instrument calls to other internal or external FTP servers

A

False

-an HTTP client to use to instrument calls to other internal or external HTTP servers

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

X-ray integrates with the following AWS services:

  1. ELB
  2. Lambda
  3. API GW
  4. EC2
  5. Beanstalk
A

All of the above

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

Which of the following are X-ray languages?

  1. java
  2. go
  3. nodejs
  4. python
  5. ruby
  6. .net
A

all of the above

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

An X-Ray _____ is a set of data points that share the same____ ID. For example, when a client makes a request to your application, it is assigned a unique ____ ID. As the request makes its way through services in your application, the services relay information regarding the request back to X-Ray using this unique ____ ID. The piece of information relayed by each service in your application to X-Ray is a segment, and a ____ is a collection of segments.

A

trace

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

An X-Ray ______ encapsulates all the data points for a single component (for example, authorization service) of the distributed application. ______ include system-defined and user-defined data in the form of annotations and are composed of one or more sub-______ that represent remote calls made from the service. For example, when your application makes a call to a database in response to a request, it creates a _______ for that request with a sub-______ representing the database call and its result. The sub-_____ can contain data such as the query, table used, timestamp, and error status.

A

segment

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

An X-Ray _____ is system-defined or user-defined data associated with a segment. A segment can contain multiple ______. System-defined ______ include data added to the segment by AWS services, whereas user-defined _______ are metadata added to a segment by a developer. For example, a segment created by your application can automatically be injected with region data for AWS service calls, whereas you might choose to add region data yourself for calls made to non-AWS services.

A

annotation

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

X-Ray ______ are system annotations associated with a segment for a call that results in an _____ response. The _____ includes the _____ message, stack trace, and any additional information (for example, version or commit ID) to associate the _____ with a source file.

A

errors

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

To provide a performant and cost-effective experience, X-Ray does not collect data for every request that is sent to an application. Instead, it collects data for a statistically significant number of requests. X-Ray should not be used as an audit or compliance tool because it does not guarantee data completeness.

THis is xray _____

A

sampling

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

The X-Ray _____ collects data from log files and sends them to the X-Ray service for aggregation, analysis, and storage. The _____ makes it easier for you to send data to the X-Ray service, instead of using the APIs directly, and is available for Amazon Linux AMI, Red Hat Enterprise Linux (RHEL), and Windows Server 2012 R2 or later operating systems.

A

agent

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

when instrumenting your application, you can record additional information abotu requests by using _____

A

annotations

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

____ are simple key-value pairs taht are indexed for use qwith filter expressions, so that you can search for traces that contain specific data and group related traces together in teh console

A

Annotations

17
Q

you can instrument your pwn apps to send data to x-ray

A

t

18
Q

for ecs, run the x-ray daemon in its own docker iamge, running alongside your application

A

t

19
Q

high level config steps

x-ray sdk

x-ray daemon

instrument you app using the SDK to send the required data to X-Ray

A

yes