ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 273 - SAP-C02 discussion

Report
Export

A company has an application that is deployed on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are part of an Auto Scaling group. The application has unpredictable workloads and frequently scales out and in. The company's development team wants to analyze application logs to find ways to improve the application's performance. However, the logs are no longer available after instances scale in.

Which solution will give the development team the ability to view the application logs after a scale-in event?

A.
Enable access logs for the ALB. Store the logs in an Amazon S3 bucket.
Answers
A.
Enable access logs for the ALB. Store the logs in an Amazon S3 bucket.
B.
Configure the EC2 instances lo publish logs to Amazon CloudWatch Logs by using the unified CloudWatch agent.
Answers
B.
Configure the EC2 instances lo publish logs to Amazon CloudWatch Logs by using the unified CloudWatch agent.
C.
Modify the Auto Scaling group to use a step scaling policy.
Answers
C.
Modify the Auto Scaling group to use a step scaling policy.
D.
Instrument the application with AWS X-Ray tracing.
Answers
D.
Instrument the application with AWS X-Ray tracing.
Suggested answer: B

Explanation:

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-access-logs.html


asked 16/09/2024
Nishan Perera
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first