↑ ↓ to move, Enter to open, Esc to close

    awsSOA-C03CloudOps Engineer - Associate

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search

    Exams / SOA-C03 / D1 Security and Compliance

    D1.1

    Security and Compliance (part 1 of 2)

    • 3 min read
    • 4 sections
    • 26 questions
    • Free preview
    • Exam domain: Security and Compliance
    You are reading a free preview. The rest of the SOA-C03 course unlocks with an Exam pass or All access.See plans

    Detect and remediate non-compliance

    Need Service Notes
    Continuous compliance rule on resources AWS Config managed rules e.g. required-tags, s3-bucket-logging-enabled
    Fix automatically Config auto remediation → SSM Automation runbook e.g. AWS-DisableIncomingSSHOnPort22, AWS-ConfigureS3BucketLogging
    React to a Security Hub finding EventBridge → Lambda Custom remediation pattern
    Multi-account inventory Config aggregator "Aggregators provide a read-only view into the source accounts and" Regions
    CIS benchmark across accounts Security Hub CSPM + Organizations auto-enable Delegated admin adds new accounts automatically
    Unusual API activity CloudTrail Insights Baselines management and data events
    DNS threats (DGA, tunneling) Route 53 Resolver DNS Firewall Advanced Not WAF, not Shield
    Out-of-band changes to stack resources CloudFormation drift detection Run on a schedule via EventBridge + Lambda + SNS
    Root sign-in alert EventBridge (CloudTrail ConsoleLogin) → SNS SQS does not send email
    Compliance reports for AWS controls (PCI, SOC) AWS Artifact Hand them to auditors

    Config remediation versus Security Hub remediation

    Trusted Advisor: "AWS Trusted Advisor checks are available to customers with an AWS Business Support+, AWS Enterprise Support, or AWS Unified Operations plan." Basic Support gets Service Limits and selected Security/Fault tolerance checks.

    IAM, SCPs and cross-account access

    • Customer managed policy + group: reusable, editable, versioned (up to five versions). AWS managed policies can't be edited by you; inline policies are per identity and not versioned.
    • Wildcards: service:* allows all actions of the service; Describe* / List* only read actions.
    • EC2 needs AWS access: use an instance role (temporary credentials), least-privilege actions, never embedded access keys.
    • Cross-account assume role: the target role's trust policy names the other account AND the caller needs an identity policy allowing sts:AssumeRole on the role ARN.
    • SCPs: guardrails only, grant nothing. "SCPs affect all users and roles in attached accounts, including the root user." They don't affect the management account. Attach to an OU to scope; a deny wins. Keep FullAWSAccess or everything is denied.

    SCP attached to an OU

    Network access to instances

    Control Stateful? Trap
    Security group Yes No outbound rule needed for responses
    Network ACL No Custom NACL needs inbound AND outbound (ephemeral ports) rules
    • EC2 Instance Connect Endpoint: SSH to private instances without bastion or public IP; IAM controls who can use it; the instance security group must allow inbound SSH 22 from the endpoint. No key pair is needed.
    • S3 from a VPC without internet: S3 gateway endpoint (route table entry, no charge); NAT, VPN and Transit Gateway don't fit.
    • ALB: HTTP:80 listener redirects to HTTPS:443 listener holding the ACM certificate.

    Encryption and data protection

    • Encrypted RDS snapshot sharing: use a customer managed key whose policy allows the target account; the default key can't be shared. Aliases give no access.
    • EBS only supports symmetric KMS keys; customer managed keys give custom key policy and automatic rotation (365 days by default). Imported key material is not auto-rotated.
    • AMI backup to S3: store image task (CreateStoreImageTask), restore with CreateRestoreImageTask.

    Exam traps

    • A Config rule alone only detects; remediation must be configured.
    • IAM policies cannot restrict the root user of a member account; SCPs can.
    • Removing the default FullAWSAccess SCP denies everything.
    • Security group SSH rule on the instance, not the endpoint's inbound rules, is what breaks Instance Connect Endpoint.
    • Trusted Advisor coverage depends on the Support plan, not on SCPs or running instances.
    • Gateway endpoints are not PrivateLink (interface endpoints are), though questions sometimes blur this.

    Docs

    The rest of this chapter is part of the SOA-C03 premium course

    Unlock every chapter, all 200 questions and spaced review with All access or a 90-day exam pass. Every Fundamentals exam stays free, and the first chapter of every exam is open.

    Chapters