Course menuSAA-C03

Exams / SAA-C03 / Sample questions

SAA-C03 sample questions from the practice sets

10 questions taken from across the 5 paid practice sets, covering every domain of the exam guide. None of them are in the free exam. Try each one, then open the answer to see why every option is right or wrong.

Last verified against current AWS documentation ·How we write our questions

  1. Question 1 Design Secure Architectures From Practice set 1

    A media company keeps signed contracts in an Amazon S3 bucket in its main AWS account.

    About 40 engineering roles in the same account have identity-based policies that allow s3:* on all resources, and each team manages its own policies through a pipeline that the security team does not control.

    Legal now requires that only the ContractArchiver role can delete objects in this bucket, and the control must keep working even if a team later widens its own policies.

    Which solution meets these requirements?

    Choose one answer.

    1. A. Add a bucket policy statement that allows s3:DeleteObject only for the ContractArchiver role, leaving team policies as they are.
    2. B. Add a bucket policy statement that denies s3:DeleteObject unless aws:PrincipalArn equals the ContractArchiver role's ARN.
    3. C. Ask every team to drop s3:DeleteObject on this bucket from its policies, and check them each week with IAM Access Analyzer.
    4. D. Attach a service control policy to the account that denies s3:DeleteObject on all objects in the contracts bucket.
    Show the answer and explanation

    Answer: B

    • A. Wrong: Within one account, an action is allowed if either the identity-based policy or the bucket policy allows it. The engineering roles already have s3:* in their own policies, so an allow in the bucket policy takes nothing away from them. Only an explicit deny can override their existing allow. Learn more: Policy evaluation logic (opens in a new tab)
    • B. Right: Correct. An explicit deny in any applicable policy overrides every allow, so no team can delete objects whatever its own policies say. The condition exempts only the ContractArchiver role, and the bucket policy sits outside the teams' pipeline, so widening their policies later changes nothing. Learn more: AWS JSON policy elements: NotPrincipal (opens in a new tab)
    • C. Wrong: Removing the permission would work for today, but the teams control their own policies and could add it back at any time. Weekly checks only find the problem after the fact, so the control does not keep working on its own. A deny in the bucket policy enforces the rule regardless of team policies. Learn more: IAM Access Analyzer policy validation (opens in a new tab)
    • D. Wrong: An SCP does limit every principal in a member account, whatever its IAM policies allow. But this SCP also blocks the ContractArchiver role, which must still be able to delete objects, so it breaks the legal requirement. A bucket policy deny with an exception for that role fits better. Learn more: Service control policies (SCPs) (opens in a new tab)

    Explanation

    For principals in the same account, AWS allows an action when either the identity-based policy or the resource-based policy allows it, and an explicit deny in any policy overrides all allows. Because the teams already allow themselves s3:*, the only way to take delete rights away, and keep them away, is an explicit deny in the bucket policy that exempts the ContractArchiver role through the aws:PrincipalArn condition key. An SCP without an exception would also block that role, and asking teams to edit their own policies is not enforced.

    Study

  2. Question 2 Design Secure Architectures From Practice set 1

    A logistics company runs a 3 TB Amazon RDS for PostgreSQL DB instance that was created without storage encryption.

    An audit requires the database to be encrypted with a customer managed AWS KMS key within the next month. The order system that uses the database can be interrupted for no more than about a minute, and the company does not want to change the database endpoint that dozens of applications connect to.

    Which solution meets these requirements?

    Choose one answer.

    1. A. Modify the DB instance to turn on storage encryption with the customer managed key, applying it in the next maintenance window.
    2. B. Create a read replica encrypted with the customer managed key, let it catch up, then promote it and repoint the applications.
    3. C. Snapshot the instance, copy the snapshot with the customer managed key, and restore a new DB instance from the encrypted copy.
    4. D. Create a blue/green deployment with the customer managed key as the green target key, and switch over when it is in sync.
    Show the answer and explanation

    Answer: D

    Explanation

    An existing RDS DB instance cannot have encryption turned on in place, and an unencrypted instance cannot have an encrypted read replica. The snapshot-copy-restore route encrypts the data but needs a long outage and a new endpoint. A blue/green deployment with a target KMS key builds an encrypted green copy that stays in sync, and switchover, typically under a minute, moves the existing endpoints to it.

    Study

  3. Question 3 Design Secure Architectures From Practice set 2

    A defense contractor stores design files in Amazon S3.

    Its accreditation requires two independent layers of encryption for data at rest, an encryption key that the company controls through its own key policy, and an audit record each time that key is used. Developers must not add encryption code or key handling to the applications that upload the files.

    Which solution meets these requirements?

    Choose one answer.

    1. A. Set the bucket's default encryption to SSE-KMS with a customer managed key, and turn on S3 Bucket Keys to reduce AWS KMS requests.
    2. B. Set the bucket's default encryption to SSE-KMS with a customer managed key, and have each application encrypt files with the S3 Encryption Client first.
    3. C. Have each application upload files with SSE-C, sending an encryption key that it retrieves from AWS CloudHSM with every request.
    4. D. Set the bucket's default encryption to DSSE-KMS with a customer managed key, so that Amazon S3 applies both layers to every uploaded file.
    Show the answer and explanation

    Answer: D

    Explanation

    DSSE-KMS (dual-layer server-side encryption with AWS KMS keys) applies two independent layers of AES-256 encryption when objects are uploaded, which is meant for rules that require multi-layer encryption. With a customer managed key, the company writes the key policy, and AWS KMS API calls are logged in CloudTrail. Because S3 does the work, applications need no encryption code. S3 Bucket Keys are not supported with DSSE-KMS.

    Study

  4. Question 4 Design Resilient Architectures From Practice set 2

    A ticketing company's Amazon Aurora MySQL cluster has a db.r6g.4xlarge writer and three Aurora Replicas in other Availability Zones: one db.r6g.4xlarge that serves customer reads, and two db.r6g.large replicas for an internal reporting tool.

    When the reporting replicas were created they were given promotion tier 0, and the large replica has tier 1. During last week's failover, a db.r6g.large replica became the writer and checkout slowed badly.

    What should a solutions architect do so that the large replica is promoted next time?

    Choose one answer.

    1. A. Put an Amazon RDS Proxy in front of the cluster and point the checkout application at the proxy's endpoint instead of the cluster endpoint.
    2. B. Change the large replica's promotion tier to 0 and move the two reporting replicas to a lower-priority tier, such as tier 15.
    3. C. Create a custom endpoint that contains only the large replica, and point the checkout application's read traffic at that endpoint.
    4. D. Move the two reporting replicas into the writer's Availability Zone so that Aurora prefers the replica that is in another zone.
    Show the answer and explanation

    Answer: B

    Explanation

    Each Aurora Replica has a promotion priority from tier 0 (highest) to tier 15 (lowest). On failover, Aurora promotes the replica in the highest-priority tier; if several share it, it picks the largest, and if they are also the same size it picks one arbitrarily. Here the small replicas outrank the large one, so the fix is to reorder the tiers, which can be done at any time without triggering a failover.

    Study

  5. Question 5 Design Resilient Architectures From Practice set 1

    An online retailer is building an order platform.

    Order events come from its own services and from a SaaS help-desk partner that can deliver events straight into AWS accounts.

    A fraud-review service must receive only order events with a total above £1,000, and a loyalty service only events for gold-tier customers. The team does not want to write code that polls the partner or filters events.

    Which AWS service should act as the central event router?

    Choose one answer.

    1. A. Amazon EventBridge, with the partner as an event source and a rule for each consumer that matches on event content.
    2. B. Amazon SNS, with one standard topic and a subscription filter policy for each of the consuming services.
    3. C. Amazon SQS, with one queue per consumer and each service discarding any messages it does not need.
    4. D. Amazon Kinesis Data Streams, with each consumer reading every record and filtering out what it does not need.
    Show the answer and explanation

    Answer: A

    Explanation

    Amazon EventBridge is built for rule-based routing of events from AWS services, your own applications and SaaS partners. Partner events arrive through a partner event source without polling code, and rules with event patterns, such as numeric matching on an order total, send each consumer only the events it wants. SNS, SQS and Kinesis would all need custom code to bring in the partner's events or filter them.

    Study

  6. Question 6 Design Resilient Architectures From Practice set 1

    A company runs a Java web application on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer. The group uses ELB health checks, and it was created with the AWS CLI with a health check grace period of 30 seconds.

    A new release takes about 4 minutes to load its caches before it answers health checks, and since then new instances are terminated and replaced within a minute of launch, over and over.

    Instances whose application hangs later must still be replaced within about a minute.

    Which change meets these requirements with the LEAST operational overhead?

    Choose one answer.

    1. A. Increase the group's health check grace period to about 300 seconds, and keep the target group's health check settings.
    2. B. Switch the group to EC2 status checks only, so that instances are replaced only when the instance itself is impaired.
    3. C. Raise the target group's unhealthy threshold and interval so that a target must fail checks for 5 minutes before it is unhealthy.
    4. D. Add a launch lifecycle hook, and a script on each instance that completes the hook once the application answers locally.
    Show the answer and explanation

    Answer: A

    Explanation

    When a group uses ELB health checks, a new instance that fails them is replaced unless it is still within the health check grace period. Groups created with the CLI or an SDK default to 0 seconds, and this one uses 30, so instances that need 4 minutes to start are killed in a loop. Setting the grace period above the start-up time fixes this without slowing failure detection for instances already running, and needs less work than a lifecycle hook with a readiness script.

    Study

  7. Question 7 Design High-Performing Architectures From Practice set 3

    A publisher serves its website through Amazon CloudFront from a third-party content management system (CMS) that it cannot change.

    The CMS sends Cache-Control: max-age=0 on article pages, so CloudFront forwards almost every request and the CMS is overloaded. Articles change at most once an hour, and editors accept pages up to 10 minutes old.

    Pages under /account/* are personalized; the CMS marks them Cache-Control: private, and they must never be served from a shared cache.

    Which configuration meets these requirements?

    Choose one answer.

    1. A. Set the minimum TTL to 600 seconds in the default behavior's cache policy, and rely on the CMS's private header to keep /account/* pages uncached.
    2. B. Set the minimum TTL to 600 seconds in the default behavior's cache policy, and add an /account/* behavior that uses the CachingDisabled managed policy.
    3. C. Set the default TTL to 600 seconds in the default behavior's cache policy, and add an /account/* behavior that uses the CachingDisabled managed policy.
    4. D. Turn on Origin Shield for the CMS origin with the current cache policy, and add an /account/* behavior that uses the CachingDisabled managed policy.
    Show the answer and explanation

    Answer: B

    Explanation

    CloudFront combines the cache policy's TTLs with the origin's headers. The default TTL applies only when the origin sends no max-age; when max-age is lower than a non-zero minimum TTL, CloudFront caches for the minimum TTL. A minimum TTL above 0 also overrides private and no-store, so personalized paths need a separate cache behavior with caching disabled.

    Study

  8. Question 8 Design High-Performing Architectures From Practice set 3

    An online shop stores order lines in an Amazon DynamoDB table that has been in production for two years.

    The partition key is CustomerId, the sort key is OrderDate followed by a line number, and every item has a ProductId attribute.

    A new supplier portal must list the order lines for a given ProductId, newest first. It now uses a Scan with a filter expression, which reads the whole table and is slow and expensive. Results a second or so out of date are acceptable.

    Which solution has the LEAST operational overhead?

    Choose one answer.

    1. A. Add a local secondary index with ProductId as its sort key, and query it in descending order for each product.
    2. B. Add a global secondary index with ProductId as partition key and OrderDate as sort key, and query it newest first.
    3. C. Use DynamoDB Streams and an AWS Lambda function to copy each order line into a second table keyed by ProductId and OrderDate.
    4. D. Change the Scan to a parallel scan with several segments, and raise the table's read capacity to absorb the extra reads.
    Show the answer and explanation

    Answer: B

    • A. Wrong: Local secondary indexes keep the table's partition key, so queries would still be per customer, not per product. They also can only be created with the table, never added to an existing one. A global secondary index can have a new partition key and can be added at any time. Learn more: Improving data access with secondary indexes in DynamoDB (opens in a new tab)
    • B. Right: Correct. A global secondary index can use any attribute as its partition key and can be added to an existing table. Querying it for one ProductId reads only that product's items, and ScanIndexForward set to false returns them newest first. Its reads are eventually consistent, which the portal accepts. Learn more: Using Global Secondary Indexes in DynamoDB (opens in a new tab)
    • C. Wrong: This would give the right access pattern, but the team must build and run the copy pipeline, backfill two years of data and handle errors. A global secondary index does the same job and DynamoDB keeps it in sync automatically.
    • D. Wrong: A parallel scan finishes sooner, but it still reads every item in the table and pays for all of those reads, and the cost grows with the table. An index that can be queried by ProductId reads only the items needed.

    Explanation

    To support a new access pattern on a different key, add a global secondary index; it can be created on an existing table, has its own partition key and returns eventually consistent results. A Query on the index with ScanIndexForward set to false returns a product's lines newest first. Local secondary indexes share the table's partition key and must be defined at table creation, and scans always read the whole table.

    Study

  9. Question 9 Design Cost-Optimized Architectures From Practice set 4

    A telemetry platform stores 60 million log objects of about 20 KB each in one Amazon S3 bucket, roughly 1.2 TB in total.

    Logs are read rarely, but each read must return within milliseconds, and the data must stay in at least three Availability Zones. Requests are infrequent, so storage cost dominates the bill.

    Which storage class is MOST cost-effective for this data?

    Choose one answer.

    1. A. S3 Standard, which returns objects in milliseconds across at least three Availability Zones and bills each small object at its actual size.
    2. B. S3 Standard-IA, which has a lower per-GB price than Standard and still returns objects in milliseconds.
    3. C. S3 One Zone-IA, which stores objects in one Availability Zone and has the same 128 KB billing minimum as Standard-IA.
    4. D. S3 Glacier Instant Retrieval, which returns objects in milliseconds at a lower per-GB price than Standard.
    Show the answer and explanation

    Answer: A

    Explanation

    For many small objects, the minimum billable object size of the infrequent-access and instant-retrieval classes can outweigh their lower per-GB price. S3 Standard is therefore the lowest-cost class here while still meeting the latency and availability needs.

    Study

  10. Question 10 Design Cost-Optimized Architectures From Practice set 1

    A research company runs a nightly simulation on two large Amazon EC2 instances.

    One instance produces about 40 TB of intermediate data each month and streams it to the other over the VPC for processing. The instances are in different Availability Zones of the same Region, and the transfer between them is now the largest item on the bill.

    If an Availability Zone fails, the company is happy to rerun the job the next night.

    Which change will reduce this cost the MOST?

    Choose one answer.

    1. A. Launch both instances in the same Availability Zone, and send the data between their private IP addresses.
    2. B. Keep the current zones, and send the data through a transit gateway with an attachment in each zone.
    3. C. Move the receiving instance into a second VPC in its current zone, and connect the two VPCs with VPC peering.
    4. D. Keep the current zones, and put a Network Load Balancer in front of the receiving instance to carry the stream.
    Show the answer and explanation

    Answer: A

    Explanation

    Data transfer between Availability Zones in the same Region is charged per GB in each direction, while traffic within a single zone over private IP addresses is free. Because the job can be rerun after a zone failure, placing both instances in one zone removes the cost entirely. Transit gateways, peering across zones and load balancers either keep the cross-AZ charge or add processing charges on top.

    Study

Like these? There are 325 more.

The SAA-C03 practice sets: 5 sets, 325 questions in the same style, none of them in the free exam. One payment of$14.99, no subscription, with access for at least 12 months.

Questions about a question or your purchase? Email support@exampark.app and we'll sort it out.

Every exam starts with free questions. No account needed.