Customers have recently been complaining that your web application has randomly stopped responding. During a deep dive of your logs, the team has discovered a major bug in your new Java web application. This bug is causing a memory leak that eventually causes the application to crash. Your web application runs on Amazon EC2 and was built with AWS CloudFormation. Which techniques should you use to help detect these problems faster, as well as help eliminate the server's unresponsiveness? (Choose two.)
A) Update your AWS CloudFormation configuration and enable a CustomResource that uses cfnsignal to detect memory leaks.
B) Update your CloudWatch metric granularity config for all Amazon EC2 memory metrics to support five- second granularity. Create a CloudWatch alarm that triggers an Amazon SNS notification to page your team when the application memory becomes too large.
C) Update your AWS CloudFormation configuration to take advantage of Auto Scaling groups. Configure an Auto Scaling group policy to trigger off your custom CloudWatch metrics.
D) Create a custom CloudWatch metric that you push your JVM memory usage to. Create a Cloudwatch alarm that triggers an Amazon SNS notification to page your team when the application memory usage becomes too large.
E) Update your AWS CloudFormation configuration to take advantage of CloudWatch metrics Agent. Configure the CloudWatch Metrics Agent to monitor memory usage and trigger an Amazon SNS alarm.
Correct Answer:
Verified
Q311: You work for a company that automatically
Q312: Your application uses Amazon SQS and Auto
Q313: When thinking of DynamoDB, what are true
Q314: You need to create a Route53 record
Q315: Your system uses a multi-master, multi-region DynamoDB
Q317: You have a web application that is
Q318: You have been tasked with deploying a
Q319: What is the scope of an EBS
Q320: You were just hired as a DevOps
Q321: Why are more frequent snapshots or EBS
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents