X-Ray Flashcards
T or F
Architectures can get really compkicated, AWS X-ray allows you to debug what is happening.
True
_____ 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.
X-ray
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.
true
T or F
The xray SDK provides
- Interceptors to add your code to trace incoming HTTP requests.
True
T or F
X-ray SDK provides
Client handlers to instrument AWS SDK clients that your app uses to call other AWS services.
True
T or F
X-ray SDK provides
-an FTP client to use to instrument calls to other internal or external FTP servers
False
-an HTTP client to use to instrument calls to other internal or external HTTP servers
X-ray integrates with the following AWS services:
- ELB
- Lambda
- API GW
- EC2
- Beanstalk
All of the above
Which of the following are X-ray languages?
- java
- go
- nodejs
- python
- ruby
- .net
all of the above
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.
trace
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.
segment
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.
annotation
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.
errors
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 _____
sampling
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.
agent
when instrumenting your application, you can record additional information abotu requests by using _____
annotations