Brainbotox · Lessons · Exams

AWS Solutions Architect Associate (SAA-C03) Practice Exam 1: 65 scenario questions

by lazizanie · Networks & cloud · AWS Solutions Architect Associate · English

A full SAA-C03 mock exam: 65 scenario questions in the style of the real certification, covering secure, resilient, high-performing and cost-optimized architectures, with explained answers linked to the lesson chapters.

Take this exam on Brainbotox, with marking →

65 questions. The model answers are folded under each one.

Question 1

Q1. A company uses AWS Organizations with 40 member accounts. The security team must make sure that nobody in any member account, including the root user, can stop or delete CloudTrail trails. Which solution has the LEAST operational overhead?

  1. Attach an IAM policy that denies cloudtrail:StopLogging and cloudtrail:DeleteTrail to every user and role in each account
  2. Attach a Service Control Policy that denies cloudtrail:StopLogging and cloudtrail:DeleteTrail to the organization root
  3. Create an AWS Config rule in each account that re-enables CloudTrail when it is stopped
  4. Create an EventBridge rule and a Lambda function in each account that restart logging
Model answer

B: an SCP applies to every principal in member accounts, including their root users, from one place.

A must be repeated everywhere and can't restrict root. C and D react after the fact instead of preventing.

Revise: Chapter 25, Advanced IAM

Question 2

Q2. An application on EC2 must read objects from an S3 bucket. The security policy forbids storing long-term credentials on instances. What should a solutions architect do?

  1. Put an access key and secret key in the EC2 user data
  2. Attach an IAM role with S3 read permissions to the instance through an instance profile
  3. Make the bucket public and restrict it with a bucket policy on the instance's public IP
  4. Store access keys in SSM Parameter Store and read them at boot
Model answer

B: an IAM role gives the instance temporary, automatically rotated credentials.

A and D still use long-term keys. C exposes the bucket.

Revise: Chapter 1, IAM

Question 3

Q3. A static website is stored in a private S3 bucket and served through CloudFront. Users must not be able to bypass CloudFront and read objects directly from S3. What should be done?

  1. Configure Origin Access Control on the distribution and a bucket policy that only allows the CloudFront service principal for that distribution
  2. Enable S3 Transfer Acceleration
  3. Make the bucket public and enable CloudFront geo restriction
  4. Enable S3 versioning and MFA Delete
Model answer

A: OAC signs CloudFront's requests, and the bucket policy only allows that distribution.

Geo restriction does nothing for direct S3 access; B and D are unrelated.

Revise: Chapter 15, CloudFront

Question 4

Q4. An application connects to an Amazon RDS for MySQL database. The database password must be rotated automatically every 30 days with as little custom code as possible. What should be used?

  1. SSM Parameter Store SecureString with a scheduled Lambda function
  2. AWS Secrets Manager with automatic rotation enabled
  3. AWS KMS automatic key rotation
  4. An encrypted file in S3 updated by a cron job
Model answer

B: Secrets Manager has native rotation for RDS.

Parameter Store has no native rotation. KMS rotation rotates encryption keys, not database passwords.

Revise: Chapter 26, Encryption and security

Question 5

Q5. A web application behind an Application Load Balancer receives SQL injection attempts and floods of requests from a small number of IP addresses. Which TWO actions protect the application? (Choose TWO.)

  1. Associate an AWS WAF web ACL with a managed SQL injection rule group with the ALB
  2. Add an AWS WAF rate-based rule to the same web ACL
  3. Rely on AWS Shield Standard
  4. Enable Amazon GuardDuty
  5. Enable VPC Flow Logs
Model answer

A and B: WAF filters layer 7 attacks such as SQL injection, and rate-based rules block IPs that send too many requests.

Shield Standard covers layer 3/4 only. GuardDuty and Flow Logs detect, they don't block.

Revise: Chapter 26, WAF and Shield

Question 6

Q6. On-premises servers connected to a VPC through AWS Direct Connect must send messages to Amazon SQS without using the public internet. What should be used?

  1. A gateway VPC endpoint for SQS
  2. An interface VPC endpoint (AWS PrivateLink) for SQS
  3. A NAT Gateway
  4. An Internet Gateway with a restrictive security group
Model answer

B: interface endpoints create private IPs in the VPC that on-prem networks can reach over DX or VPN.

Gateway endpoints exist only for S3 and DynamoDB and can't be reached from on-prem. C and D use the internet.

Revise: Chapter 27, VPC endpoints

Question 7

Q7. A compliance team needs any unencrypted EBS volume in the account to be detected and reported automatically, with a history of changes. Which service fits?

  1. AWS Config with the encrypted-volumes managed rule
  2. AWS CloudTrail Insights
  3. Amazon Inspector
  4. Amazon Macie
Model answer

A: Config records resource configuration over time and evaluates compliance rules. To prevent new unencrypted volumes, also turn on EBS encryption by default.

CloudTrail records API calls, Inspector scans vulnerabilities, Macie finds PII in S3.

Revise: Chapter 24, Monitoring and audit

Question 8

Q8. An auditor wants to know which IAM user deleted a specific object from an S3 bucket. What must have been enabled beforehand?

  1. CloudTrail management events
  2. CloudTrail data events for S3
  3. VPC Flow Logs
  4. AWS Config recording
Model answer

B: DeleteObject is an object-level call, logged only as a data event, which is off by default.

Management events cover bucket-level operations like CreateBucket. S3 server access logs would also have worked.

Revise: Chapter 24, CloudTrail

Question 9

Q9. The security team wants to detect EC2 instances communicating with known cryptocurrency mining hosts, without installing any agent. Which service should be enabled?

  1. Amazon GuardDuty
  2. Amazon Inspector
  3. Amazon Macie
  4. AWS Trusted Advisor
Model answer

A: GuardDuty analyses CloudTrail, VPC Flow Logs and DNS logs with ML and has crypto mining findings.

Revise: Chapter 26, GuardDuty

Question 10

Q10. Users of a mobile app sign in and must upload photos directly to their own prefix in an S3 bucket. No long-term credentials may be embedded in the app. What should be used?

  1. Amazon Cognito user pool for sign-in and an identity pool that issues temporary credentials, with an IAM policy restricting each user to their own prefix
  2. One IAM user per app user
  3. A single access key embedded in the app
  4. API Gateway API keys
Model answer

A: identity pools exchange the login for temporary AWS credentials; a policy variable on the identity ID limits each user to their prefix.

Revise: Chapter 21, Cognito

Question 11

Q11. Employees log in with the company's on-premises Microsoft Active Directory. They need single sign-on to 15 AWS accounts without copying users into AWS. Which solution is best?

  1. IAM Identity Center connected to the on-prem AD through AD Connector
  2. Create IAM users in every account
  3. Deploy Simple AD in AWS
  4. Use Amazon Cognito user pools
Model answer

A: AD Connector proxies authentication to on-prem AD; Identity Center gives SSO to all accounts.

Simple AD can't connect to on-prem AD. Cognito is for app users, not workforce access.

Revise: Chapter 25, Identity Center

Question 12

Q12. Financial records in S3 must be kept for 7 years and nobody, not even the root user, may delete or overwrite them during that time. What should be configured?

  1. S3 Object Lock in compliance mode with a 7 year retention
  2. S3 Object Lock in governance mode
  3. Versioning with MFA Delete
  4. A lifecycle rule to Glacier Deep Archive
Model answer

A: compliance mode can't be bypassed or shortened, even by root.

Governance mode can be bypassed with special permissions.

Revise: Chapter 14, S3 security

Question 13

Q13. An EBS snapshot encrypted with the default AWS managed key (aws/ebs) must be shared with another AWS account. What should be done?

  1. Share the snapshot directly with the other account
  2. Copy the snapshot re-encrypted with a customer managed KMS key, allow the other account in that key's policy, then share the copy
  3. Make the snapshot public
  4. Disable encryption on the snapshot, then share it
Model answer

B: snapshots encrypted with an AWS managed key can't be shared, because its key policy can't be changed. A customer managed key can be shared.

Revise: Chapter 26, KMS

Question 14

Q14. A company stores millions of files in hundreds of S3 buckets and must find which ones contain personal data such as passport numbers. Which service?

  1. Amazon Macie
  2. Amazon GuardDuty
  3. AWS Config
  4. Amazon Athena
Model answer

A: Macie uses ML and pattern matching to discover sensitive data in S3.

Revise: Chapter 26, Macie

Question 15

Q15. A three-tier application has web, application and MySQL database tiers in separate subnets. The database must only accept connections from the application tier. What is the BEST way?

  1. Database security group inbound rule on port 3306 with the application tier security group as the source
  2. Database security group inbound rule on port 3306 from 0.0.0.0/0
  3. Database security group inbound rule on port 3306 from the VPC CIDR
  4. A NACL allowing all traffic in the database subnet
Model answer

A: referencing the app tier security group allows exactly those instances, even as they scale.

Revise: Chapter 2, Security groups

Question 16

Q16. Logs show that a range of malicious IP addresses keeps probing instances in a public subnet. The team wants to block that range for the whole subnet. What should be used?

  1. A security group deny rule
  2. A network ACL deny rule on the subnet
  3. A route table entry to a blackhole
  4. An IAM policy with aws:SourceIp
Model answer

B: NACLs support explicit deny at subnet level. Security groups only have allow rules.

Revise: Chapter 27, NACLs

Question 17

Q17. A company needs an HTTPS certificate on its Application Load Balancer that renews automatically at no cost. What should be used?

  1. A public certificate from AWS Certificate Manager with DNS validation
  2. A certificate bought from a third party and imported into ACM
  3. A self-signed certificate installed on each EC2 instance
  4. An AWS KMS asymmetric key
Model answer

A: ACM public certificates are free and auto-renew when DNS validated.

Imported certificates don't renew automatically.

Revise: Chapter 26, ACM

Question 18

Q18. A company needs a dedicated, consistent 10 Gbps connection between its data centre and AWS, and all traffic must be encrypted in transit. What should be implemented?

  1. AWS Direct Connect with an IPsec Site-to-Site VPN running over it
  2. A Site-to-Site VPN over the internet only
  3. AWS Direct Connect alone
  4. VPC peering
Model answer

A: Direct Connect gives consistent bandwidth but is not encrypted; a VPN over DX adds IPsec.

Revise: Chapter 28, Direct Connect

Question 19

Q19. Developers must be able to create IAM roles for their Lambda functions, but must never be able to create a role with more permissions than a defined set. What should be used?

  1. IAM permission boundaries required on every role they create
  2. An SCP that denies iam:CreateRole
  3. Give the developers AdministratorAccess and audit with CloudTrail
  4. Put the developers in an IAM group
Model answer

A: a permission boundary caps the maximum permissions a role can ever have, so developers can't escalate.

Revise: Chapter 25, Permission boundaries

Question 20

Q20. Administrators need shell access to EC2 instances in private subnets. Security requires no open inbound ports, no SSH keys, no bastion host, and a log of every session. What should be used?

  1. AWS Systems Manager Session Manager
  2. A bastion host with key rotation
  3. EC2 Instance Connect with port 22 open
  4. A Site-to-Site VPN
Model answer

A: Session Manager uses the SSM agent and an IAM role, no port 22, and logs sessions to S3 or CloudWatch.

Revise: Chapter 30, Systems Manager

Question 21

Q21. An S3 bucket must be readable by every account in the company's AWS Organization, including accounts added in the future, and by nobody else. Which bucket policy condition achieves this?

  1. aws:PrincipalOrgID
  2. aws:SourceIp
  3. aws:RequestedRegion
  4. aws:SecureTransport
Model answer

A: aws:PrincipalOrgID matches any principal in the organization, so new accounts are covered automatically.

Revise: Chapter 25, IAM conditions

Question 22

Q22. A Lambda function must query an RDS database in a private subnet and also call a public third-party API on the internet. How should it be configured?

  1. Attach the function to private subnets of the VPC and route their internet traffic through a NAT Gateway in a public subnet
  2. Attach the function to a public subnet and give it an Elastic IP
  3. Keep the function outside the VPC and make the database public
  4. Attach the function to private subnets with a route to the Internet Gateway
Model answer

A: a VPC Lambda has no public IP, so it reaches the internet through a NAT Gateway.

Lambda ENIs never get public IPs, so a public subnet doesn't help.

Revise: Chapter 20, Lambda in a VPC

Question 23

Q23. A web application runs on EC2 instances behind an Application Load Balancer. It must keep running if an entire Availability Zone fails, with the least operational effort. What should be done?

  1. Run the instances in an Auto Scaling group spread across at least two AZs, using ELB health checks
  2. Run one large instance with an Elastic IP
  3. Put all instances in a cluster placement group
  4. Take EBS snapshots every hour
Model answer

A: a multi-AZ ASG behind an ALB replaces unhealthy instances and keeps capacity in the surviving AZ.

A cluster placement group puts everything in one AZ, the opposite of what's needed.

Revise: Chapter 6, Auto Scaling Groups

Question 24

Q24. An Amazon RDS for MySQL database must fail over automatically, with no data loss, if its Availability Zone becomes unavailable. What should be enabled?

  1. A read replica in another AZ
  2. RDS Multi-AZ deployment
  3. Automated backups with a 35 day retention
  4. RDS Proxy
Model answer

B: Multi-AZ keeps a synchronous standby and fails over automatically.

Read replicas are asynchronous and need manual promotion; they're for scaling reads.

Revise: Chapter 7, RDS and Aurora

Question 25

Q25. During sales, the web tier of an order system receives far more orders than the processing servers can handle, and some orders are lost. What is the MOST resilient design?

  1. Have the web tier send orders to an SQS queue, and scale the processing Auto Scaling group on the queue depth
  2. Use a larger instance type for the processing servers
  3. Write orders directly to S3 and process them nightly
  4. Add a second ALB
Model answer

A: SQS buffers and decouples the tiers: no order is lost, and workers scale on ApproximateNumberOfMessages.

Revise: Chapter 18, SQS

Question 26

Q26. Payment events must be processed exactly once and in order for each customer, while events of different customers are processed in parallel. What should be used?

  1. An SQS FIFO queue with the customer ID as the message group ID
  2. An SQS standard queue with long polling
  3. An SNS standard topic
  4. An SQS standard queue with a dead-letter queue
Model answer

A: FIFO gives ordering and deduplication; each message group is ordered, different groups run in parallel.

Revise: Chapter 18, FIFO queues

Question 27

Q27. When an order is placed, the inventory, billing and shipping services must each receive the event and process it independently, retrying on their own if they fail. What is the best design?

  1. Publish to an SNS topic subscribed by three SQS queues, one per service
  2. Send to one SQS queue read by all three services
  3. Have the order service call each service synchronously
  4. Write the order to DynamoDB and have each service scan the table
Model answer

A: the SNS + SQS fan-out gives each service its own durable copy of the message.

With one shared queue, each message is consumed by only one service.

Revise: Chapter 18, SNS fan-out

Question 28

Q28. A company needs a disaster recovery plan for an internal app in a second region. The business accepts an RPO of 24 hours and an RTO of 24 hours, and wants the lowest possible cost. Which strategy?

  1. Backup and restore, with snapshots copied to the second region
  2. Pilot light
  3. Warm standby
  4. Multi-site active-active
Model answer

A: with hours of tolerance, backup and restore is the cheapest strategy.

Revise: Chapter 29, DR strategies

Question 29

Q29. For a critical application, the database must be continuously replicated to a second region. The application servers can be started only when a disaster happens, to keep costs low. RTO must be tens of minutes. Which strategy?

  1. Backup and restore
  2. Pilot light
  3. Warm standby
  4. Multi-site active-active
Model answer

B: pilot light keeps only the critical core (the database) running and starts the rest on demand.

Warm standby keeps the whole stack running at a small size.

Revise: Chapter 29, DR strategies

Question 30

Q30. A global application uses a relational database. Users in another region need low latency reads, and that region must be promotable to primary in under a minute if the main region fails. What should be used?

  1. Amazon Aurora Global Database
  2. RDS Multi-AZ
  3. RDS cross-region automated backups
  4. DynamoDB global tables
Model answer

A: Aurora Global Database replicates with under 1 second lag and promotes a secondary region in under a minute.

DynamoDB is NoSQL, not relational.

Revise: Chapter 7, Aurora

Question 31

Q31. A gaming app stores player profiles in DynamoDB. Players in the US and Europe must read and write with low latency in their own region, and the data must stay in sync. What should be used?

  1. DynamoDB global tables
  2. DynamoDB Accelerator (DAX)
  3. DynamoDB Streams to a Lambda in each region
  4. A read replica of the table
Model answer

A: global tables are multi-region, active-active.

Revise: Chapter 20, DynamoDB

Question 32

Q32. A stateless web app runs in two regions. Traffic must go to the primary region, and only switch to the secondary region when the primary is unhealthy. Which Route 53 configuration?

  1. Failover routing policy with health checks on the primary
  2. Weighted routing 50/50
  3. Latency-based routing
  4. Geolocation routing
Model answer

A: failover routing sends traffic to the secondary only when the primary's health check fails.

Revise: Chapter 9, Route 53

Question 33

Q33. A company relies on a single AWS Direct Connect connection for hybrid traffic. It needs a backup connection in case the DX fails, at the lowest cost. What should be added?

  1. An AWS Site-to-Site VPN connection
  2. A second Direct Connect connection at another location
  3. VPC peering
  4. AWS Global Accelerator
Model answer

A: a Site-to-Site VPN over the internet is the cheap backup. A second DX gives more resilience but costs much more.

Revise: Chapter 28, Direct Connect resiliency

Question 34

Q34. A company wants to centrally manage backups of EBS volumes, RDS databases, DynamoDB tables and EFS file systems, copy them to another region, and make sure no one can delete them, even the root user. What should be used?

  1. AWS Backup with cross-region copy and Backup Vault Lock
  2. EBS snapshots with a Lambda script
  3. S3 Cross-Region Replication
  4. AWS DataSync
Model answer

A: AWS Backup centralises plans across services; Vault Lock makes backups WORM.

Revise: Chapter 29, AWS Backup

Question 35

Q35. A company must migrate an on-premises Oracle database to Amazon Aurora PostgreSQL. The source database must stay in use during the migration, with minimal downtime at cut-over. What should be used?

  1. AWS Schema Conversion Tool to convert the schema, then AWS DMS with ongoing replication (CDC)
  2. AWS DMS alone with a full load
  3. Export to S3, then import into Aurora
  4. AWS DataSync
Model answer

A: different engines need SCT for the schema; DMS with CDC keeps data in sync until cut-over.

Revise: Chapter 29, DMS and SCT

Question 36

Q36. A company wants to rehost 200 on-premises VMware virtual machines on AWS as they are, with minimal downtime. Which service should be used?

  1. AWS Application Migration Service (MGN)
  2. AWS Application Discovery Service
  3. AWS DMS
  4. AWS Snowball
Model answer

A: MGN does lift and shift with continuous replication and a short cut-over.

Application Discovery Service only plans the migration; it doesn't move servers.

Revise: Chapter 29, Migrating servers

Question 37

Q37. A legacy application runs on a single EC2 instance and can't be put behind a load balancer. If the underlying hardware fails, the instance must come back automatically with the same private IP, Elastic IP and metadata. What should be configured?

  1. A CloudWatch alarm on the system status check with the EC2 recover action
  2. An Auto Scaling group with min 1 and max 1
  3. EC2 Hibernate
  4. A Route 53 health check
Model answer

A: EC2 recovery moves the instance to new hardware and keeps its IPs and metadata. An ASG would launch a new instance with a new private IP.

Revise: Chapter 24, CloudWatch alarms

Question 38

Q38. A VPC has private subnets in two AZs, but only one NAT Gateway in AZ-a. When AZ-a had an outage, instances in AZ-b lost internet access. How should this be fixed?

  1. Create a NAT Gateway in each AZ and point each private subnet's route table to the NAT Gateway in its own AZ
  2. Replace the NAT Gateway with a larger one
  3. Add an Internet Gateway to each private subnet
  4. Attach two Elastic IPs to the NAT Gateway
Model answer

A: a NAT Gateway is highly available only within its AZ; one per AZ removes the dependency.

Revise: Chapter 27, NAT

Question 39

Q39. A loan approval process calls several Lambda functions in sequence, must retry failed steps, and must wait for a manager's approval before the final step. Which service orchestrates this with the least code?

  1. AWS Step Functions
  2. Amazon SQS
  3. Amazon EventBridge
  4. Lambda functions calling each other directly
Model answer

A: Step Functions handles sequences, retries, error handling and human approval steps.

Revise: Chapter 21, Step Functions

Question 40

Q40. A Lambda function is invoked asynchronously by S3 events. Some invocations fail after all retries and the events are lost. How can the failed events be kept for later analysis?

  1. Configure an on-failure destination or dead-letter queue (SQS) on the function
  2. Increase the function timeout to 15 minutes
  3. Enable provisioned concurrency
  4. Enable S3 versioning
Model answer

A: async invocations retry, then send failed events to a DLQ or on-failure destination.

Revise: Chapter 20, Lambda

Question 41

Q41. Clickstream data must be ingested in real time, kept for 7 days, and read independently by several applications that may need to replay it. What should be used?

  1. Amazon Kinesis Data Streams
  2. Amazon SQS standard queue
  3. Amazon Data Firehose
  4. Amazon SNS
Model answer

A: Kinesis Data Streams stores records and supports replay by multiple consumers.

SQS deletes messages once processed; Firehose has no storage.

Revise: Chapter 18, Kinesis

Question 42

Q42. Linux EC2 instances in an Auto Scaling group across three AZs need a shared file system that grows automatically. Which storage should be used?

  1. Amazon EFS
  2. Amazon EBS with Multi-Attach
  3. EC2 instance store
  4. Amazon S3 mounted as a drive
Model answer

A: EFS is a Multi-AZ NFS file system for Linux that scales automatically.

EBS Multi-Attach works only within one AZ.

Revise: Chapter 4, EFS

Question 43

Q43. Which TWO actions make a web tier highly available? (Choose TWO.)

  1. Use an Auto Scaling group across multiple AZs
  2. Put an Application Load Balancer in front of the instances
  3. Use one large instance with an Elastic IP
  4. Use a cluster placement group
  5. Use instance store for application data
Model answer

A and B: multiple AZs plus a load balancer remove single points of failure.

Revise: Chapter 5, Elastic Load Balancing

Question 44

Q44. A data warehouse runs on Amazon Redshift. The company needs to be able to restore it in another region if the main region fails. What should be configured?

  1. Automatic cross-region snapshot copy for the Redshift cluster
  2. Redshift Spectrum
  3. A read replica in the other region
  4. Multi-AZ RDS
Model answer

A: Redshift can copy snapshots to another region automatically.

Revise: Chapter 22, Redshift

Question 45

Q45. An RDS for PostgreSQL database slows down every afternoon when analysts run heavy reporting queries, hurting the production application. What is the MOST effective fix with minimal changes?

  1. Enable Multi-AZ and point analysts at the standby
  2. Increase the backup retention period
  3. Create a read replica and point the reporting tool at it
  4. Move the database to DynamoDB
Model answer

C: a read replica takes the read-only reporting load off the primary.

The Multi-AZ standby can't serve reads.

Revise: Chapter 7, RDS read replicas

Question 46

Q46. An application repeatedly runs the same expensive SQL queries against Aurora. The team wants sub-millisecond responses for those results and less load on the database. What should be added?

  1. Aurora Auto Scaling
  2. A larger Aurora instance
  3. RDS Proxy
  4. Amazon ElastiCache in front of the database
Model answer

D: ElastiCache caches query results in memory, so repeated reads skip the database.

RDS Proxy pools connections; it doesn't cache results.

Revise: Chapter 8, ElastiCache

Question 47

Q47. A DynamoDB table serving product details receives millions of reads per second for the same items. The app needs microsecond read latency without changing its data access code much. What should be used?

  1. ElastiCache for Memcached
  2. DynamoDB global tables
  3. DynamoDB Accelerator (DAX)
  4. A DynamoDB read replica
Model answer

C: DAX is an in-memory cache compatible with the DynamoDB API, with microsecond reads.

Revise: Chapter 20, DAX

Question 48

Q48. Users around the world upload large video files to a single S3 bucket in eu-west-1. Uploads from Asia and America are slow. What improves upload speed with the least effort?

  1. Create a bucket in every region
  2. Use byte-range fetches
  3. Put CloudFront in front of the bucket for downloads
  4. Enable S3 Transfer Acceleration and use multipart upload
Model answer

D: Transfer Acceleration sends uploads to the nearest edge location, then over the AWS network; multipart upload parallelises big files.

Byte-range fetches speed up downloads, not uploads.

Revise: Chapter 13, S3 performance

Question 49

Q49. A marketing website with images and videos is hosted in S3 in one region. Visitors worldwide complain about slow page loads. What is the best solution?

  1. S3 Cross-Region Replication to every region
  2. AWS Global Accelerator in front of S3
  3. Amazon CloudFront with the S3 bucket as origin
  4. A bigger S3 storage class
Model answer

C: CloudFront caches static content at edge locations close to users.

Global Accelerator doesn't cache; it's for TCP/UDP apps needing static IPs.

Revise: Chapter 15, CloudFront

Question 50

Q50. A multiplayer game uses UDP and runs in two regions. Players need two fixed IP addresses to allowlist, the lowest latency path, and failover between regions in under a minute. What should be used?

  1. Amazon CloudFront
  2. Route 53 latency-based routing
  3. An NLB in each region with Elastic IPs
  4. AWS Global Accelerator
Model answer

D: Global Accelerator gives 2 static anycast IPs, supports UDP and fails over fast.

CloudFront doesn't support UDP. DNS failover depends on TTLs and client caching.

Revise: Chapter 15, Global Accelerator

Question 51

Q51. A tightly coupled HPC simulation runs on many Linux EC2 instances that constantly exchange messages using MPI. Which TWO choices give the lowest latency between nodes? (Choose TWO.)

  1. A spread placement group
  2. Instances in several regions
  3. A cluster placement group
  4. Elastic Fabric Adapter (EFA)
  5. A Network Load Balancer
Model answer

C and D: a cluster placement group puts instances close together, and EFA bypasses the OS for MPI traffic.

Revise: Chapter 30, HPC

Question 52

Q52. A machine learning team stores training data in S3 and needs a high-performance file system with sub-millisecond latency that reads from and writes results back to S3. What should be used?

  1. Amazon EFS
  2. FSx for Windows File Server
  3. FSx for Lustre linked to the S3 bucket
  4. S3 Glacier Instant Retrieval
Model answer

C: FSx for Lustre is built for HPC and ML with seamless S3 integration.

Revise: Chapter 16, FSx

Question 53

Q53. Analysts use Amazon Athena on years of CSV logs in S3. Queries are slow and the bill is high because every query scans all data. What should be done?

  1. Move the data to Glacier
  2. Load the data into RDS
  3. Enable S3 Transfer Acceleration
  4. Convert the data to Parquet with AWS Glue and partition it by date
Model answer

D: columnar Parquet plus partitions means Athena scans far less data, so it's faster and cheaper.

Revise: Chapter 22, Athena

Question 54

Q54. IoT devices send data that must land in S3 within a few minutes, converted to Parquet, with no servers or consumer code to manage. What should be used?

  1. Kinesis Data Streams with a custom KCL application
  2. SQS with a Lambda consumer
  3. Amazon Data Firehose with format conversion to Parquet
  4. Amazon MQ
Model answer

C: Firehose is fully managed, near real time, and can convert to Parquet before writing to S3.

Revise: Chapter 18, Firehose

Question 55

Q55. A product catalogue is stored in DynamoDB. Users need to search products by any word in the name or description, with partial matches. What is the best approach?

  1. Scan the DynamoDB table on each search
  2. Add a global secondary index for every attribute
  3. Use DAX
  4. Stream changes with DynamoDB Streams and Lambda into Amazon OpenSearch Service, and search there
Model answer

D: OpenSearch handles full text search; Streams keep it in sync with the table.

Revise: Chapter 22, OpenSearch

Question 56

Q56. A Java Lambda function behind API Gateway has slow responses on the first requests after idle periods. What reduces this latency?

  1. Increase the function timeout
  2. Use reserved concurrency
  3. Move the function into a VPC
  4. Enable SnapStart or provisioned concurrency
Model answer

D: both remove cold start latency: SnapStart restores a snapshot of the initialised function, provisioned concurrency keeps instances warm.

Reserved concurrency only caps or guarantees concurrency; it doesn't warm anything.

Revise: Chapter 20, Lambda

Question 57

Q57. A nightly image processing batch can be interrupted and restarted at any time, and can run at any hour. Which EC2 purchasing option is MOST cost-effective?

  1. On-Demand Instances
  2. Reserved Instances
  3. Spot Instances
  4. Dedicated Hosts
Model answer

C: Spot gives up to 90% off for interruptible, flexible workloads.

Revise: Chapter 3, EC2 pricing

Question 58

Q58. A company runs steady workloads 24/7 for the next 3 years. It wants the biggest discount while keeping the freedom to change instance families, regions, and move some workloads to Fargate or Lambda. What should it buy?

  1. Standard Reserved Instances
  2. Spot Instances
  3. Capacity Reservations
  4. Compute Savings Plans
Model answer

D: Compute Savings Plans apply across instance families, regions, Fargate and Lambda.

Standard RIs are locked to an instance family. Capacity Reservations give no discount.

Revise: Chapter 3, EC2 pricing

Question 59

Q59. A data lake in S3 has objects whose access patterns are unknown and change over time. The company wants to cut storage costs automatically without retrieval fees or operational effort. Which storage class?

  1. S3 Standard-IA
  2. S3 One Zone-IA
  3. S3 Intelligent-Tiering
  4. S3 Glacier Flexible Retrieval
Model answer

C: Intelligent-Tiering moves objects between tiers automatically with no retrieval fees.

Revise: Chapter 12, S3 storage classes

Question 60

Q60. Compliance archives must be stored for 10 years. They are almost never read, and a retrieval time of up to 48 hours is acceptable. Which option is MOST cost-effective?

  1. S3 Standard-IA
  2. S3 Glacier Instant Retrieval
  3. S3 One Zone-IA
  4. S3 Glacier Deep Archive
Model answer

D: Deep Archive is the cheapest class, with retrieval in 12 to 48 hours.

Revise: Chapter 12, S3 storage classes

Question 61

Q61. Development EC2 instances and RDS databases run 24/7 but are only used during office hours on weekdays. How can costs be reduced with the least effort?

  1. Buy Reserved Instances for them
  2. Move them to Dedicated Hosts
  3. Use larger instances to finish work faster
  4. Use the AWS Instance Scheduler to stop them outside office hours
Model answer

D: stopping them nights and weekends cuts about 70% of their running hours.

Reserved Instances assume 24/7 use.

Revise: Chapter 30, Cost tools

Question 62

Q62. EC2 instances in private subnets download several TB per day from S3 in the same region through a NAT Gateway, and the NAT data processing charges are high. What is the MOST cost-effective change?

  1. Replace the NAT Gateway with a NAT instance
  2. Move the instances to a public subnet
  3. Enable S3 Transfer Acceleration
  4. Add a gateway VPC endpoint for S3 and update the route tables
Model answer

D: gateway endpoints for S3 are free and take the traffic off the NAT Gateway.

Revise: Chapter 28, Network costs

Question 63

Q63. A new application uses DynamoDB. Its traffic is unpredictable, with long quiet periods and sudden spikes. Which capacity mode is MOST cost-effective?

  1. Provisioned capacity sized for the peak
  2. Provisioned capacity with reserved capacity
  3. On-demand capacity
  4. DAX with provisioned capacity
Model answer

C: on-demand charges per request and scales instantly, so quiet periods cost almost nothing.

Revise: Chapter 20, DynamoDB

Question 64

Q64. Management suspects many EC2 instances are over-provisioned. Which service gives ML-based right-sizing recommendations from actual utilisation?

  1. AWS Budgets
  2. AWS Cost Explorer forecasting
  3. AWS Compute Optimizer
  4. AWS Config
Model answer

C: Compute Optimizer analyses CloudWatch metrics to recommend better instance sizes.

Revise: Chapter 30, Cost tools

Question 65

Q65. A company must move 200 TB from its data centre to S3 within 2 weeks. Its internet link is 100 Mbps and already busy. What is the MOST cost-effective option?

  1. Upload over the internet with S3 Transfer Acceleration
  2. Order a 1 Gbps Direct Connect connection
  3. Use AWS DataSync over the existing link
  4. Use AWS Snowball Edge devices
Model answer

D: over 100 Mbps, 200 TB takes about 185 days; Direct Connect takes over a month to set up. Snowball does it in about a week.

Revise: Chapter 29, Moving a lot of data