
Answer-first summary for fast verification
Answer: Instrument the X-Ray SDK manually to control trace data content.
The correct answer is A. By manually instrumenting the X-Ray SDK in the application code, the developer can have full control over which data is included in the trace messages. This method allows the developer to ensure that no personally identifiable information (PII) is sent to AWS X-Ray by carefully handling the PII within the application and not including it in the trace messages. Auto-instrumentation does not inherently remove or redact PII, making manual instrumentation the safest choice for ensuring PII does not leave the EC2 instances.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How can a developer ensure that no personally identifiable information (PII) is transmitted outside of EC2 instances when using AWS X-Ray for an application that handles encrypted PII sent to Amazon CloudWatch?
A
Instrument the X-Ray SDK manually to control trace data content.
B
Utilize the X-Ray auto-instrumentation agent for automatic tracing without manual code changes.
C
Employ Amazon Macie for PII detection and use Lambda to call the X-Ray API.
D
Adopt AWS Distro for Open Telemetry for observability, considering its automation capabilities.