- A
AWS CloudTrail
CloudTrail logs API calls for auditing.
- B
Amazon GuardDuty
Why wrong: GuardDuty is for threat detection.
- C
VPC Flow Logs
Why wrong: Flow logs capture network traffic, not API calls.
- D
AWS Config
Why wrong: Config records resource configuration changes, not API calls.
Quick Answer
The answer is AWS CloudTrail because it serves as the definitive audit service for recording all API calls made to your AWS environment, including those that modify security groups and network ACLs. CloudTrail captures every CreateSecurityGroup, AuthorizeSecurityGroupIngress, RevokeSecurityGroupEgress, and CreateNetworkAclEntry call, logging the identity of the user, the time of the change, and the source IP address. On the AWS Certified Advanced Networking Specialty ANS-C01 exam, this concept tests your understanding of operational auditing and governance, often appearing in scenario-based questions where you must distinguish CloudTrail from services like AWS Config or VPC Flow Logs. A common trap is confusing CloudTrail’s API-level logging with Config’s resource configuration tracking—remember that CloudTrail records the action (who did what), while Config records the state (what changed). For a quick memory tip: think of CloudTrail as the “who, what, when” for security group and network ACL changes, not the “how it looks now.”
ANS-C01 Network Security, Compliance and Governance Practice Question
This ANS-C01 practice question tests your understanding of network security, compliance and governance. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company wants to audit all changes made to security groups and network ACLs in its AWS account. Which AWS service should be used to capture these API calls?
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 to the AWS environment, including those that modify security groups and network ACLs. By enabling CloudTrail, you can capture CreateSecurityGroup, AuthorizeSecurityGroupIngress, RevokeSecurityGroupEgress, CreateNetworkAclEntry, and similar API calls, providing an audit trail of who made the change, when, and from which IP address.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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
CloudTrail logs API calls for auditing.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Amazon GuardDuty
Why it's wrong here
GuardDuty is for threat detection.
- ✗
VPC Flow Logs
Why it's wrong here
Flow logs capture network traffic, not API calls.
- ✗
AWS Config
Why it's wrong here
Config records resource configuration changes, not API calls.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse AWS Config (which tracks configuration state) with CloudTrail (which tracks API actions), but the question explicitly asks for capturing the API calls themselves, not the resulting configuration changes.
Detailed technical explanation
How to think about this question
CloudTrail delivers log files in JSON or gzip format to an S3 bucket, and each event record includes the user identity (IAM user or role), source IP address, request parameters, and response elements. For security group changes, CloudTrail logs the exact API call (e.g., AuthorizeSecurityGroupIngress) along with the specific protocol, port range, and CIDR block, enabling forensic analysis of who opened a port to 0.0.0.0/0. A real-world scenario is compliance auditing where you must prove that only authorized administrators modified security group rules, which CloudTrail can verify by correlating API calls with IAM policies.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A healthcare organisation deploys an application with a public-facing web tier and a private database tier. The database subnet has no public IP and only accepts connections from the web tier's security group. Questions like this test whether you can design cloud network isolation using VNets/VPCs, subnets, and security group rules.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Network Security, Compliance and Governance — study guide chapter
Learn the concepts, then practise the questions
- →
Network Security, Compliance and Governance practice questions
Targeted practice on this topic area only
- →
All ANS-C01 questions
1,705 questions across all exam domains
- →
AWS Certified Advanced Networking Specialty ANS-C01 study guide
Full concept coverage aligned to exam objectives
- →
ANS-C01 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related ANS-C01 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Network Management and Operations practice questions
Practise ANS-C01 questions linked to Network Management and Operations.
Network Security, Compliance and Governance practice questions
Practise ANS-C01 questions linked to Network Security, Compliance and Governance.
Network Design practice questions
Practise ANS-C01 questions linked to Network Design.
Network Implementation practice questions
Practise ANS-C01 questions linked to Network Implementation.
ANS-C01 fundamentals practice questions
Practise ANS-C01 questions linked to ANS-C01 fundamentals.
ANS-C01 scenario practice questions
Practise ANS-C01 questions linked to ANS-C01 scenario.
ANS-C01 troubleshooting practice questions
Practise ANS-C01 questions linked to ANS-C01 troubleshooting.
Practice this exam
Start a free ANS-C01 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this ANS-C01 question test?
Network Security, Compliance and Governance — This question tests Network Security, Compliance and Governance — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: AWS CloudTrail — AWS CloudTrail is the correct service because it records all API calls made to the AWS environment, including those that modify security groups and network ACLs. By enabling CloudTrail, you can capture CreateSecurityGroup, AuthorizeSecurityGroupIngress, RevokeSecurityGroupEgress, CreateNetworkAclEntry, and similar API calls, providing an audit trail of who made the change, when, and from which IP address.
What should I do if I get this ANS-C01 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
5 more ways this is tested on ANS-C01
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A security engineer needs to audit all API calls that modify security group rules in a VPC. Which AWS service should be used to record these API calls?
easy- ✓ A.AWS CloudTrail
- B.Amazon Inspector
- C.AWS Config
- D.VPC Flow Logs
Why A: AWS CloudTrail records all API calls made to the AWS API, including modifications to security group rules. Option B is correct. AWS Config records resource configuration changes but not API calls. VPC Flow Logs capture network traffic logs, not API calls. Amazon Inspector is for vulnerability assessment.
Variation 2. A company wants to audit all changes to security group rules in their AWS account. Which AWS service should be used to record these changes?
medium- ✓ A.AWS CloudTrail
- B.AWS Config
- C.VPC Flow Logs
- D.Amazon Inspector
Why A: Option B is correct: AWS CloudTrail records API calls, including changes to security group rules. Option A is wrong because AWS Config records resource configurations and changes, but CloudTrail is more direct for API auditing. However, for auditing changes, CloudTrail is the primary service. Option C is wrong because VPC Flow Logs capture network traffic, not configuration changes. Option D is wrong because Amazon Inspector assesses vulnerabilities.
Variation 3. A company wants to audit all changes to security group rules in a VPC. Which AWS service should be used to record these changes?
easy- ✓ A.AWS CloudTrail
- B.AWS Config
- C.VPC Flow Logs
- D.Amazon CloudWatch
Why A: AWS CloudTrail records API calls, including changes to security groups. Option B is correct. Option A is wrong because CloudWatch is for monitoring metrics and logs. Option C is wrong because VPC Flow Logs capture network traffic, not configuration changes. Option D is wrong because AWS Config records resource configuration changes, but CloudTrail is specifically for API call auditing.
Variation 4. A company needs to audit all changes to security groups in a VPC. Which AWS service should be used?
easy- A.VPC Flow Logs
- B.AWS Config
- C.Amazon CloudWatch
- ✓ D.AWS CloudTrail
Why D: Option C is correct because AWS CloudTrail records API calls, including changes to security groups, and can be used for auditing. Option A is wrong because CloudWatch is for monitoring metrics and logs, not API activity. Option B is wrong because VPC Flow Logs capture network traffic, not API changes. Option D is wrong because AWS Config can track resource changes but is not primarily for auditing API calls; it focuses on resource configuration.
Variation 5. A security engineer needs to audit all changes to security group rules in an AWS account. Which AWS service should be used to record these changes?
easy- A.VPC Flow Logs
- ✓ B.AWS CloudTrail
- C.AWS Config
- D.Amazon CloudWatch Logs
Why B: Option B is correct because AWS CloudTrail records API calls, including changes to security group rules. Option A is wrong because AWS Config records configuration changes but not API calls. Option C is wrong because CloudWatch Logs is for log storage, not recording API calls. Option D is wrong because VPC Flow Logs capture network traffic, not API calls.
Last reviewed: Jun 11, 2026
This ANS-C01 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 ANS-C01 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.