AWS SAA Design Secure Architectures Practice Questions

Practice Design Secure Architectures questions for the AWS Certified Solutions Architect — Associate (SAA-C03). Every question includes a full explanation of why the correct answer is right and why the tempting distractors are wrong.

31 questions available · hard difficulty · AWS SAA · Free, no registration required

←AWS SAA1 / 10
0 / 0

Question Map

Current
Correct
Incorrect
Flagged
Unanswered
Q1hardDesign Secure Architectures

A platform security team allows application developers in a workload AWS account to create new IAM roles for AWS Lambda functions. Security policy dictates that no developer-created Lambda role may ever exercise permissions beyond `AmazonS3ReadOnlyAccess` and `CloudWatchLogsFullAccess`, even if a developer attaches `AdministratorAccess` to the new role. However, central cloud administrators operating inside that same AWS account must retain unrestricted IAM and infrastructure permissions. Which architecture enforces this privilege-escalation guardrail with the LEAST operational overhead?

Select an answer

On the AWS SAA · 30% of AWS SAA-C03 exam (Domain 1 — largest domain)

65 questions in 130 minutes (50 scored, 15 unscored pretest), mixing 4-option single-answer and 5-option choose-two or 6-option choose-three scenario items.

What Design Secure Architectures tests

Design Secure Architectures is the single largest domain on AWS SAA-C03. Rather than testing basic definitions, scenarios ask you to combine multi-account governance (AWS Organizations SCPs, IAM Identity Center, permission boundaries), private VPC connectivity, envelope encryption with AWS KMS, automated secret rotation, and threat detection services (GuardDuty, Macie, Inspector, CloudTrail, Config) with minimal operational overhead.

Where test-takers lose points

Routing private S3 or DynamoDB traffic through a NAT Gateway instead of a Gateway VPC Endpoint

A NAT Gateway sends traffic out to public AWS endpoints and bills both hourly and per-GB data-processing charges. Gateway VPC Endpoints route S3 and DynamoDB traffic privately over the AWS backbone via VPC route tables at zero endpoint cost, while Interface Endpoints (AWS PrivateLink) use ENIs for other AWS services.

Treating SCPs or IAM Permission Boundaries as policies that grant access

Neither Service Control Policies (SCPs) nor permission boundaries grant permissions by themselves—they only set the maximum ceiling. Cross-account access requires explicit Allow statements on both the identity policy and the resource policy, plus permission on the customer-managed KMS key policy when objects use SSE-KMS.

Confusing stateful Security Groups with stateless Network ACLs

Security Groups evaluate Allow rules only and automatically allow return traffic regardless of inbound/outbound rules. Network ACLs operate at the subnet boundary, evaluate numbered rules in order (including explicit Deny rules), and require explicit outbound ephemeral-port rules for return traffic.

How to practise Design Secure Architectures

Trace every multi-account or private-VPC question through three checkpoints: identity/guardrail evaluation (IAM + SCP + resource policy + KMS key policy), network path (Security Group vs NACL vs Gateway/Interface Endpoint), and secret/key management (Secrets Manager automatic rotation vs SSM Parameter Store).

Common questions about AWS SAA Design Secure Architectures

Why does cross-account S3 access fail when SSE-KMS is enabled even if the bucket policy allows it?

Unlike AWS-managed SSE-S3 keys, customer-managed KMS keys require explicit permissions in both the KMS key policy (allowing the external account) and the external IAM principal's policy (kms:Decrypt and kms:GenerateDataKey).

When should I pick AWS Secrets Manager over Systems Manager Parameter Store?

Choose Secrets Manager whenever the prompt mentions built-in automatic credential rotation (especially native RDS, Aurora, or Redshift integration) or cross-account secret sharing; choose Parameter Store Standard parameters when zero-cost configuration/secret storage without built-in rotation suffices.

How do GuardDuty, Inspector, and Macie differ on SAA-C03?

GuardDuty analyzes CloudTrail, VPC Flow Logs, and DNS logs to detect active threats; Amazon Inspector continuously scans EC2 instances, container images, and Lambda functions for CVEs; Amazon Macie uses machine learning to discover PII and sensitive data inside S3 buckets.

Sample Design Secure Architectures Questions with Answers

10 example questions with full explanations. Use the interactive practice above to work through the complete set.

Question 1hard

A platform security team allows application developers in a workload AWS account to create new IAM roles for AWS Lambda functions. Security policy dictates that no developer-created Lambda role may ever exercise permissions beyond `AmazonS3ReadOnlyAccess` and `CloudWatchLogsFullAccess`, even if a developer attaches `AdministratorAccess` to the new role. However, central cloud administrators operating inside that same AWS account must retain unrestricted IAM and infrastructure permissions. Which architecture enforces this privilege-escalation guardrail with the LEAST operational overhead?

  • A.Apply an organizational unit Service Control Policy denying all actions outside S3 read and CloudWatch Logs across the entire workload account
  • B.Put developers into an IAM group carrying an explicit `Deny` statement for every AWS service except Amazon S3 and Amazon CloudWatch Logs
  • C.Enforce an IAM permissions boundary on new roles using an `iam:PermissionsBoundary` condition on the developer role✓
  • D.Deploy an EventBridge rule triggered by CloudTrail `AttachRolePolicy` events that invokes Lambda every minute to detach unauthorized policies

Correct answer: C

IAM permissions boundaries define the maximum effective permissions an IAM role can ever have (the intersection of its identity-based policy and its boundary). Granting developers `iam:CreateRole` and `iam:AttachRolePolicy` conditioned on `iam:PermissionsBoundary` pointing to the approved boundary prevents privilege escalation without affecting central administrators in the same account (Option C). Option A fails because an SCP without complex principal exemptions restricts every principal in the member account, including administrators. Option D leaves an active privilege-escalation gap between role creation and remediation, and Option B restricts the developers' own API calls rather than bounding the delegated Lambda execution roles.

Question 2medium

A hospital network connects its on-premises data center to a production VPC in `us-east-1` over AWS Direct Connect using a Private Virtual Interface. Nightly imaging servers in the hospital data center must upload 4 TB of DICOM archives directly to an Amazon S3 bucket using private RFC 1918 IP addresses, without traversing the public internet and without maintaining EC2 proxy servers inside the VPC. Which network design meets these requirements?

  • A.Replace the Private Virtual Interface with a Public Virtual Interface so hospital servers reach global Amazon S3 public IP ranges over Direct Connect
  • B.Create an Amazon S3 Gateway VPC Endpoint associated with the VPC private route tables and advertise the S3 public prefix list over BGP to the hospital router
  • C.Deploy an Amazon S3 Interface VPC Endpoint in the VPC and route on-premises S3 DNS queries to its private ENI IPs✓
  • D.Provision a public NAT Gateway in the VPC public subnet and point the on-premises default route across the Private Virtual Interface toward the NAT Gateway

Correct answer: C

An Amazon S3 Interface VPC Endpoint (powered by AWS PrivateLink) deploys Elastic Network Interfaces with private RFC 1918 IP addresses inside the VPC subnets, which are directly routable over AWS Direct Connect Private VIFs and Site-to-Site VPNs without EC2 proxies (Option C). Option B is the classic SAA-C03 networking trap: Gateway VPC Endpoints only work for sources inside the VPC and cannot route traffic arriving from on-premises networks. Option D still sends traffic over public S3 endpoints via an Internet Gateway, and Option A uses public IP addressing over a Public VIF instead of private RFC 1918 IPs.

Question 3hard

A central data-lake AWS account (`111122223333`) stores Parquet files in an Amazon S3 bucket encrypted with server-side KMS encryption. An analytics AWS account (`444455556666`) runs Apache Spark jobs on Amazon EMR using an IAM instance profile role that must read those objects directly across accounts. Currently the S3 bucket uses the AWS-managed KMS key (`aws/s3`), and cross-account `GetObject` calls fail with `AccessDenied` even after adding a bucket policy allowing the EMR role. What must the solutions architect change to enable secure cross-account reads?

  • A.Encrypt bucket objects with a customer-managed KMS key in account `111122223333` granting `kms:Decrypt` to account `444455556666` and the EMR IAM role✓
  • B.Edit the key policy of the existing `aws/s3` AWS-managed KMS key in account `111122223333` to add the EMR role ARN from account `444455556666` as an authorized decrypt principal
  • C.Attach an IAM resource-based policy directly onto the EMR instance profile role in account `444455556666` trusting the S3 service principal in account `111122223333` to delegate `aws/s3` decryption
  • D.Enable S3 Object Ownership Bucket Owner Enforced on the data-lake bucket in account `111122223333` so S3 automatically bypasses KMS key policy checks for authorized bucket-policy principals

Correct answer: A

AWS-managed KMS keys such as `aws/s3` have immutable key policies that never permit cross-account access. For cross-account SSE-KMS reads, the bucket owner (`111122223333`) must encrypt objects with a customer-managed KMS key whose key policy allows the consumer account (`444455556666`), while the consumer EMR IAM role also carries identity-based `kms:Decrypt` and `s3:GetObject` permissions matching the S3 bucket policy (Option A). Option B is impossible because `aws/s3` key policies cannot be edited. Option C confuses role trust policies with KMS authorization, and Option D only removes S3 ACLs without bypassing KMS key checks.

Question 4easy

A payments team runs a containerized Java application on Amazon ECS Fargate connecting to an Amazon RDS for PostgreSQL Multi-AZ instance. An upcoming PCI-DSS audit requires database master and application passwords to rotate automatically every 30 days with zero manual intervention and zero container redeployments. Which design meets this requirement with the LEAST operational effort?

  • A.Save the encrypted password in AWS Systems Manager Parameter Store Standard tier and build a custom cron container on ECS to run SQL password updates monthly
  • B.Store the credentials in AWS Secrets Manager with native 30-day automatic RDS rotation enabled and retrieve the current secret dynamically via the AWS SDK✓
  • C.Embed the database password inside an encrypted Amazon S3 config file protected by SSE-KMS and enable a 30-day S3 Lifecycle expiration rule to force manual resets
  • D.Pass the PostgreSQL password as a KMS-encrypted ECS task definition environment variable and enable annual automatic key rotation on the customer-managed KMS key

Correct answer: B

AWS Secrets Manager offers native turnkey integration with Amazon RDS for PostgreSQL to rotate database credentials on a custom schedule (such as every 30 days) using an AWS-managed rotation Lambda function, while applications fetch updated credentials via SDK/caching client without redeploying containers (Option B). Option A adds unnecessary custom scripting because SSM Parameter Store has no native RDS rotation engine. Option C causes outages by deleting the config file, and Option D rotates only the KMS cryptographic backing key rather than the database user password.

Question 5medium

A security engineer hardens a public VPC subnet hosting an internet-facing Application Load Balancer. The ALB Security Group allows inbound TCP port 443 from `0.0.0.0/0` and outbound TCP port 8443 to backend EC2 instances in a private subnet. After the engineer replaces the public subnet's default Network ACL with a custom NACL allowing inbound TCP 443 from `0.0.0.0/0` and outbound TCP 8443 to `10.0.2.0/24`, external HTTPS clients immediately experience connection timeouts. Which missing NACL rules explain the outage?

  • A.Explicit `ALLOW` connection-tracking entries enabled on the VPC route table so stateless NACL rules inherit the ALB Security Group's return-traffic state
  • B.Outbound ephemeral TCP ports `1024-65535` to `0.0.0.0/0` for client responses and inbound ephemeral TCP ports `1024-65535` from `10.0.2.0/24` for backend replies✓
  • C.Inbound UDP port 53 and outbound UDP port 53 rules on the public subnet NACL so internet browsers can resolve the ALB public hostname
  • D.Inbound TCP port 8443 from `0.0.0.0/0` and outbound TCP port 443 to `10.0.2.0/24` because NACLs evaluate destination ports prior to source-port translation

Correct answer: B

Unlike stateful Security Groups, Network ACLs are completely stateless and inspect inbound and outbound packets independently at the subnet boundary. For an ALB in a public subnet to complete HTTPS handshakes with internet clients (who initiate from ephemeral source ports `1024-65535` to port 443) and receive responses from private-subnet targets (`10.0.2.0/24` replying from port 8443 back to the ALB's ephemeral source port), the public subnet NACL must allow outbound TCP `1024-65535` to `0.0.0.0/0` and inbound TCP `1024-65535` from `10.0.2.0/24` (Option B). Option C misplaces public DNS resolution inside the subnet, Option D reverses client and backend listener ports, and Option A invents a nonexistent route-table state setting.

Question 6medium

An IoT telemetry platform writes 50 million individual 8 KB JSON sensor payloads per hour into an Amazon S3 bucket. Compliance rules mandate server-side encryption using a customer-managed AWS KMS key (`SSE-KMS`) so key rotation and revocable key policies remain under customer control. During peak ingestion, `PutObject` calls begin failing with AWS KMS `ThrottlingException` errors and monthly KMS API request charges surge past $15,000. Which change resolves the KMS throttling and cost spike while maintaining customer-managed KMS governance?

  • A.Enable Amazon S3 Bucket Keys on the bucket so S3 derives short-lived bucket-level keys from the KMS key for local envelope encryption✓
  • B.Deploy 10 identical customer-managed KMS keys in the same Region and shard object key prefixes across them using an S3 Lambda Object Write trigger
  • C.Configure Amazon CloudFront in front of the S3 bucket with field-level encryption enabled so KMS only encrypts payloads once per edge cache TTL
  • D.Switch the default bucket encryption setting from `SSE-KMS` to `SSE-S3` so Amazon S3 manages AES-256 object keys without calling AWS KMS

Correct answer: A

Without S3 Bucket Keys, every `SSE-KMS` `PutObject` and `GetObject` request invokes AWS KMS directly to generate or decrypt an individual data key, exhausting regional KMS RPS quotas and inflating API charges on high-volume workloads. Enabling S3 Bucket Keys allows Amazon S3 to retain a time-limited bucket-level key generated from your customer-managed KMS key to mint object data keys locally within S3, cutting KMS request traffic and KMS API costs by up to 99% while keeping customer-managed KMS key control (Option A). Option D violates the `SSE-KMS` compliance mandate, Option B still hits shared regional KMS quotas while adding massive Lambda cost, and Option C misapplies edge field-level encryption to unique write streams.

Question 7hard

A regulated enterprise operates 30 application VPCs across three Availability Zones connected via AWS Transit Gateway. Corporate security requires all outbound internet-bound traffic from private workloads across all 30 VPCs to pass through a single centralized egress VPC for stateful TLS Server Name Indication (SNI) domain allowlisting and Suricata intrusion-prevention signature inspection before exiting via NAT Gateways. Which architecture meets these requirements without asymmetric-routing drops across Availability Zones?

  • A.Use AWS Network Firewall in the centralized egress VPC with appliance mode enabled on its Transit Gateway attachment✓
  • B.Deploy Gateway Load Balancers fronting Amazon GuardDuty threat-blocking ENIs inside each spoke VPC subnet before traffic enters AWS Transit Gateway
  • C.Attach an AWS WAF web ACL containing an FQDN regex rule group directly onto the AWS Transit Gateway route table in the centralized egress VPC
  • D.Configure outbound Security Group rules on each spoke EC2 instance listing approved fully qualified domain names alongside stateless NACL DPI rules

Correct answer: A

AWS Network Firewall natively enforces stateful domain-list (HTTP Host and HTTPS TLS SNI) filtering and Suricata-compatible IPS rules on arbitrary VPC egress traffic. When routing multi-AZ spoke traffic through a centralized inspection VPC via AWS Transit Gateway, enabling appliance mode on the inspection VPC's Transit Gateway attachment ensures symmetric forward and return flows stay pinned to the same Availability Zone's firewall endpoint so stateful inspection never drops cross-AZ return packets (Option A). Option C fails because AWS WAF cannot inspect outbound VPC egress or attach to Transit Gateway, Option D fails because Security Groups and NACLs only match IP/CIDR/SG/port rules, and Option B treats GuardDuty as an inline firewall rather than an out-of-band detector.

Question 8medium

A media conglomerate manages 95 AWS accounts under AWS Organizations and authenticates 1,200 engineers in a central SAML 2.0 corporate identity provider. The security architect wants engineers to sign in with corporate credentials and automatically receive access to tagged AWS resources matching their `Department` attribute from the corporate directory across all 95 accounts, without creating IAM users or maintaining 95 individual IAM SAML identity providers. Which solution achieves this with the LEAST administrative overhead?

  • A.Create one IAM SAML identity provider in a shared-services account and configure cross-account VPC peering so engineers chain `sts:GetFederationToken` calls
  • B.Deploy AWS Directory Service Simple AD in every member account synced via CloudFormation StackSets to mirror corporate `Department` groups into local IAM users
  • C.Configure Amazon Cognito User Pools federated with the SAML directory in the management account and exchange Cognito JWT tokens for IAM user access keys
  • D.Use AWS IAM Identity Center with SAML 2.0 federation and pass `Department` session tags for ABAC in permission sets across accounts✓

Correct answer: D

AWS IAM Identity Center integrates centrally with AWS Organizations and an external SAML 2.0 IdP (with SCIM provisioning), issuing short-lived role sessions across all 95 member accounts from a single integration. Enabling Attributes for Access Control passes corporate attributes such as `Department` as `aws:PrincipalTag/Department` session tags inside reusable permission sets, enabling scalable Attribute-Based Access Control without per-account IdP setup or static IAM users (Option D). Option C misuses Cognito User Pools for workforce multi-account administration, Option B duplicates directories and IAM users across 95 accounts, and Option A confuses network peering and `GetFederationToken` with multi-account workforce SSO.

Question 9easy

After acquiring a regional telehealth startup, a compliance officer discovers 280 poorly documented Amazon S3 buckets across four AWS accounts. Before consolidating the buckets, the security team must automatically scan object contents to identify any unencrypted files containing patient Social Security numbers, credit card numbers, or medical record identifiers, and publish findings to Amazon EventBridge. Which AWS service is purpose-built for this task?

  • A.Amazon Macie configured with automated sensitive data discovery and managed data identifiers across the multi-account S3 buckets✓
  • B.Amazon GuardDuty with S3 Protection enabled across all four member accounts to inspect CloudTrail S3 data events for anomalous API calls
  • C.Amazon Inspector v2 delegated to the security account to continuously scan all S3 buckets against CIS benchmarks and common CVE signatures
  • D.AWS Audit Manager configured with a HIPAA assessment framework to parse S3 server access logs for sensitive healthcare payload fields

Correct answer: A

Amazon Macie uses machine learning and managed/custom data identifiers (regex and context rules) to inspect Amazon S3 object contents for sensitive PII, financial data, and PHI across AWS Organizations accounts, emitting findings natively to Security Hub and EventBridge (Option A). Option B (GuardDuty S3 Protection) analyzes CloudTrail data-plane activity for malicious access patterns rather than inspecting file contents. Option C (Inspector) scans compute workloads and container images for CVEs, and Option D (Audit Manager) aggregates compliance evidence rather than performing content-level data classification.

Question 10medium

A securities trading firm operates 40 member accounts in AWS Organizations. Financial regulators mandate that every AWS API call across all current and newly created accounts be recorded in a centralized Log Archive account's Amazon S3 bucket, that auditors be able to prove cryptographically whether any log file was modified or deleted after CloudTrail delivered it, and that no principal—including the Log Archive account's root user—can delete or overwrite logs for 7 years. Which combination satisfies all of these mandates?

  • A.Configure an AWS Organizations CloudTrail trail with log file validation writing to a versioned S3 bucket in Object Lock Compliance mode for 7 years✓
  • B.Stream CloudWatch Logs from each account via Kinesis Data Firehose into an S3 bucket configured with S3 Object Lock Governance mode and SSE-KMS encryption
  • C.Configure an organization-wide CloudTrail Lake event data store with 7-year retention and attach an IAM permissions boundary onto the Log Archive root user
  • D.Enable per-account CloudTrail trails replicating to S3 Glacier Deep Archive with an S3 bucket policy containing an explicit `Deny` on `s3:DeleteObject` for `*`

Correct answer: A

An AWS Organizations CloudTrail trail automatically logs management/data events for all existing and future member accounts. Enabling CloudTrail log file validation writes signed SHA-256 digest files every hour so auditors can cryptographically prove no log was altered or deleted after delivery, while S3 Object Lock in Compliance mode enforces strict WORM retention that not even the AWS account root user can shorten or bypass during the 7-year window (Option A). Option D fails because a root user can remove a bucket policy, Option C fails because permissions boundaries do not apply to root users, and Option B fails because Governance mode can be bypassed by root or privileged users.

More AWS SAA practice topics

All AWS SAA topics & study guide →Timed AWS SAA mock exam →

Full AWS SAA Prep Course

Best Practice Bank

Tutorials Dojo AWS SAA-C03 Practice Exams by Tutorials Dojo (Jon Bonso)

Gold-standard scenario practice exams for SAA-C03 with architecture diagrams, AWS documentation links, and timed/review modes.

Affiliate link — we may earn a commission at no extra cost to you. DisclosureCompare all AWS SAA courses →