AWS Certified Solutions Architect Professional Practice Exam Questions and Answers – Part 9/12

Practice for the AWS Certified Solutions Architect – Professional (SAP-C02) exam with 16 exam-style practice questions, instant answer reveals, and concise explanations of every correct answer. Topics include: A company stores confidential files on an Amazon S3 bucket. There was a recent production incident in the company in whi. Follow @CertPunch and visit certpunch.com for more certification practice exams and study content.

Prefer hands-on? Take this round as an interactive practice test — answer every question, get instant feedback, and see your score: Start the AWS Certified Solutions Architect – Professional (SAP-C02) practice test →

What you will practice

  • A company stores confidential files on an Amazon S3 bucket. There was a recent production incident in the com…
  • A leading aerospace engineering company is experiencing high growth and demand on their highly available and…
  • A company has a web service portal where users can perform read and write operations on its semi-structured d…
  • A leading financial company runs its application in an Amazon ECS Cluster. The application processes a large…
  • A company is running its main web service in a fleet of Amazon EC2 instances in the us-east-1 AWS Region. The…
  • A company offers a service that allows users to upload media files through a web portal. The web servers acce…

Answers and explanations

Tap a question to expand the answer and the exam reasoning. Try to commit to your own pick first.

Q1. A company stores confidential files on an Amazon S3 bucket. There was a recent production incident in the company in which the files that are stored in an S3 bucket were accidentally made public. This has caused data leakage that affected…

Answer: B. Enable Amazon S3 Block Public Access in the S3 bucket.

Amazon S3 Block Public Access provides centralized controls that override policies to prevent public access with minimal configuration. Exam cue: for questions asking to secure S3 data effortlessly, Block Public Access almost always beats complex IAM policies or Config rules.

Q2. A leading aerospace engineering company is experiencing high growth and demand on their highly available and fault-tolerant cloud services platform that is hosted in AWS. The technical lead of your team has asked you to virtually extend tw…

Answer: D. Create another Customer Gateway in a different data center and set up another dual-tunnel VPN connection.

Creating another Customer Gateway in a different data center provides redundancy for the on-premises VPN endpoint, ensuring fault tolerance. Exam cue: a virtual private gateway is already highly available across Availability Zones, so focus on the customer side for redundancy.

Q3. A company has a web service portal where users can perform read and write operations on its semi-structured data. The company wants to refactor the current application and leverage AWS-managed services for more scalability and higher avail…

Answer: C. Create an Amazon DynamoDB global table to store the semi-structured data in two Regions. Use on-demand capacity mode to allow DynamoDB scaling. Run the web service on an Auto Scaling Amazon ECS Fargate cluster in each region. Place each Fargate cluster behind its own Application Load Balancer (ALB). Create Amazon Route 53 Alias records pointed to each ALB using a latency routing policy with health checks enabled.

DynamoDB global tables provide multi-active read and write replication across regions, and on-demand capacity handles sudden load spikes automatically. Fargate allows rapid container scaling, and Route 53 latency routing ensures users hit the fastest healthy regional endpoint.

Q4. A leading financial company runs its application in an Amazon ECS Cluster. The application processes a large stream of intraday data and stores the generated result in a DynamoDB table. To comply with the financial regulatory policy, the s…

Answer: D. Set up a DynamoDB stream to detect the new entries and automatically trigger the Lambda function.

DynamoDB Streams capture item-level modifications, providing a native event source to trigger your Lambda function automatically. This requires minimal configuration compared to complex alternatives like migrating databases or building SNS fan-out architectures.

Q5. A company is running its main web service in a fleet of Amazon EC2 instances in the us-east-1 AWS Region. The EC2 instances are launched by an Auto Scaling group behind an Application Load Balancer (ALB). The EC2 instances are spread acros…

Answer: C. Migrate the database from the Amazon EC2 instance to an Amazon Aurora global database. Set the us-east-1 region as the primary database and the us-west-2 region as the secondary database. Configure Amazon Route 53 DNS entry with health checks and failover routing policy to the us-west-2 region.

Amazon Aurora Global Database provides storage-based replication with typical cross-region latency under one second, meeting strict recovery objectives. Route 53 failover routing shifts traffic to the secondary region during a disaster.

Q6. A company offers a service that allows users to upload media files through a web portal. The web servers accept the media files and are directly uploaded to the on-premises Network Attached Storage (NAS server). For each uploaded media fil…

Answer: B. Reconfigure the existing web servers to publish messages to a standard queue on Amazon SQS. Create an Auto Scaling group of Amazon EC2 instances that will pull requests from the queue and process the media files. Configure the Auto Scaling group to scale based on the length of the SQS queue. Send the processed media files to an Amazon S3 bucket.

An Auto Scaling group of EC2 instances scales based on SQS queue depth, handling the bursty workload effectively. AWS Lambda is incorrect here because its 15-minute maximum execution timeout cannot support the 30-minute processing requirement.

Q7. The www.tutorialsdojonews.com website is using the WordPress platform that runs on a fleet of Amazon EC2 instances behind an application load balancer to deliver news around the globe. There are a lot of customers complaining about the slo…

Answer: C. Configure the CloudFront distribution to redirect HTTP to HTTPS protocol. Generate a new SSL certificate on AWS Certificate Manager and use it as the CloudFront distribution and origin certificate.

Using an AWS Certificate Manager certificate on both CloudFront and the Application Load Balancer origin provides seamless end-to-end encryption. Configuring the distribution to redirect HTTP to HTTPS guarantees viewer connections are secured. CloudFront default certificates cannot serve custom domain names.

Q8. A photo-sharing website uses a CloudFront distribution with a default name (dtut0r1al5doj0.cloudfront.net) to distribute its static contents. It uses an ELB in front of an Auto Scaling group of Spot EC2 instances deployed across two Availa…

Answer: C,E. Configure CloudFront to use its default SSL/TLS certificate by changing the Viewer Protocol Policy setting for one or more cache behaviors to require HTTPS communication. || Set the Viewer Protocol Policy< to use Redirect HTTP to HTTPS or HTTPS Only.

When using the default CloudFront domain name, you can enforce viewer-side HTTPS by configuring the Viewer Protocol Policy to Redirect HTTP to HTTPS or HTTPS Only. In this specific configuration, CloudFront automatically provides and uses its default SSL certificate.

Q9. A company is running a serverless backend API service on AWS. It has several AWS Lambda functions written in Python and an Amazon API Gateway that is configured to invoke the functions. The company wants to secure the API endpoint by ensur…

Answer: A. Configure authorization to use AWS_IAM for the API Gateway method. Create the IAM users or roles that have the execute-api:Invoke permission to the ARN of the API resource. Enable request signing with AWS Signature for every call to the API endpoint. Trace and analyze each user request on API Gateway by using AWS X-Ray.

Configuring AWS_IAM authorization on the API Gateway method ensures only validated identities can invoke the endpoint. AWS X-Ray is the correct tool here because it specifically traces requests end-to-end and generates service maps, whereas CloudWatch Logs only captures operational metrics.

Q10. A company plans to release a public beta of its new video game. The release package is approximately 5 GB in size. Based on previous releases and community feedback, millions of users from around the world are expected to download the new…

Answer: B. Create an Amazon S3 bucket with website hosting enabled and upload the game package on it. Create an Amazon CloudFront distribution with the S3 bucket as the origin. Create an Amazon Route 53 entry pointing to the CloudFront distribution. Publish the Route 53 entry as the download URL to allow users to download the game package.

Serving the package through CloudFront with an S3 origin provides a highly cost-effective, globally distributed caching layer for massive download spikes. Using Requestor Pays is a strong distractor, but it requires users to have their own AWS accounts, which ruins the public experience.

Q11. A travel booking company runs its main web application on the AWS cloud. Its trip planner website provides timetables, travel alerts, and other public transportation information for trains, buses, ferries, and trams. The front-end tier is…

Answer: B. Increase the capacity and scaling thresholds of the Auto Scaling group to allow the application servers to scale up across all Availability Zones, which will lower the aggregate utilization of the EC2 instances. Use Reserved Instances to handle the steady-state load and a combination of On-Demand and Spot Instances to process the peak load. When the peak usage is over, scale down the number of the On-Demand and Spot instances.

Configuring diverse Auto Scaling policies across multiple Availability Zones ensures your application dynamically scales to handle unexpected regional failures. Blending Reserved Instances for the baseline with On-Demand and Spot capacity for peak traffic provides the optimal cost-effective architecture.

Q12. A visual effects studio has over 40-TB worth of video files stored in the company's on-premises tape library. The tape drives are managed by a Media Asset Management (MAM) solution. The video files contain a variety of footage which includ…

Answer: D. Provision an AWS Storage Gateway – file gateway appliance on the on-premises data center. Configure the MAM solution to extract the video files from the current tape archives and move them to the file gateway share which is then synced to Amazon S3. Use Amazon Rekognition to build a collection based on the videos by using the catalog of people's faces and names. Create an AWS Lambda function that will invoke Rekognition to pull the video files from the S3 bucket, retrieve the generated metadata and then push it to the MAM solution search catalog.

A file gateway seamlessly syncs the tape archives to S3 via standard protocols with minimal operational overhead. Amazon Rekognition then processes the videos directly to extract metadata without custom machine learning infrastructure.

Q13. A company has a gaming store platform hosted in its on-premises data center for a whole variety of digital games. The application just experienced downtime last week due to a large burst in web traffic caused by a year-end sale on almost a…

Answer: D. Set up a CloudFront distribution to cache objects from a custom origin to offload traffic from your on-premises environment. Customize your object cache behavior, and choose a time-to-live that will determine how long objects will reside in the cache.

Amazon CloudFront caches content at edge locations, offloading unexpected traffic bursts from on-premises servers without complex migrations. Practical cue: when dealing with unpredictable on-premises bursts and tight timelines, leverage a content delivery network to absorb the load.

Q14. A company has a CRM application that uses a MySQL database hosted in Amazon RDS, and a central data warehouse that runs on Amazon Redshift. There is a batch analytics process that runs every day and reads data from RDS. During the executio…

Answer: C. Add read replicas for the RDS database to speed up batch analytics and use Amazon SNS to notify the on-premises system to update the dashboard.

Adding Amazon RDS Read Replicas offloads the heavy batch analytics reads, freeing up the primary database for CRM traffic. Amazon SNS provides a push mechanism to trigger the SMTP email notification, whereas SQS requires polling to automate updates.

Q15. A company hosts its application on several Amazon EC2 instances inside a VPC. A known security vulnerability was discovered in the outdated Operating System of the company's EC2 fleet. The solutions architect is responsible for mitigating…

Answer: A. Use AWS Systems Manager Patch Manager to deploy the OS security patches on the EC2 instances. Use AWS Config to manage, detect and record the security compliance of the EC2 instances.

Systems Manager Patch Manager automates operating system patch deployments, while AWS Config continuously records configurations to track patch compliance. State Manager handles desired state configurations but lacks the dedicated patching baseline features required here.

Q16. A company is hosting its three-tier web application on the us-east-1 region of AWS. The web and application tiers are stateless and both are running on their own fleet of On-Demand Amazon EC2 instances, each with its respective Auto Scalin…

Answer: C,E. Schedule a daily snapshot of the Amazon EC2 instances for the web and application tier. Copy the snapshot to the backup region. Restore the backups in case of a disaster in the primary region. || Set up a cross-Region read replica of the Amazon Aurora database to the backup region. Promote this read replica as the master database in case of a disaster in the primary region.

Copying EC2 snapshots to the backup region provides a cost-effective pilot light recovery for stateless tiers within the thirty minute recovery objective. Aurora cross-region read replicas meet the strict five minute recovery point objective by asynchronously replicating data continuously.

More AWS Certified Solutions Architect – Professional (SAP-C02) drills and other practice exams are on @CertPunch. New rounds drop every few days at certpunch.com.

Scroll to Top