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?
Suggested Answer: B
Get Premium SAP-C02 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
GI
Giuseppe
11 months ago
D is cool, but it doesn't replace log storage.
TH
Thora
11 months ago
C won't help with logs, just scaling.
LA
Lacey
11 months ago
Wait, can we really lose logs after scaling in? That seems risky!
RO
Robt
12 months ago
I think B is better for real-time log analysis.
FR
Franklyn
12 months ago
Option A is solid! ALB logs to S3 are super useful.
NE
Nettie
1 year ago
I recall that step scaling policies are more about managing scaling actions rather than logging. So, I don't think option C is relevant here.
AR
Arminda
1 year ago
I think option D with AWS X-Ray could provide insights, but I'm not convinced it would solve the log retention issue directly.
IV
Ivette
1 year ago
I'm not entirely sure, but I feel like enabling access logs for the ALB might help too. That was mentioned in a practice question we did.
DE
Deeann
1 year ago
I remember we discussed how important it is to retain logs even after instances scale in. I think option B about CloudWatch Logs could be the right choice.
KE
Kenda
1 year ago
Okay, let's think this through. We need to use Defender for Cloud to protect the on-premises computers, so we'll likely need to install some kind of agent. I'm leaning towards option B, but I'll double-check the differences between the options.
CL
Clorinda
1 year ago
I'm a little confused by the different method signatures. I'll need to take some time to understand the nuances of each one before making a decision.
AD
Adell
1 year ago
I got this! The answer is D - denying an award for raising a complaint about sexist comments is textbook indirect discrimination. A and C are also good options, but D is the most clear-cut in my opinion.