AWS Certified Developer – Associate — Question 299
A developer has created a Java application that runs on AWS Elastic Beanstalk with the default Elastic Beanstalk instance profile. The developer needs to visualize a map of the application’s interactions with AWS services to help identify and debug issues with the application.
Which combination of steps should the developer take to meet this requirement with the LEAST operational effort? (Choose two.)
Answer options
- A. Instrument the code by using the AWS X-Ray software development kit (SDK) for Java.
- B. Create an Elastic Beanstalk configuration file to download and install the AWS X-Ray daemon on the underlying Amazon EC2 instances.
- C. Enable the AWS X-Ray daemon in the Elastic Beanstalk console.
- D. Enable Elastic Beanstalk enhanced health reporting.
- E. Configure AWS CloudTrail to visualize the services map.
Correct answer: A, C
Explanation
To generate a service map and trace requests, the Java application's code must first be instrumented using the AWS X-Ray SDK. To run the required X-Ray daemon with the least operational effort, the developer can simply toggle the X-Ray daemon setting on within the Elastic Beanstalk console, which avoids the need to write custom installation scripts or configuration files.