AWS Certified SysOps Administrator - Associate (SOA-C02) · AWS

Security and Compliance

15 practice questions covering 16% of the official AWS Certified SysOps Administrator - Associate (SOA-C02) blueprint. Every item includes a worked explanation of the correct answer.

View all 6 domains in AWS Certified SysOps Administrator - Associate (SOA-C02)

Syllabus Coverage & Domain Overview

Security and Compliance is the fourth content domain of the AWS Certified CloudOps Engineer - Associate exam (SOA-C03) and carries 16 percent of the scored content. The older SysOps Administrator exam, SOA-C02, is retired. It was in use until 29 September 2025, and SOA-C03 has applied since 30 September 2025. SOA-C03 has five domains, because the former cost and performance domain was folded into the monitoring domain. Security was reorganised along the way. Its two tasks are now managing security and compliance tools and policies, and protecting data and infrastructure. VPN topics moved out of this domain into networking, while Region and service selection, continuous monitoring and Config conformance packs were added or made explicit. Revised guide versions have been published since launch, so read the current one before you book.

The first task is about access and governance. It covers password policies, multi-factor authentication, roles, federated identity, resource policies and policy conditions. You are also expected to troubleshoot and audit access with CloudTrail, IAM Access Analyzer and the IAM policy simulator. Other skills are running multiple accounts safely with Organizations, service control policies and IAM Identity Center, acting on Trusted Advisor security checks, and enforcing compliance rules. The second task covers protection. You need a data classification scheme, encryption at rest with KMS, encryption in transit with Certificate Manager, secure secret storage, and reports and remediation from Security Hub, GuardDuty, Config and Inspector.

The central skill is telling neighbouring tools apart. An identity-based policy attaches to a principal and a resource-based policy attaches to the resource. A service control policy or permissions boundary never grants access. It only sets the ceiling on what other policies may allow, so a user with an administrator policy can still be refused. Access Analyzer reveals unintended external sharing, and the simulator tests what a policy would permit. CloudTrail records API calls. Config records resource state and judges it against rules. GuardDuty flags suspicious behaviour, and Inspector looks for software vulnerabilities and exposure. Know that KMS access depends on the key policy as well as IAM permissions. Know why a managed secret store with rotation beats a plaintext file on an instance.

Questions are usually short scenarios asking for the best fit or the least operational effort. Typical cases are a user denied despite broad permissions, a role or bucket reachable from outside the account, an auditor who wants continuous evidence of compliance, or a rule that data must never travel unencrypted. The usual traps are believing an allow can beat an explicit deny, forgetting that a cap covers every identity beneath it, choosing a detective control when the scenario needs a preventive one, and writing a custom script when a managed feature such as a Config rule with automatic remediation would do.

To prepare, work through the official task and skill list and try each service in a sandbox account. Write a policy with a condition and test it in the simulator. Deploy a conformance pack or a single Config rule with remediation. Turn on Access Analyzer and read its findings. Then practise saying in one sentence why a given service fits a scenario and why the similar ones do not.

In the official AWS Certified SysOps Administrator - Associate (SOA-C02) examination blueprint, Security and Compliance carries a weightage of 16%. Out of the total examination duration of 3 hr, candidates should budget approximately 29 min for questions from this domain to maintain pace across the paper.

How to Master Security and Compliance for AWS Certified SysOps Administrator - Associate (SOA-C02)

Our 15 published questions in Security and Compliance are written for PrepIQ Hub and checked as set out in our editorial policy. Each item is written to the medium difficulty level of the AWS exam:

  • Targeted Topic Drills: Launch Topic Practice mode to work exclusively through Security and Compliance items and review the step-by-step derivation after each submission.
  • Negative Marking Discipline: The AWS Certified SysOps Administrator - Associate (SOA-C02) applies no negative marking penalty, so practice eliminating the three distractors systematically on every Security and Compliance item.
  • Benchmark Target: Aim for at least 72% accuracy in Security and Compliance drills before moving to full-paper simulations.

Security and Compliance worked examples

Security and Compliance questions from the AWS Certified SysOps Administrator - Associate (SOA-C02) syllabus, answered in full. Try each one before opening the explanation.

  1. Example 1 · Security and Compliance · medium

    A company stores sensitive compliance records on encrypted Amazon EBS volumes and Amazon S3 buckets using an AWS KMS Customer Managed Key (CMK) that was created directly in KMS. Corporate security policy mandates that the key material be rotated once every year (365 days) without breaking decryption of existing EBS snapshots or older S3 objects, and without manually updating the Key ID/ARN in CloudFormation templates. How does AWS KMS Automatic Key Rotation work?

    • AKMS deletes old backing key material after 24 hours, requiring immediate re-encryption of all S3 objects
    • BKMS changes the Key ARN on every rotation and requires updating every CloudFormation stack
    • CKMS rotates the backing key material while keeping the same Key ARN and retaining old keys for decryption
    • DAutomatic rotation is supported only on SSE-C customer-provided keys
    Show answer and explanation

    Correct answer: C. KMS rotates the backing key material while keeping the same Key ARN and retaining old keys for decryption

    Why

    When you enable Automatic Key Rotation on a symmetric AWS KMS Customer Managed Key (configurable from 90 to 2,560 days, defaulting to 365 days), AWS KMS generates new cryptographic backing key material on schedule while retaining all previous backing key versions indefinitely to decrypt old ciphertext — and the Key ID and Key ARN never change.

    • A. KMS deletes old backing key material after 24 hours, requiring immediate re-encryption of all S3 objects — KMS never deletes old backing key versions of an active CMK so historical ciphertext remains decryptable without re-encryption.
    • B. KMS changes the Key ARN on every rotation and requires updating every CloudFormation stack — The logical KMS Key ID and Key ARN remain unchanged across automatic rotations.
    • D. Automatic rotation is supported only on SSE-C customer-provided keys — Imported Key Material and SSE-C do not support automatic KMS key rotation; KMS-generated symmetric CMKs do.
  2. Example 2 · Security and Compliance · hard

    A security engineer wants to automatically detect any Amazon S3 bucket in the account whose bucket policy or ACL is changed to allow public-read or public-write, and automatically remediate the bucket within seconds by enabling BlockPublicAcls, IgnorePublicAcls, BlockPublicPolicy, and RestrictPublicBuckets without writing custom Lambda code. Which two AWS services work together natively to provide this continuous compliance check and turnkey remediation? (Select two.)

    • AConfigure an AWS Config managed rule (s3-bucket-level-public-access-prohibited)
    • BDeploy an Amazon CloudFront Price Class 100 edge distribution in front of the bucket
    • CEnable AWS Compute Optimizer rightsizing recommendations on the S3 bucket policy
    • DAttach an SSM Automation remediation action (AWS-DisableS3BucketPublicReadWrite)
    Show answer and explanation

    Correct answers: A. Configure an AWS Config managed rule (s3-bucket-level-public-access-prohibited); D. Attach an SSM Automation remediation action (AWS-DisableS3BucketPublicReadWrite)

    Why

    AWS Config evaluates resource configuration changes using managed rules such as s3-bucket-public-read-prohibited / s3-bucket-level-public-access-prohibited (A), and triggers an AWS Systems Manager (SSM) Automation document (AWS-ConfigureS3BucketPublicAccessBlock / AWS-DisableS3BucketPublicReadWrite) as an Automatic Remediation Action (D).

    • B. Deploy an Amazon CloudFront Price Class 100 edge distribution in front of the bucket — CloudFront caches content at edge locations; it does not audit or remediate public S3 bucket policies.
    • C. Enable AWS Compute Optimizer rightsizing recommendations on the S3 bucket policy — Compute Optimizer analyzes EC2, EBS, ECS Fargate, and Lambda performance, not S3 bucket policies.
  3. Example 3 · Security and Compliance · medium

    A security team wants to identify every resource in their AWS account — including Amazon S3 buckets, IAM roles, KMS keys, Lambda functions, and SQS queues — that has a resource-based policy granting access to any external principal outside their AWS Organization (Zone of Trust), using automated mathematical logic (automated reasoning) rather than waiting for an external attacker to actually access the resource. Which AWS service provides this?

    • AAWS IAM Access Analyzer configured with the AWS Organization as the Zone of Trust
    • BAmazon CloudWatch Contributor Insights analyzing VPC Flow Log byte counts across subnets
    • CAWS Systems Manager Distributor installing anti-malware agents on EC2 instances
    • DAWS Trusted Advisor Service Limits check for EC2 vCPU quotas
    Show answer and explanation

    Correct answer: A. AWS IAM Access Analyzer configured with the AWS Organization as the Zone of Trust

    Why

    AWS IAM Access Analyzer uses automated reasoning (provable mathematical analysis of resource-based policies) to continuously scan S3 buckets, IAM role trust policies, KMS keys, Lambda functions, SQS queues, Secrets Manager secrets, and EFS file systems, generating findings whenever a policy grants access to principals outside your designated Zone of Trust (AWS Account or AWS Organization).

    • B. Amazon CloudWatch Contributor Insights analyzing VPC Flow Log byte counts across subnets — Contributor Insights analyzes traffic volume after connections occur; it does not mathematically analyze IAM/resource policies.
    • C. AWS Systems Manager Distributor installing anti-malware agents on EC2 instances — SSM Distributor deploys software packages to EC2 instances and does not analyze resource policies.
    • D. AWS Trusted Advisor Service Limits check for EC2 vCPU quotas — Service Limits checks monitor quota utilization, not external resource-policy sharing.
  4. Example 4 · Security and Compliance · easy

    A SysOps administrator needs to distinguish between two AWS security services during an audit: Service A continuously analyzes AWS CloudTrail management/S3 events, VPC Flow Logs, and Route 53 DNS query logs using machine learning and threat intelligence feeds to detect cryptocurrency mining, credential exfiltration, and command-and-control traffic; Service B scans Amazon EC2 instances, Amazon ECR container images, and AWS Lambda functions for known software package CVEs (Common Vulnerabilities and Exposures) and unintended network exposure. What are Service A and Service B?

    • AService A is Amazon Macie; Service B is AWS Shield Standard
    • BService A is Amazon GuardDuty; Service B is Amazon Inspector
    • CService A is AWS Artifact; Service B is AWS Certificate Manager (ACM)
    • DService A is AWS WAF; Service B is Amazon Cognito Identity Pools
    Show answer and explanation

    Correct answer: B. Service A is Amazon GuardDuty; Service B is Amazon Inspector

    Why

    - Service A is Amazon GuardDuty: agentless threat detection analyzing CloudTrail, VPC Flow Logs, DNS logs, EKS audit logs, and RDS/S3 events. - Service B is Amazon Inspector: automated vulnerability management scanning EC2 (via SSM Agent), ECR container images, and Lambda functions for software CVEs and network reachability.

    • A. Service A is Amazon Macie; Service B is AWS Shield Standard — Amazon Macie discovers sensitive PII in S3 buckets, and AWS Shield protects against DDoS attacks.
    • C. Service A is AWS Artifact; Service B is AWS Certificate Manager (ACM) — AWS Artifact downloads compliance reports (SOC/ISO) and ACM provisions TLS certificates.
    • D. Service A is AWS WAF; Service B is Amazon Cognito Identity Pools — AWS WAF filters Layer-7 HTTP traffic and Cognito vends federated credentials.
  5. Example 5 · Security and Compliance · medium

    An IAM user in a member account of AWS Organizations is attached to the AdministratorAccess managed policy ("Effect": "Allow", "Action": "*", "Resource": "*"). However, when the user attempts to launch an x2iedn.32xlarge EC2 instance in eu-central-1, the request fails with an explicit deny message referencing an AWS Organizations Service Control Policy (SCP). Why did the request fail despite AdministratorAccess, and how do SCPs work?

    • ASCPs automatically grant AdministratorAccess unless overridden by S3
    • BThe IAM user must generate a new AccessKeyId because AdministratorAccess expires daily
    • CSCPs set account-level guardrails where an explicit Deny overrides AdministratorAccess
    • DSCPs apply only to unauthenticated anonymous users and never affect IAM users or roles
    Show answer and explanation

    Correct answer: C. SCPs set account-level guardrails where an explicit Deny overrides AdministratorAccess

    Why

    Service Control Policies (SCPs) define the maximum available permissions (guardrails) for all IAM users and roles (including the account root user) in a member account. SCPs never grant permissions by themselves; effective permissions require an Allow in both the SCP and the IAM identity policy, and any explicit Deny in an SCP overrides an Allow in AdministratorAccess.

    • A. SCPs automatically grant AdministratorAccess unless overridden by S3 — SCPs never grant permissions on their own; they only filter maximum permissions.
    • B. The IAM user must generate a new AccessKeyId because AdministratorAccess expires daily — Managed IAM policies do not expire daily, and rotating access keys cannot bypass an AWS Organizations SCP.
    • D. SCPs apply only to unauthenticated anonymous users and never affect IAM users or roles — SCPs govern all IAM users, IAM roles, and even the member account root user.

Every worked example on this page passed our independent verification before publication — how that works is set out in our editorial policy. Spotted an error? Tell us through the contact page and we will correct it.

All 5 Security and Compliance questions with answers

All Syllabus Domains in AWS Certified SysOps Administrator - Associate (SOA-C02)

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.