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 is developing an online voting application for a photo competition. The infrastructure is deployed in AWS usin. 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 is developing an online voting application for a photo competition. The infrastructure is deployed…
- A company develops new android and iOS mobile apps. The company is considering storing user customization dat…
- An IT consultancy company has multiple offices located in San Francisco, Frankfurt, Tokyo, and Manila. The co…
- A company recently adopted a hybrid cloud architecture, requiring the migration of databases from an on-premi…
- A company plans to decommission its legacy web application that is hosted in AWS. It is composed of an Auto S…
- A company is planning to build its new customer relationship management (CRM) portal in AWS. The application…
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 is developing an online voting application for a photo competition. The infrastructure is deployed in AWS using CloudFormation. The application accepts high-quality images of each contestant and stores them in S3 then records the…
Answer: A. Set the DeletionPolicy on the RDS resource to snapshot and set the S3 bucket to retain.
Setting the DeletionPolicy to Snapshot for RDS creates a final backup, while Retain on the S3 bucket preserves the objects during stack deletion. Remember that S3 does not support the Snapshot DeletionPolicy, only Retain or Delete.
Q2. A company develops new android and iOS mobile apps. The company is considering storing user customization data in AWS. This would provide a more uniform cross-platform experience to their users using multiple mobile devices to access their…
Answer: B. Provision a table in DynamoDB containing an item for each user having the necessary attributes to hold the user preferences. The mobile app will query the user preferences directly from the table. Use STS, Web Identity Federation, and DynamoDB's Fine-Grained Access Control for authentication and authorization.
Using DynamoDB with web identity federation and fine-grained access control provides a highly scalable, secure, and cost-effective solution for small user preference data. RDS is not as cost-effective for simple key-value profile lookups across millions of users.
Q3. An IT consultancy company has multiple offices located in San Francisco, Frankfurt, Tokyo, and Manila. The company is using AWS Organizations to easily manage its several AWS accounts which are being used by its regional offices and subsid…
Answer: B. SCPs do not affect any service-linked role. Service-linked roles enable other AWS services to integrate with AWS Organizations and can't be restricted by SCPs.
Service Control Policies explicitly do not affect service-linked roles because these roles are integral to AWS service functionality. If you need to restrict an action performed directly by an AWS service, you must block the user or role invoking the service instead.
Q4. A company recently adopted a hybrid cloud architecture, requiring the migration of databases from an on-premises data center to AWS. One of the applications requires a heterogeneous database migration, specifically transforming an on-premi…
Answer: C. Use the AWS Schema Conversion Tool (SCT) to convert the source schema to match that of the target database. Migrate the data using the AWS Database Migration Service (DMS) from the source database to an Amazon RDS for PostgreSQL database.
For heterogeneous migrations, the AWS Schema Conversion Tool automatically converts the source database schema and code to match the target PostgreSQL database. AWS Database Migration Service then securely migrates the actual data. Other tools do not handle schema transformations natively.
Q5. A company plans to decommission its legacy web application that is hosted in AWS. It is composed of an Auto Scaling group of Amazon EC2 instances and an Application Load Balancer (ALB). The new application is built on a new framework. The…
Answer: A. Use AWS Serverless Application Model (AWS SAM) and set up AWS CodeBuild, AWS CodeDeploy, and AWS CodePipeline to build a CI/CD pipeline.
The AWS Serverless Application Model seamlessly integrates with AWS CodePipeline, CodeBuild, and CodeDeploy to build, test, and deploy serverless applications. It natively supports gradual deployment strategies like canary and linear deployments for Lambda functions. Elastic Beanstalk is intended for EC2 workloads, not serverless architectures.
Q6. A company is planning to build its new customer relationship management (CRM) portal in AWS. The application architecture will be using a containerized microservices hosted on an Amazon ECS cluster. A Solutions Architect has been tasked to…
Answer: B. Use the awsvpc network mode in the task definition in your Amazon ECS Cluster. Attach security groups to the ECS tasks then use IAM roles for tasks to access other resources.
Using the awsvpc network mode assigns each task its own elastic network interface, allowing granular security group attachments directly to containers. IAM roles for tasks grant temporary database credentials without hardcoding sensitive information. The bridge network mode restricts this container-level security visibility.
Q7. A company has created multiple accounts in AWS to support the rapid growth of its cloud services. The multiple accounts are used to separate its various departments such as finance, human resources, engineering, and many others. Each accou…
Answer: C. Use AWS Organizations and Service Control Policies to control the list of AWS services that can be used by each member account.
AWS Organizations combined with Service Control Policies provides centralized governance to restrict available AWS services across multiple accounts. SCPs act as guardrails affecting all accounts within an Organizational Unit, while IAM policies manage granular resource access within those accounts.
Q8. A graphics design startup is using multiple Amazon S3 buckets to store high-resolution media files for their various digital artworks. After securing a partnership deal with a leading media company, the two parties shall be sharing digital…
Answer: D. Enable the Requester Pays feature in all of the startup's S3 buckets to make the media company pay the cost of the data transfer from the buckets.
Enabling Requester Pays on the S3 buckets shifts the data transfer and request costs to the media company accessing the data. Standard cross-account access alone still charges the bucket owner for all data transfer out of the bucket.
Q9. A clinic runs its medical record system using a fleet of Windows-based Amazon EC2 instances with several EBS volumes attached to it. Since the records that they are storing are confidential health files of their patients, it is a requireme…
Answer: B,D. Set up a patch baseline that defines which patches are approved for installation on your instances using AWS Systems Manager Patch Manager. || Use the AWS Config Managed Rule which automatically checks whether your running EC2 instances are using approved AMIs. Set up CloudWatch Alarms to notify you if there are any non-compliant instances running in your VPC.
Systems Manager Patch Manager handles the automated security patching, while AWS Config rules monitor for unapproved AMIs. GuardDuty is a threat detection service and does not evaluate patch levels or approved AMIs.
Q10. A company provides big data services to enterprise clients around the globe. One of the clients has 60 TB of raw data from their on-premises Oracle data warehouse. The data is to be migrated to Amazon Redshift. However, the database receiv…
Answer: D. Create an AWS Snowball import job to request for a Snowball Edge device. Use the AWS Schema Conversion Tool (SCT) to process the on-premises data warehouse and load it to the Snowball Edge device. Install the extraction agent on a separate on-premises server and register it with AWS SCT. Once the Snowball Edge imports data to the S3 bucket, use AWS SCT to migrate the data to Amazon Redshift. Configure a local task and AWS DMS task to replicate the ongoing updates to the data warehouse. Monitor and verify that the data migration is complete.
Using AWS Snowball Edge with the AWS Schema Conversion Tool extracts the massive dataset offline, bypassing the slow connection. AWS DMS then replicates the ongoing daily changes to Amazon Redshift to complete the migration within the window.
Q11. A company is hosting a multi-tier web application in AWS. It is composed of an Application Load Balancer and Amazon EC2 instances across three Availability Zones. During peak load, its stateless web servers operate at 95% utilization. The…
Answer: C. Launch a Spot Fleet using a diversified allocation strategy, with Auto Scaling enabled on each AZ to handle the peak load instead of On-Demand instances. Retain the current setup for handling the steady state load.
A Spot Fleet with a diversified allocation strategy provides the most cost-effective scaling for unpredictable peak loads across multiple Availability Zones. Reserved Instances are ideal for steady-state traffic but lack the cost savings of Spot for peaks.
Q12. A company has several IoT-enabled devices and sells it to customers around the globe. Every 5 minutes, each IoT device sends back a data file that includes the device status and other information to an Amazon S3 bucket. The company already…
Answer: A. Convert the Python script cron job to an AWS Lambda function. Configure the S3 bucket event notifications to trigger the Lambda function whenever an object is uploaded to the bucket.
Configuring S3 event notifications to trigger an AWS Lambda function processes each file immediately upon upload with minimal operational overhead. Using EventBridge or CloudTrail for S3 upload events adds unnecessary complexity for this specific use case.
Q13. An enterprise runs its CMS application on an Auto Scaling group of Amazon EC2 instances behind an Application Load Balancer. The instances are placed in private subnets while the ALB is placed in public subnets. As part of best practices…
Answer: D. Go to the Auto Scaling Groups section in the AWS console and suspend the "Terminate" process for the ASG. Log in to one of the unhealthy instances using AWS Systems Manager Session Manager.
Suspending the Terminate process for the Auto Scaling group stops the replacement cycle, keeping the failing instance alive so you can log in via Systems Manager. Relying on termination protection fails because the Auto Scaling group can override it to maintain capacity.
Q14. A Business Process Outsourcing (BPO) startup is planning to launch a scalable and cost-effective call center system using AWS. The system should be able to receive inbound calls from thousands of customers and generate user contact flows…
Answer: A. Set up a cloud-based contact center using the Amazon Connect service. Create a conversational chatbot using Amazon Lex with automatic speech recognition and natural language understanding to recognize the intent of the caller then integrate it with Amazon Connect. Connect the solution to various business applications and other internal systems using AWS Lambda functions.
Amazon Connect provides a cloud-based contact center, while Amazon Lex integrates conversational AI to handle automatic speech recognition and intent understanding. Lambda then executes the backend business logic to fulfill user requests. Comprehend lacks ASR and Polly only provides text-to-speech.
Q15. An IT consulting company has multiple AWS accounts for its teams and departments that have been grouped into several organizational units (OUs) using AWS Organizations. The lead solutions architect received a report from the security team…
Answer: B,D. Use AWS Config to monitor the compliance of your AWS Organizations. Set up an SNS Topic or Amazon EventBridge that will send alerts to you for any changes. || Create a trail in Amazon CloudTrail to capture all API calls to your AWS Organizations, including calls from the AWS Organizations console and from code calls to the AWS Organizations APIs. Use Amazon EventBridge and SNS to raise events when administrator-specified actions occur in an organization and send a notification to you.
CloudTrail captures AWS Organizations API calls, which Amazon EventBridge can monitor to trigger SNS notifications for unauthorized actions. AWS Config records resource configurations, ensuring continuous compliance monitoring across the organization. Systems Manager does not track these events.
Q16. A company runs a Flight Deals web application which is currently hosted in their on-premises data center. The website hosts high-resolution photos of top tourist destinations in the world and uses a third-party payment platform to accept p…
Answer: B. Use CloudFront to cache and distribute the high resolution images and other static assets of the website. Deploy AWS WAF on the Amazon CloudFront distribution to protect the website from common web attacks.
Using Amazon CloudFront offloads traffic by caching heavy static assets directly at the edge, significantly reducing the load on the on-premises origin. Deploying AWS WAF on the CloudFront distribution blocks malicious requests before they ever reach the origin network.
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.