AWS SAA-C03 Free Quiz
No account or credit card needed — your score shows right here.An online retailer runs its order database on Amazon Aurora. Flash sales are announced with little notice, and order volume (INSERT and UPDATE statements) can jump sharply for an hour. Between sales, the database is lightly used for days. The company cannot predict peak size, cannot accept outages during a sale, and wants to minimize compute cost. Which design meets these requirements MOST cost-effectively?
Correct Answer
It's like paying a taxi meter only for the miles you ride, instead of renting a bus all week for one busy afternoon.
For unpredictable spikes, Aurora Serverless v2 scales compute within a set range and bills only for capacity used.
- Aurora Serverless v2 scales up for the sale peak and back down when the surge ends.
- You no longer provision for peak or average; the maximum is used only when needed.
- Scaling happens without disrupting open transactions, so no outage during a sale.
- Usage is measured per second, so low-activity days cost little.
- A
- The provisioned model suits cases where you can adjust capacity in advance; short-notice sales prevent that.
- Changing the instance class can cause brief outages, which are not acceptable here.
- C
- Sizing for peak means paying for unused capacity during long quiet periods.
- Overprovisioned clusters are more expensive than needed.
- D
- The writer handles all INSERT and UPDATE statements; readers process only read-only statements.
- The peak-sized provisioned writer still carries the write spike and is idle-but-billed between sales.
- Assuming adding Serverless v2 readers fixes cost, even though write (DML) load always lands on the writer.
- Each ACU is about 2 GiB of memory plus corresponding CPU and networking.
- Scaling happens in increments as small as 0.5 ACUs.
- An idle cluster consumes approximately n x minimum ACUs, where n is the number of writers and readers.
- Storage and compute are separate; scaling changes only compute capacity.
- Charges for Aurora Serverless capacity are measured in ACU-hours.
Answered
0/10
Correct
0
Score
0%
A company runs a web tier on two Amazon EC2 instances, one in AZ-1 and one in AZ-2, in the same AWS Region. The app uses Amazon RDS for MySQL with Multi-AZ enabled. The primary DB instance is in AZ-1 and the standby is in AZ-2. A monitoring instance in a peered VPC also runs in AZ-1 and polls the AZ-1 web server. The finance team asks which traffic flow adds a data transfer charge. Which flow should the solutions architect identify?
Correct Answer
Moving boxes between rooms in your own house is free, but every trip to the neighbor's house costs a fee. The DB's backup copy is moved for free; only outside visitors pay.
Traffic that crosses an Availability Zone boundary is typically charged; same-AZ traffic, inbound internet traffic and Multi-AZ replication are not.
- The AZ-2 web instance is a consumer outside the primary instance's Availability Zone.
- The source states data transfer charges apply to such consumers.
- This traffic crosses an AZ boundary, which typically incurs a charge.
- B
- There is no charge for inbound data transfer across all services in all Regions.
- C
- Data transfer over a VPC (Virtual Private Cloud) peering connection that stays within an Availability Zone is free.
- D
- Replication between the primary and standby instances does not incur additional data transfer charges.
- Assuming Multi-AZ replication across AZs is billed, when only consumers outside the primary's AZ incur charges.
- Data transfer within the same Availability Zone is free.
- VPC (Virtual Private Cloud) peering that crosses Availability Zones incurs a data transfer charge for ingress/egress traffic.
- Use resources from the local Availability Zone whenever possible.
- In the CUR, cross-AZ traffic appears as the Region-DataTransfer-Regional-Bytes usage type.
- For inter-Region transfers, the charge is on data transferred out of the source Region, not into the destination.
Answered
0/10
Correct
0
Score
0%
A company runs an internal web application on EC2 instances in an Auto Scaling group. Traffic rises sharply every weekday morning and drops overnight and on weekends. The pattern has been stable for months. New instances take a long time to initialize, so users see slow responses during each morning ramp-up. The group currently uses only a dynamic scaling policy. The operations team does not want to study load patterns or maintain capacity schedules by hand. Which approach best meets these requirements?
Correct Answer
Predictive scaling is like a coffee shop that learns the 8 AM rush from past weeks and has staff in place before the line forms. Dynamic scaling is calling staff in only after the line is out the door.
For regular traffic patterns with slow-starting instances, predictive scaling launches capacity ahead of forecasted load.
- Predictive scaling analyzes historical load to detect daily or weekly patterns.
- It launches capacity in advance of forecasted load, so slow-initializing instances are ready before users arrive.
- It removes the need to review load patterns and schedule capacity manually, which matches the team's constraint.
- A
- Dynamic scaling is reactive; it adds capacity only after load changes.
- Long initialization means users still hit slow responses during each ramp-up.
- B
- Scheduled scaling can match predictable load, but it requires reviewing load patterns and choosing the right capacity.
- The team explicitly wants to avoid that manual analysis and upkeep.
- C
- A one-time scheduled action scales only once; it does not recur.
- The problem repeats every weekday, so a single action leaves later mornings uncovered.
- Assuming "predictable load" always means scheduled scaling, ignoring that predictive scaling forecasts the pattern without manual schedule upkeep.
- Predictive scaling suits cyclical traffic, recurring on-and-off workloads, and slow-initializing applications.
- Predictive scaling can save money by helping avoid over-provisioning capacity.
- Scheduled actions can be one-time or recurring; recurring schedules use cron expressions.
- Recurring schedules default to UTC; location-based time zones adjust for Daylight Saving Time.
- Scheduled actions can be combined with scaling policies, but capacity must stay within the action's minimum and maximum.
Answered
0/10
Correct
0
Score
0%
An online learning platform stores results in a DynamoDB table named Enrollments. The partition key is StudentId and the sort key is CourseId. Each item also holds ExamScore and DisplayName. A new leaderboard page must show, for one course, the highest scores first, with StudentId, ExamScore, and DisplayName. Today the app runs a Scan, and it gets slower as the table grows. Which solution supports this new access pattern most efficiently?
Correct Answer
A GSI is like a second copy of a phone book sorted by city instead of surname. You only find what was printed in that copy, so print the columns you need.
A GSI reorganizes table data under a different key, so you can Query by attributes that are not in the table's primary key.
- A GSI keyed on CourseId groups all items for one course together, so a Query replaces the slow Scan.
- ExamScore as the sort key orders the results; ScanIndexForward=false returns the highest score first.
- INCLUDE projects DisplayName into the index, so the Query returns every field the page needs.
- A
- A Scan reads all of the data, then the FilterExpression only discards items after reading.
- Scans become slow and inefficient as more items are added.
- C
- GetItem and BatchGetItem can't be used on a global secondary index.
- Only Query and Scan can read from a GSI.
- D
- GSI queries cannot fetch attributes from the base table.
- With KEYS_ONLY, DisplayName is not in the index, so an extra base-table read would be needed.
- Assuming a GSI Query can pull non-projected attributes from the base table, or that GetItem-style calls work on an index.
- The base table's primary key attributes are always projected into a GSI.
- KEYS_ONLY gives the smallest index; ALL gives the largest and can double storage cost.
- A GSI only tracks items where its key attributes exist; items without ExamScore would not appear.
- GSIs are updated asynchronously and are eventually consistent with the base table.
- In provisioned mode, insufficient GSI write capacity throttles writes to the base table.
Answered
0/10
Correct
0
Score
0%
An Amazon S3 bucket invokes a Lambda function asynchronously for each uploaded object. One event causes the function to hit its timeout. The function has enough concurrency, so it is not throttled. No custom error handling settings, dead-letter queue, or destinations are configured. How does Lambda handle this failed event by default?
Correct Answer
It is like a courier who finds nobody home: they come back twice more, waiting a bit longer each time, then give up on the package.
For async invocations, a function error (including a timeout) gets two more attempts by default, at 1-minute then 2-minute waits.
- A timeout counts as a function error, because it is returned by the function's runtime.
- For function errors, Lambda by default runs the function two more times.
- The waits are one minute before the second attempt and two minutes before the third.
- B
- The 6-hour retry window with 1-second to 5-minute exponential backoff applies to throttling (429) and system (500-series) errors.
- The scenario rules out throttling, and a timeout is a function error.
- C
- The success response only confirms Lambda placed the event in its queue.
- Lambda manages that queue and retries on errors.
- D
- Lambda discards an event only after it expires or fails all processing attempts, not after the first one.
- No dead-letter queue is configured, so there is nowhere to capture the discarded event.
- Mixing up the 6-hour exponential retry rule for throttling/system errors with the two-retry rule for function errors like timeouts.
- Throttling (429) and system (500-series) errors are retried for up to 6 hours by default, with intervals growing from 1 second to 5 minutes.
- A function can receive the same event more than once because the queue is eventually consistent, so code must handle duplicates.
- When an event expires or fails all processing attempts, Lambda discards it.
- A dead-letter queue captures discarded events; an on-failure destination captures records of failed invocations such as timeouts.
- You can configure error handling to reduce retries or to discard unprocessed events more quickly.
Answered
0/10
Correct
0
Score
0%
A company runs an API on AWS Lambda. The functions connect to an Amazon RDS for MySQL Multi-AZ DB instance in a VPC. During traffic spikes, the functions open many new connections, which overloads the database. During failovers, the API also returns errors. A solutions architect must improve scalability and resilience with minimal code changes. Which solution meets these requirements?
Correct Answer
RDS (Relational Database Service) Proxy is like a hotel concierge with a fixed set of phone lines. Guests share the lines instead of each opening a new one, and if the main office moves, the concierge reroutes calls without hanging up.
RDS (Relational Database Service) Proxy pools and reuses database connections and preserves application connections during failover to a standby.
- The proxy pools and reuses connections, so Lambda bursts stop creating new database connections at a fast rate.
- On failover, the proxy connects to the standby while preserving application connections.
- The proxy sits in the same VPC (Virtual Private Cloud) as the database and targets the writer, as required.
- Most applications need no code changes; Lambda only switches to the proxy endpoint.
- A
- An RDS (Relational Database Service) Proxy can't be publicly accessible, even if the database is.
- The proxy must be in the same VPC (Virtual Private Cloud) as the database.
- C
- For RDS (Relational Database Service) instances in replication setups, a proxy can be associated only with the writer DB instance, not a read replica.
- D
- RDS (Relational Database Service) Proxy can't be used with self-managed MySQL databases on EC2 (Elastic Compute Cloud) instances.
- This also adds operational burden instead of reducing it.
- Assuming the proxy can target a read replica or be reached publicly like the database can; the proxy is writer-only and VPC (Virtual Private Cloud)-internal.
- RDS (Relational Database Service) Proxy queues or throttles connections it can't serve at once, and sheds load beyond your limits.
- The default proxy endpoint is provisioned across only two Availability Zones.
- Each proxy is associated with a single target DB instance, but multiple proxies can target the same instance.
- RDS Proxy bypasses DNS (Domain Name System) caches to reduce failover times by up to 66% for RDS and Aurora Multi-AZ databases.
- Lambda can use its IAM (Identity and Access Management) execution role to authenticate with RDS Proxy instead of storing credentials in code.
Answered
0/10
Correct
0
Score
0%
A company uses AWS Elastic Disaster Recovery to replicate its on-premises application servers to a staging area in us-east-1. A faulty software update corrupted data on the source servers two hours ago, and the corrupted changes have already replicated. The company must run the application on AWS quickly with clean data. It also wants to move back to its data center after the hardware there is repaired. Which approach meets these requirements?
Correct Answer
It is like a document's version history. You open the version from before the bad edit, work from it, then copy it back to the original folder later.
Elastic Disaster Recovery launches recovery instances within minutes from the latest state or an earlier point in time, and supports failback.
- The latest state contains the corrupted data, so an earlier point in time is needed.
- Elastic Disaster Recovery can launch recovery instances from a previous point in time.
- Recovery instances launch within minutes, which meets the speed requirement.
- After recovery, data can be replicated back to the primary site for failback.
- A
- Elastic Disaster Recovery supports recovery from a previous point in time, not only the latest state.
- The latest state here includes the corrupted data.
- B
- Elastic Disaster Recovery can initiate data replication back to the primary site.
- Keeping workloads on AWS is optional, not forced.
- D
- Recovery instances can launch on AWS within minutes.
- No full resynchronization is required before launching.
- Assuming recovery always uses the newest replicated data, which would restore the corruption along with it.
- Data replicates to a staging area subnet in your AWS account, in the Region you select.
- The staging area uses affordable storage and minimal compute to keep replication ongoing.
- You can run non-disruptive recovery and failback drills to maintain readiness.
- Elastic Disaster Recovery automatically converts servers to boot and run natively on AWS.
- For on-premises to AWS, AWS DRS enables RPOs of seconds and RTOs of minutes.
Answered
0/10
Correct
0
Score
0%
A company wants its developers to create IAM roles for their EC2 applications and attach permissions policies to those roles. Security requires that no role a developer creates can ever exceed a DynamoDB-only permissions boundary policy named AppBoundary, even if a developer attaches AdministratorAccess. Which approach meets this requirement?
Correct Answer
It is like letting staff issue building badges, but only on badge stock pre-locked to certain floors. The staff also cannot reprogram the stock or peel off the lock.
Force every delegated role to carry an admin-owned boundary, and stop delegates from editing or removing that boundary.
- The iam:PermissionsBoundary condition makes role creation and policy attachment succeed only with AppBoundary set.
- Effective permissions are the intersection of the boundary and the permissions policy, so AdministratorAccess is capped at AppBoundary.
- Denying edits to AppBoundary keeps developers from widening the boundary itself.
- A
- A boundary on the creator does not cap the roles they create.
- The IAM (Identity and Access Management) guide notes a delegate can create a principal that accesses resources the delegate cannot access.
- B
- CreatePolicyVersion on all policies includes AppBoundary, so developers could rewrite the boundary.
- The AWS examples deny CreatePolicyVersion on boundary policies and scope it to the developer's own policy prefix.
- C
- iam:DeleteRolePermissionsBoundary lets developers strip the boundary after creating the role.
- AWS says boundary policies should not include DeleteRolePermissionsBoundary, so this reopens escalation.
- Assuming a boundary on the delegating developer also limits the roles they create; only a boundary on each new role caps it.
- A permissions boundary limits maximum permissions but grants no permissions on its own.
- You can use an AWS managed policy or a customer managed policy as a permissions boundary.
- An explicit deny in either the identity-based policy or the boundary overrides an allow.
- Developers also need iam:PassRole, scoped to their roles, to pass those roles to EC2 (Elastic Compute Cloud).
- Changing or deleting permissions boundaries should be reserved for full administrators.
Answered
0/10
Correct
0
Score
0%
A company runs an internal API in a VPC in Account A. Other teams in separate AWS accounts must call it privately, with no traffic over the internet. The provider has deployed a Network Load Balancer in two Availability Zones in front of the API, and has created a VPC endpoint service that uses this load balancer. A team in Account B now needs to connect from its private subnets. What must the provider do so that Account B can connect?
Correct Answer
The provider builds a private door and puts guests on a list. Each guest builds their own hallway to that door, but the door only opens for names on the list.
The provider fronts the service with an NLB (Network Load Balancer) and grants permission to specific principals; the consumer creates the interface endpoint.
- An endpoint service only accepts connections from AWS principals the provider has granted permission to.
- The NLB (Network Load Balancer) and endpoint service already exist, so permission for Account B is the missing provider step.
- Account B then creates an interface VPC (Virtual Private Cloud) endpoint in its own selected subnets to reach the service.
- B
- The consumer, not the provider, creates the interface VPC (Virtual Private Cloud) endpoint.
- The endpoint connects subnets the consumer selects in its own VPC.
- C
- PrivateLink does not need an internet gateway or public IP address.
- Adding them conflicts with the no-internet requirement.
- D
- Cross-zone load balancing is an alternative to hosting in multiple Availability Zones.
- It affects availability and data transfer charges, not which accounts may connect.
- Assuming a working NLB (Network Load Balancer) and endpoint service are enough, forgetting the provider must grant permission to specific AWS principals.
- AWS recommends making the endpoint service available in at least two Availability Zones.
- The endpoint service is available only in the Availability Zones enabled for its Network Load Balancer.
- AWS creates an endpoint network interface in each subnet the consumer configures for the endpoint.
- If the provider associates a private DNS (Domain Name System) name, consumers can keep using the service's existing DNS name.
- Enabling cross-zone load balancing on a Network Load Balancer incurs EC2 (Elastic Compute Cloud) data transfer charges.
Answered
0/10
Correct
0
Score
0%
Account 111122223333 owns a symmetric customer managed key in us-east-1. Its key policy has a statement that allows the principal arn:aws:iam::444455556666:root to use kms:Encrypt, kms:Decrypt, kms:GenerateDataKey*, and kms:DescribeKey. An application role in account 444455556666 calls Decrypt in us-east-1 using the key ARN. The call fails with an access denied error. The role has no IAM policy that mentions this key, and no grants exist. What should a solutions architect do to let the role decrypt with the least change?
Correct Answer
The building owner adds your company to the guest list, but your own company must still hand you a badge. Without both, the door stays shut.
Cross-account KMS (Key Management Service) access needs the owner's key policy to allow it AND an IAM (Identity and Access Management) policy in the external account to delegate it.
- The key policy already allows account 444455556666, so it sets the valid range of permissions.
- The role still has no IAM (Identity and Access Management) policy, so nothing delegates that permission to it.
- An IAM policy attached in the external account, naming the key ARN (Amazon Resource Name) in Resource, completes the two-part requirement.
- A
- Naming the role in the key policy does not remove the need for IAM (Identity and Access Management) policies.
- Specified external roles still cannot use the key until IAM administrators in their account attach proper IAM policies.
- B
- An asterisk still lets external users act only when they have matching permissions in their own account.
- It also gives every identity in every AWS account permission, which the source warns against without conditions.
- D
- IAM (Identity and Access Management) policies for cross-account use are set in the external account.
- In IAM policies, the principal is the identity the policy is attached to, so a policy in 111122223333 cannot apply to a role in 444455556666.
- Assuming a key policy that names the external account is enough; neither the key policy nor the IAM (Identity and Access Management) policy alone is sufficient.
- Cross-account permission works only for cryptographic operations, CreateGrant, DescribeKey, GetKeyRotationStatus, GetPublicKey, ListGrants, RetireGrant, and RevokeGrant.
- Granting ScheduleKeyDeletion or ListKeys to another account has no effect.
- The IAM (Identity and Access Management) policy can delegate all or a subset of the actions in the key policy; extra actions are not effective.
- Key policies are Regional and control only a KMS (Key Management Service) key in the same Region.
- Cross-account KMS operations are logged in CloudTrail in both the caller's account and the key owner account.
Answered
0/10
Correct
0
Score
0%
You got of 10 correct.
Get your full breakdown by email
Per-question review, weak spots to study, and explanations.
The full AWS SAA-C03 question bank with complete explanations is part of the Exam Pass.