Courseiva

SOA-C02 Monitoring, Logging, and Remediation Practice Question

A SysOps administrator needs to audit all API calls made in an AWS account for compliance and security analysis. The logs must be stored securely for at least one year. Which AWS service should the administrator enable?

⚠ Common exam trap

Watch out — candidates often confuse CloudTrail with CloudWatch Logs, thinking CloudWatch Logs can capture API calls, but CloudWatch Logs only stores logs from services that explicitly send them, not the full audit trail of API activity.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

AWS CloudTrail

AWS CloudTrail is the correct service because it records all API calls made in an AWS account, including the identity of the caller, the time of the call, the source IP address, and the request parameters. This audit log is essential for compliance and security analysis, and CloudTrail can be configured to store logs in an S3 bucket with lifecycle policies to retain them for at least one year.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    AWS CloudTrail

    Why this is correct

    AWS CloudTrail is the correct service because it is a governance, compliance, and audit service that records every AWS API call made in the account, including the identity of the caller, the time of the call, the source IP address, and the request parameters. It delivers event history to an S3 bucket and can also send events to CloudWatch Logs for further monitoring, making it the definitive source for an audit trail of API activity.

  • ✗

    Amazon CloudWatch Logs

    Why it's wrong here

    Amazon CloudWatch Logs is a monitoring service designed to collect, store, and analyze log files from applications, EC2 instances, and other AWS resources. While CloudTrail can optionally deliver API activity logs to CloudWatch Logs, CloudWatch Logs itself does not natively capture AWS API calls; it only handles logs that are explicitly sent to it. Therefore, relying on CloudWatch Logs alone would not provide a complete audit record of API actions.

  • ✗

    AWS Config

    Why it's wrong here

    AWS Config is a service that records and evaluates the configuration state of your AWS resources over time, such as changes to security groups, instance types, or IAM policies. It does not capture who performed an API call or the request details; it only shows the resulting configuration changes. Thus, while it is useful for compliance and change management, it is not designed to serve as an API call audit trail.

  • ✗

    Amazon GuardDuty

    Why it's wrong here

    Amazon GuardDuty is a threat detection service that uses machine learning and anomaly detection to identify malicious activity, such as compromised credentials or unusual API behavior. It does not record every API call for audit purposes; it only generates alerts when it detects potential threats. Therefore, it cannot provide the complete, tamper-evident history of all API calls needed for a full audit.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every SOA-C02 question from scratch — 1,169 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SOA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SOA-C02 exam.