SOA-C02 exam dumps

SOA-C02 practice question 11 of 341

AWS Certified SysOps Administrator - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

SOA-C02 Question 11

Select 3

Your organization uses an application that runs on Amazon EC2 instances. The development team has reported an intermittent issue where the application is not responding to requests. As a SysOps Administrator, you need to identify the root cause of the issue. You decide to analyze the logs and identify patterns or errors. Which of the following steps should you take to diagnose and analyze the issue effectively?

  1. A

    Enable detailed monitoring on the EC2 instances and review the metrics in Amazon CloudWatch.

  2. B

    Navigate to the CloudWatch Logs console and use CloudWatch Logs Insights to query application-specific log groups for errors.

  3. C

    Enable AWS CloudTrail and review the event history to identify API activity related to the EC2 instances.

  4. D

    Export the application logs from CloudWatch Logs to Amazon S3 for long-term storage and perform advanced analysis using Amazon Athena.

  5. E

    Enable VPC Flow Logs to capture network traffic data and analyze for potential connectivity issues between the EC2 instances.

Show answer and explanation

Correct answers: B, C, D

Explanation

To effectively diagnose the intermittent application issue, it is important to analyze logs and investigate both application-specific errors and infrastructure activity. CloudWatch Logs Insights enables querying and analyzing application logs, while AWS CloudTrail provides visibility into API activity. Exporting logs to Amazon S3 and analyzing with Amazon Athena allows for deeper insights into historical log data. While detailed monitoring and VPC Flow Logs may provide supplementary information, they are not directly focused on application log analysis in this scenario.

  • A. Incorrect.

    Enabling detailed monitoring on EC2 instances provides enhanced metrics, such as 1-minute granularity, but it does not help directly in analyzing the application logs or identifying specific errors.

  • B. Correct.

    Using CloudWatch Logs Insights allows you to query and analyze specific log groups for patterns, errors, or anomalies, making it a critical step in diagnosing application issues.

  • C. Correct.

    AWS CloudTrail captures API activity and can help identify configuration changes or issues with resource interactions that might be affecting the application.

  • D. Correct.

    Exporting logs to Amazon S3 and analyzing them with Amazon Athena allows you to perform advanced queries on large datasets, which can help in identifying trends or root causes over a longer period.

  • E. Incorrect.

    Enabling VPC Flow Logs is useful for capturing network traffic and diagnosing connectivity issues, but it does not directly address application-specific log analysis.

Timed practice exam

Take a SOA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam