☎  076 959 6407✉  support@quizcrazepro.co.za
Learn. Practice. Build your future.
BlogHelpContact
aws

Amazon AWS Certified Solutions Architect - Professional SAP-C02 Exam

259 Questions120 Minutes70% Passing Score▣ Updated: Sep 2026

Question 259 of 259

Single answer

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

A. Enable access logs for the ALB. Store the logs in an Amazon S3 bucket.

B

B. Configure the EC2 instances to publish logs to Amazon CloudWatch Logs by using the unified CloudWatch agent.

C

C. Modify the Auto Scaling group to use a step scaling policy.

D

D. Instrument the application with AWS X-Ray tracing.

Correct Answer: A

<p>B. Configure the EC2 instances to publish logs to Amazon CloudWatch Logs by using the unified CloudWatch agent.</p>

Explanation

The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of AWS certification topics.

About this practice exam

Review 259 AWS questions with answers and explanations. Use the navigation to move through the exam at your own pace.