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

Practice for the AWS Certified Solutions Architect Professional (SAP-C02) exam with 15 exam-style practice questions, instant answer reveals, and concise explanations of every correct answer. Topics include: A company has launched a company-wide bug bounty program to find and patch security vulnerabilities in its web applicati. 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 has launched a company-wide bug bounty program to find and patch security vulnerabilities in its we…
  • A company is using AWS Organizations to manage their multi-account and multi-region AWS infrastructure. They…
  • A company currently hosts its online immigration system on one large Amazon EC2 instance with attached EBS vo…
  • A tech company plans to host a website using an Amazon S3 bucket. The solutions architect created a new S3 bu…
  • A tech company will soon launch a new smartwatch that will collect statistics and usage information from its…
  • A company is modernizing its on-premises system by migrating it to AWS. The system will be hosted on Amazon E…

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 has launched a company-wide bug bounty program to find and patch security vulnerabilities in its web applications as well as the underlying cloud resources. As the solutions architect, you are focused on checking system vulnerabi…

Answer: A,D. Use an Application Load Balancer (ALB) to reduce the risk of overloading your application by distributing traffic across many backend instances. Integrate AWS WAF and the ALB to protect your web applications from common web exploits that could affect application availability. || Use an Amazon CloudFront distribution for both static and dynamic content of your web applications. Add CloudWatch alerts to automatically look and notify the Operations team for high CPUUtilization and NetworkIn metrics, as well as to trigger Auto Scaling of your EC2 instances.

Using Amazon CloudFront and an Application Load Balancer distributes and absorbs malicious traffic, protecting backend instances from being overwhelmed. Adding AWS WAF further inspects and filters web requests, ensuring application availability without needing Shield Advanced.

Q2. A company is using AWS Organizations to manage their multi-account and multi-region AWS infrastructure. They are currently doing large-scale automation for their key daily processes to save costs. One of these key processes is sharing spec…

Answer: C. Use trusted access by running the enable-sharing-with-aws-organization command in the AWS RAM CLI. Mirror the configuration changes that was performed by the account that previously managed this service.

Enabling trusted access with AWS Organizations allows AWS RAM to perform tasks on your behalf by automatically creating the necessary service-linked role. This is the simplest and most native way to integrate the services. Manually configuring roles or using Systems Manager introduces unnecessary operational overhead.

Q3. A company currently hosts its online immigration system on one large Amazon EC2 instance with attached EBS volumes to store all of the applicants' data. The registration system accepts the information from the user including documents and…

Answer: A. Upgrade your architecture to use an S3 bucket with cross-region replication (CRR) enabled, as the storage service. Set up an SQS queue to distribute the tasks to a group of EC2 instances with Auto Scaling to dynamically increase or decrease the group of EC2 instances depending on the length of the SQS queue. Use CloudFormation to replicate your architecture to another region.

Using Amazon S3 for object storage easily handles the ever-growing data uploads while an SQS queue decouples the processing tasks. EC2 Auto Scaling then uses the queue length to dynamically adjust compute capacity, resolving the surge issues. EBS volumes are block storage and are difficult to synchronize across scaled instances.

Q4. A tech company plans to host a website using an Amazon S3 bucket. The solutions architect created a new S3 bucket called "www.tutorialsdojo.com" in us-west-2 AWS region, enabled static website hosting, and uploaded the static web content f…

Answer: A. The S3 bucket does not have public read access which blocks the website visitors from seeing the content.

Amazon S3 buckets must explicitly grant public read access to successfully serve static website content to visitors. Without this permission, the bucket blocks all anonymous HTTP requests, resulting in access denied errors. Route 53 alias records route traffic correctly, but the bucket policies dictate actual visibility.

Q5. A tech company will soon launch a new smartwatch that will collect statistics and usage information from its users. The solutions architect was tasked to design a data storage and retrieval solution for the receiving application. The appli…

Answer: G. Configure the application to receive the records and set the storage to a DynamoDB table. Configure proper scaling on the DynamoDB table and enable the DynamoDB table Time to Live (TTL) setting to delete records after 120 days.

DynamoDB easily handles massive ingest rates while providing single-digit millisecond latency, and its Time to Live feature automatically deletes expired items at no extra cost. Amazon S3 lacks the low-latency retrieval needed here, and Kafka is not optimized for direct low-latency item lookups.

Q6. A company is modernizing its on-premises system by migrating it to AWS. The system will be hosted on Amazon EC2 instances managed by Amazon Elastic Kubernetes Service (Amazon EKS) and use Amazon RDS for MySQL as the database. The system ha…

Answer: B. Purchase Compute Savings Plans for the EC2 nodes of the EKS cluster to be used for regular traffic. Scale the node cluster with Spot instances during peak demands. Handle the predicted database load with a 1-year All Upfront Reserved Instance and vertically scale up the DB instance on scheduled high usage.

Compute Savings Plans handle the predictable baseline, while Spot Instances cheaply absorb the flexible peak loads for containerized workloads. For the database, an All Upfront Reserved Instance yields the maximum discount, and scheduled vertical scaling accommodates the temporary surges.

Q7. A private bank is hosting a secure web application that allows its agents to view highly sensitive information about the clients. The amount of traffic that the web app will receive is known and not expected to fluctuate. An SSL will be us…

Answer: B. Distribute traffic to a set of web servers using an Elastic Load Balancer that performs TCP load balancing. Use CloudHSM deployed to two Availability Zones to perform the SSL transactions and deliver your application logs to a private Amazon S3 bucket using server-side encryption.

Deploying CloudHSM across two Availability Zones ensures the highly available termination of SSL transactions entirely within dedicated hardware. Uploading logs to S3 with server-side encryption meets the durability requirement while restricting access to authorized staff.

Q8. A company has several virtual machines on its on-premises data center hosting its three-tier web application. The company wants to migrate the application to AWS to take advantage of the benefits of cloud computing. The following are the c…

Answer: G. Use AWS Transform MGN to migrate the virtual machines to AWS. Install the AWS Replication Agent on each server in the application tiers to continuously replicate the root volumes and data volumes to AWS. Launch test instances from the replicated servers, validate the application, and then perform a cutover to launch updated Amazon EC2 instances.

AWS Application Migration Service continuously replicates root and data volumes using an agent, ensuring minimal downtime during the cutover. VM Import/Export lacks continuous synchronization capabilities, resulting in heavy operational overhead for incremental updates.

Q9. A media company hosts its entire infrastructure on the AWS cloud. There is a requirement to copy information to or from the shared resources from another AWS account. The solutions architect has to provide the other account access to sever…

Answer: D. Set up cross-account access with a resource-based Policy. Use AWS Config rules to periodically audit changes to the IAM policy and monitor the compliance of the configuration.

Resource-based policies attached directly to services like S3 or KMS allow cross-account access without assuming a role, preserving the user's original permissions. AWS Config continuously audits these policy changes to maintain compliance. Remember that roles require surrendering original session permissions.

Q10. A retail company hosts its web application on an Auto Scaling group of Amazon EC2 instances deployed across multiple Availability Zones. The Auto Scaling group is configured to maintain a minimum EC2 cluster size and automatically replace…

Answer: B,D. Reduce the load on the database tier by creating an Amazon ElastiCache cluster to cache frequently requested database queries. Configure the application to use this cache when querying the RDS MySQL instance. || Change the target group health check to a simple HTML page instead of a page that queries the database. Create an Amazon Route 53 health check for the database dummy item web page to ensure that the application works as expected. Set up an Amazon CloudWatch alarm to send a notification to Admins when the health check fails.

Using Amazon ElastiCache offloads read-heavy database queries, directly relieving CPU bottlenecks on the RDS instance. Target group health checks should query a simple HTML page instead of a database, preventing unnecessary scaling churn during outages. Route 53 health checks monitor the critical application endpoints externally.

Q11. A top university has launched its serverless online portal using Lambda and API Gateway in AWS that enables its students to enroll, manage their class schedules, and see their grades online. After a few weeks, the portal abruptly stopped w…

Answer: A. Use AWS WAF to add a web access control list (web ACL) in front of the API Gateway to block requests that contain malicious SQL code. Use AWS Config to track changes to your web access control lists (web ACLs) such as the creation and deletion of rules including the updates to the WAF rule configurations.

AWS WAF attaches directly to API Gateway to inspect incoming requests and block malicious SQL injection patterns at the edge. AWS Config records the configuration changes to web ACLs, allowing you to track historical rule modifications. Firewall Manager manages rules globally across accounts, while Config tracks individual resource configurations.

Q12. A company has a fitness tracking app that accompanies its smartwatch. The primary customers are North American and Asian users. The application is read-heavy as it pings the servers at regular intervals for user-authorization. The company…

Answer: H. Create a geolocation routing policy on Amazon Route 53 to point the global users to their designated regions. Combine this with a failover answer routing policy with health checks to direct users to a healthy region at any given time.

Amazon Aurora Global Database provides multi-region read scalability and disaster recovery without sacrificing relational semantics or single-region write availability. Route 53 geolocation routing ensures users hit their local healthy endpoints while safely failing over regionally.

Q13. An online media streaming startup has deployed hundreds of containerized microservices using Amazon Elastic Container Service (Amazon ECS) with AWS Fargate. As new features roll out, the number of running ECS tasks steadily increases. The…

Answer: C. Use Amazon CloudWatch to monitor service quotas published in the AWS/Usage metric namespace. Set up an alarm when the math expression metricId/SERVICE_QUOTA(metricId)*100 is greater than 75. Configure Amazon SNS to send notifications to the operations team.

CloudWatch tracks usage in the AWS/Usage namespace, enabling a math expression using the SERVICE_QUOTA function to calculate quota consumption directly. Avoid creating custom metrics when native Service Quotas integration can trigger alerts natively.

Q14. A company develops Docker containers to host web applications on its on-premises data center. The company wants to migrate its workload to the cloud and use AWS Fargate. The solutions architect has created the necessary task definition and…

Answer: F. Update the AWS Fargate task definition and set the auto-assign public IP option to DISABLED. Launch a NAT gateway on the public subnet of the VPC and update the route table of the private subnet to route requests to the Internet.

Fargate tasks in private subnets need a route to the internet to pull container images from Amazon ECR. Deploying a NAT Gateway in a public subnet and updating the private subnet route table provides this outbound access securely. A NAT Gateway must reside in a public subnet to reach the internet gateway.

Q15. A media company uses the AWS Cloud to process and convert its video collection. An Auto Scaling group of Amazon EC2 instances processes the videos and scales based on the number of messages in an Amazon Simple Queue Service (SQS) queue. Th…

Answer: F. Reconfigure the SQS redrive policy and set maxReceiveCount to 10. This will allow the consumers to retry the messages before sending them to the dead-letter queue.

Setting maxReceiveCount to a low value like one triggers immediate dead-letter routing for transient hiccups. Raising the count to ten allows consumers multiple attempts before discarding messages. The current one-hour visibility timeout correctly covers processing, proving the issue is overly strict retries, not timeouts.

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