AWS Certified Solutions Architect – Associate (SAA-C03) Practice Quiz
Preparing for the SAA‑C03 exam? This course transforms a practice quiz into a comprehensive learning guide. Each section dives deep into the underlying AWS services, best‑practice patterns,…

A company wants to protect its S3 bucket from accidental deletion while allowing specific users to delete objects. Which feature should be enabled?
Which AWS service should be used to store database credentials and automatically rotate them for an EC2‑based application?
A workload requires high‑performance storage for video processing (500 GB files) with low latency. Which storage solution is most appropriate?
Which combination of actions will provide a cost‑effective DR solution for a MySQL database with a recovery point objective of 5 years?
An application must ingest up to 1 TB of data per day from many remote sites. Which service provides the most reliable transfer with minimal impact on the corporate network?
Which AWS service should be used to provide a private, high‑throughput connection between an EC2 instance in a private subnet and an S3 bucket without traversing the internet?
A company wants to enforce encryption for all objects uploaded to an S3 bucket. Which bucket policy condition is required?
Which solution provides the lowest latency for a global static website hosted in an S3 bucket?
A company needs to protect its API Gateway REST API from SQL injection and XSS attacks while also mitigating large DDoS attacks. Which combination of services should be used?
Which IAM policy statement correctly grants an EC2 instance permission to retrieve a secret from AWS Secrets Manager?
A workload requires a database that can automatically scale read capacity during unpredictable spikes while providing high availability. Which AWS service meets these requirements?
Which service should be used to provide a managed, highly available SFTP endpoint that stores files directly in an S3 data lake?
A company wants to ensure that all traffic to its web application is inspected for malicious content. Which architecture best meets this requirement with minimal operational overhead?
Which storage class should be used for objects that are frequently accessed for the first 30 days and then rarely accessed, while keeping the data for 4 years?
A company needs to provide a private, high‑throughput connection between two VPCs in different AWS accounts without a single point of failure. Which solution is appropriate?
Which AWS service should be used to automatically archive log files older than 30 days to S3 Glacier Deep Archive while keeping recent logs immediately accessible?
A developer needs to invoke a Lambda function from an API Gateway endpoint using IAM authentication. Which configuration should be used?
Which service should be used to provide a highly available, low‑latency, global DNS service for a multi‑region web application?
A company wants to reduce the cost of its EC2 instances that run a batch job for 48 hours once a month, without changing the instance type. Which approach is most cost‑effective?
AWS Certified Solutions Architect – Associate (SAA‑C03) Core Concepts Explained
Preparing for the SAA‑C03 exam? This course transforms a practice quiz into a comprehensive learning guide. Each section dives deep into the underlying AWS services, best‑practice patterns, and the reasoning behind the correct answers. By the end of the guide you’ll be able to explain why a particular design wins, how to implement it, and what alternatives to avoid.
1. Building a Resilient, Auto‑Scaling Job Processor with Amazon SQS
When a workload must process messages from an Amazon Simple Queue Service (SQS) FIFO queue, the most efficient architecture scales the compute fleet based on queue depth. The correct answer is to configure EC2 Auto Scaling to scale on the number of messages in the SQS queue. This approach provides:
- Automatic elasticity: As the queue grows, Auto Scaling launches additional EC2 instances; when the queue shrinks, instances are terminated.
- High resilience: Multiple instances spread across Availability Zones (AZs) protect against AZ‑level failures.
- Cost efficiency: You only pay for the compute capacity you actually need.
Implementation steps:
- Create an
Amazon CloudWatchmetric that tracksApproximateNumberOfMessagesVisiblefor the FIFO queue. - Define an Auto Scaling policy that uses this metric as a scaling trigger.
- Deploy your worker code on EC2 instances using an
Amazon Machine Image (AMI)that includes the SQS SDK.
Common pitfalls include using a fixed schedule (which cannot react to load spikes) or a single large instance (a single point of failure). For serverless alternatives, consider AWS Lambda with an SQS trigger, but remember Lambda has a concurrency limit that may not suit very high‑throughput workloads.
2. Protecting S3 Data from Accidental Deletion – Versioning & MFA Delete
To safeguard an S3 bucket while still allowing privileged users to delete objects, enable versioning and MFA Delete. Versioning stores every object version, so accidental deletions can be recovered. MFA Delete adds an extra layer of protection by requiring a multi‑factor authentication code for any DeleteObject or PutObjectVersion operation.
- Enable versioning via the S3 console or CLI:
aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled. - Activate MFA Delete (requires the bucket owner to have the
rootcredentials):aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled,MFADelete=Enabled --mfa "arn:aws:iam::123456789012:mfa/root-account-mfa-device 123456".
Other options—default encryption, bucket policies that deny DeleteObject, or S3 Object Lock—address different concerns (encryption at rest, compliance retention) but do not give the fine‑grained, reversible protection that versioning + MFA Delete provides.
3. Secure Credential Management with AWS Secrets Manager
Storing database credentials in plain text or an encrypted S3 bucket is insecure and burdensome. The recommended solution is AWS Secrets Manager with automatic rotation enabled. Secrets Manager offers:
- Centralized, encrypted storage of secrets.
- Built‑in rotation using Lambda functions, reducing the risk of credential leakage.
- Fine‑grained IAM policies to control which applications can retrieve secrets.
Typical workflow:
- Create a secret for the database credentials.
- Attach a rotation Lambda that updates the password in the RDS instance and the secret.
- Grant the EC2 instance’s IAM role permission to call
secretsmanager:GetSecretValue.
Using AWS Systems Manager Parameter Store is an alternative, but it lacks native rotation capabilities unless you build custom scripts.
4. High‑Performance Storage for Large Video Files – Amazon FSx for Lustre
Video processing workloads demand high throughput and low latency. The optimal choice is Amazon FSx for Lustre with persistent SSD storage. Lustre is a parallel file system designed for compute‑intensive workloads, and the SSD backing ensures rapid data access even for 500 GB files.
Key benefits:
- Scales to petabyte‑level capacity while delivering sub‑millisecond latency.
- Integrates directly with Amazon S3, allowing you to import/export data seamlessly.
- Supports multiple EC2 instances simultaneously, enabling distributed processing.
Why not other services?
- S3 Standard‑IA is optimized for infrequent access, not low latency.
- EFS provides a shared file system but is not tuned for the massive throughput required by video pipelines.
- EBS gp2 is limited to a single instance and cannot meet the parallel I/O demands.
5. Cost‑Effective Long‑Term Disaster Recovery – Glacier Deep Archive
For a MySQL database with a 5‑year Recovery Point Objective (RPO), the most economical approach is to create a manual snapshot and store it in S3 Glacier Deep Archive. This storage class costs as little as $0.00099 per GB‑month, making it ideal for archival data that is rarely accessed.
- Take a snapshot of the RDS instance:
aws rds create-db-snapshot --db-instance-identifier mydb --db-snapshot-identifier mydb‑snapshot‑2024. - Copy the snapshot to S3 Glacier Deep Archive using the
aws rds copy-db-snapshotcommand with the--target-regionand--storage-typeparameters. - Restore from the snapshot only when a recovery is needed, keeping ongoing costs minimal.
Running a read replica for five years would incur continuous compute and storage charges, while exporting to on‑premises tape adds operational overhead and risk.
6. Transferring Massive Daily Data – AWS DataSync over AWS Direct Connect
Ingesting up to 1 TB of data per day from remote sites requires a reliable, high‑throughput channel that does not saturate the corporate network. The best practice is to use AWS DataSync over AWS Direct Connect. Direct Connect provides a dedicated, private network link that bypasses the public internet, delivering predictable bandwidth and lower latency.
- Set up a Direct Connect connection (e.g., 10 Gbps) between your on‑premises data center and an AWS Direct Connect location.
- Configure a DataSync task that uses the Direct Connect virtual interface as the network path.
- Monitor transfer performance via CloudWatch metrics such as
BytesTransferredandThroughput.
Alternative methods—Transfer Family over SFTP, Snowball Edge, or DataSync over the public internet—either involve manual shipping, expose data to internet congestion, or lack the dedicated bandwidth needed for a 1 TB daily load.
7. Private High‑Throughput Access to S3 – VPC Gateway Endpoint
When an EC2 instance in a private subnet needs to communicate with Amazon S3 without traversing the internet, you should create a VPC gateway endpoint for S3. A gateway endpoint adds a route in the VPC route table that directs S3 traffic to the AWS network backbone.
- Navigate to the VPC console, select “Endpoints,” and create a gateway endpoint for the
com.amazonaws..s3service. - Update the subnet’s route table to point S3 traffic (prefix list ID) to the endpoint.
- Apply appropriate IAM policies to restrict which resources can use the endpoint.
Why not an interface endpoint? Interface endpoints are powered by Elastic Network Interfaces (ENIs) and are used for services like DynamoDB or API Gateway, but S3 requires a gateway endpoint for optimal performance and cost.
8. Enforcing Server‑Side Encryption on S3 Uploads
To guarantee that every object uploaded to an S3 bucket is encrypted at rest, the bucket policy must require the x-amz-server-side-encryption header. This condition forces the uploader to specify an encryption method (e.g., SSE‑S3 or SSE‑KMS) in the request.
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "RequireSSE",
"Effect": "Deny",
"Principal": "*",
"Action": "s3:PutObject",
"Resource": "arn:aws:s3:::my‑bucket/*",
"Condition": {
"StringNotEquals": {
"s3:x-amz-server-side-encryption": "AES256"
}
}
}]
}
This policy works like a security guard that only lets you in if you wear a badge (the SSE header). It does not rely on SecureTransport (which only enforces HTTPS) or ACL settings (which control access, not encryption).
9. Summary of Key Takeaways
- Use Auto Scaling tied to SQS metrics for resilient, elastic processing.
- Enable versioning + MFA Delete to protect S3 objects while permitting controlled deletions.
- AWS Secrets Manager provides automated rotation for database credentials.
- Amazon FSx for Lustre with SSD storage is the go‑to solution for high‑throughput video workloads.
- Store long‑term backups in S3 Glacier Deep Archive to meet multi‑year RPOs cost‑effectively.
- Combine DataSync with Direct Connect for large, daily data transfers without impacting corporate bandwidth.
- VPC gateway endpoints give private, high‑throughput S3 access from private subnets.
- Enforce server‑side encryption via the
x-amz-server-side-encryptionheader in bucket policies.
10. Frequently Asked Questions (FAQ)
What is the difference between an interface endpoint and a gateway endpoint?
Interface endpoints use ENIs and are suited for services that require a private IP address (e.g., DynamoDB, API Gateway). Gateway endpoints are route‑table based and are specifically designed for S3 and DynamoDB, offering lower cost and higher throughput for large data transfers.
Can I combine S3 versioning with Object Lock?
Yes. Versioning is a prerequisite for Object Lock, which adds a compliance or governance retention period on top of versioning. However, Object Lock is intended for regulatory compliance, while versioning + MFA Delete is a flexible protection mechanism for accidental deletions.
How often should Secrets Manager rotate credentials?
The rotation interval is configurable. A common practice is every 30 days, but you can set shorter intervals for highly sensitive workloads or longer intervals if the downstream application cannot handle frequent changes.
Is Direct Connect always cheaper than using the public internet?
Direct Connect incurs a fixed port‑hour cost and data transfer fees, but for large, predictable volumes (like 1 TB/day) it often reduces total cost of ownership by avoiding variable internet egress charges and providing consistent performance.
Next Steps for Exam Preparation
To solidify your knowledge, try the following activities:
- Deploy a sample Auto Scaling group that reacts to an SQS queue metric in a sandbox account.
- Enable versioning and MFA Delete on a test bucket, then practice restoring a deleted object.
- Create a Secrets Manager secret, attach a rotation Lambda, and retrieve the secret from an EC2 instance using the AWS SDK.
- Launch an FSx for Lustre file system, mount it on multiple EC2 instances, and run a simple video transcoding script.
- Take an RDS snapshot, copy it to Glacier Deep Archive, and calculate the monthly storage cost.
- Set up a Direct Connect connection (or a simulated private link using a VPN) and run a DataSync task to transfer a large dataset.
- Configure a VPC gateway endpoint for S3 and verify that traffic never hits the internet gateway.
- Write a bucket policy that enforces the
x-amz-server-side-encryptionheader and test it with both encrypted and unencrypted PUT requests.
Hands‑on practice combined with the conceptual explanations above will give you the confidence to ace the SAA‑C03 exam and apply these patterns in real‑world architectures.
