Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 381 discussion

A company built an ecommerce website on AWS using a three-tier web architecture. The application is Java-based and composed of an Amazon CloudFront distribution, an Apache web server layer of Amazon EC2 instances in an Auto Scaling group, and a backend Amazon Aurora MySQL database.

Last month, during a promotional sales event, users reported errors and timeouts while adding items to their shopping carts. The operations team recovered the logs created by the web servers and reviewed Aurora DB cluster performance metrics. Some of the web servers were terminated before logs could be collected and the Aurora metrics were not sufficient for query performance analysis.

Which combination of steps must the solutions architect take to improve application performance visibility during peak traffic events? (Choose three.)

  • A. Configure the Aurora MySQL DB cluster to publish slow query and error logs to Amazon CloudWatch Logs.
  • B. Implement the AWS X-Ray SDK to trace incoming HTTP requests on the EC2 instances and implement tracing of SQL queries with the X-Ray SDK for Java.
  • C. Configure the Aurora MySQL DB cluster to stream slow query and error logs to Amazon Kinesis.
  • D. Install and configure an Amazon CloudWatch Logs agent on the EC2 instances to send the Apache logs to CloudWatch Logs.
  • E. Enable and configure AWS CloudTrail to collect and analyze application activity from Amazon EC2 and Aurora
  • F. Enable Aurora MySQL DB cluster performance benchmarking and publish the stream to AWS X-Ray.
Show Suggested Answer Hide Answer
Suggested Answer: ABD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
thala
Highly Voted 1 year ago
Selected Answer: ABD
Publishing slow query and error logs to CloudWatch Logs will allow for better analysis of database performance issues. It helps in identifying slow-running queries that might be contributing to the application's performance problems. Integrating AWS X-Ray SDK into the application will enable tracing of incoming HTTP requests on the EC2 instances. Tracing SQL queries with the X-Ray SDK for Java will provide insights into how database queries are impacting application performance. X-Ray can give a detailed analysis of both service-level and database-level operations, which is essential for diagnosing performance bottlenecks. Integrating AWS X-Ray SDK into the application will enable tracing of incoming HTTP requests on the EC2 instances. Tracing SQL queries with the X-Ray SDK for Java will provide insights into how database queries are impacting application performance. X-Ray can give a detailed analysis of both service-level and database-level operations, which is essential for diagnosing performance bottlenecks.
upvoted 8 times
...
AzureDP900
Most Recent 1 week, 2 days ago
selecting options AB and D would provide good visibility into the application's performance, including: Database performance (A): Publishing slow query and error logs from Aurora to CloudWatch Logs will help identify bottlenecks in the database. Web server performance (B): Implementing AWS X-Ray to trace incoming HTTP requests on EC2 instances will help identify issues with the web server layer, such as high latency or timeouts. Web server logs (D): Installing and configuring an Amazon CloudWatch Logs agent on the EC2 instances will provide visibility into web server logs, which can help identify performance issues with the web server.
upvoted 1 times
...
career360guru
10 months, 2 weeks ago
Selected Answer: ABD
A, B and D
upvoted 2 times
...
yuliaqwerty
11 months, 1 week ago
Answer ABD
upvoted 1 times
...
ayadmawla
11 months, 3 weeks ago
Selected Answer: ABD
ABD - Effectively we need to collect logs (from DB, Instance) and Trace the Request <-> Response from the calls using XRay to understand what is happening. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.Concepts.MySQL.html#USER_LogAccess.MySQLDB.PublishAuroraMySQLtoCloudWatchLogs https://aws.amazon.com/blogs/mt/simplifying-apache-server-logs-with-amazon-cloudwatch-logs-insights/ https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-dotnet-messagehandler.html https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java-sqlclients.html
upvoted 2 times
...
J0n102
11 months, 4 weeks ago
Selected Answer: ABD
Answer: ABD
upvoted 1 times
...
GabrielDeBiasi
12 months ago
Selected Answer: ABD
Answer ABD
upvoted 1 times
...
devalenzuela86
1 year ago
Selected Answer: ABD
Answer ABD
upvoted 2 times
...
cypkir
1 year ago
Selected Answer: ABD
Answer: A B D
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...