Which combination of steps should the developer take to meet this requirement with the LEAST operational effort?
(Choose two.)
Instrument the code by using the AWS X-Ray software development kit (SDK) for Java.
Create an Elastic Beanstalk configuration file to download and install the AWS X-Ray daemon on the underlying Amazon EC2 instances.
Enable the AWS X-Ray daemon in the Elastic Beanstalk console.
Enable Elastic Beanstalk enhanced health reporting.
Configure AWS CloudTrail to visualize the services map.
Explanations:
Instrumenting the Java application with the AWS X-Ray SDK allows the application to send trace data to X-Ray, which is essential for visualizing interactions with AWS services.
Installing the X-Ray daemon manually via an Elastic Beanstalk configuration file adds operational overhead, as it requires managing the daemon separately.
Enabling the X-Ray daemon directly from the Elastic Beanstalk console reduces operational complexity by automating the installation and configuration of the daemon.
Enhanced health reporting in Elastic Beanstalk provides application health information, not service interaction maps or tracing, and doesn’t assist with AWS service visualization.
CloudTrail logs AWS API calls but doesn’t provide service interaction maps or traces. AWS X-Ray is the correct tool for that purpose.