Courseiva
Network Security, Compliance and GovernancemediumMultiple SelectObjective-mapped

ANS-C01 Network Security, Compliance and Governance Practice Question

A company is designing a network security architecture for a multi-account environment using AWS Organizations. The security team needs to enforce that all VPCs use a specific set of security group rules for inbound SSH access. Which TWO steps should the team take? (Choose two.)

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

Use AWS Config rules to detect non-compliant security groups and trigger automatic remediation.

SCPs can deny the ec2:AuthorizeSecurityGroupIngress action if the rule does not comply with the standard, enforcing compliance at the organization level (Option D). AWS Config rules can detect non-compliant security groups and trigger automatic remediation via AWS Systems Manager Automation (Option A). Option B is incorrect because CloudTrail logs but does not enforce. Option C is incorrect because GuardDuty monitors for threats, not compliance. Option E is incorrect because IAM roles per account are not centralized and do not enforce across accounts.

Answer analysis

Option-by-option breakdown

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

  • Use AWS Config rules to detect non-compliant security groups and trigger automatic remediation.

    Why this is correct

    Config can detect and remediate.

  • Enable AWS CloudTrail to log all security group changes and send alerts.

    Why it's wrong here

    Logging does not enforce compliance.

  • Enable Amazon GuardDuty to monitor for malicious traffic.

    Why it's wrong here

    GuardDuty is for threat detection, not compliance.

  • Use a service control policy (SCP) to deny the ec2:AuthorizeSecurityGroupIngress action if the rule does not comply with the standard.

    Why this is correct

    SCPs can deny non-compliant actions.

  • Create an IAM role in each account that only allows creation of compliant security groups.

    Why it's wrong here

    IAM roles don't enforce across accounts centrally.

About these practice questions

One of 1,621 original ANS-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 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.