SAP-C02 Practice Exam — SAP-C02:Solutions Architect - Professional

1. The cloud-based question bank updates automatically, no need to retrieve it again.

2. Activate the question bank to access both Chinese and English versions.

3. Features include online exercises, mock exams, PDF downloads and video courses.

4. Study via mini-program or computer web page, valid for one year.

5. Activation codes can be bought directly or from Tmall official flagship store.

6. Contact customer service via WeChat, WhatsApp and Line for any issues.

Exam information

Solutions Architect - Professional Exam Code: SAP‑C02


·Registration Link: https://aws.amazon.com/cn/certification/certification-prep/testing/

·Exam Fee: 300 USD. Exam vouchers are available for purchase at approximately 1550 RMB  (For voucher inquiries, https://item.taobao.com/item.htm?id=991899961156 ).

·Exam Languages: Simplified Chinese, English, Japanese, etc. Certificates issued in different languages carry equal recognition. You may take the exam in Chinese and still download an English‑language certificate.

·Exam Location: Offline Pearson VUE test centers in designated cities, or online proctored exam on your personal computer (webcam monitoring throughout the exam; cheating is strictly prohibited).

·Exam Environment: For online exams, a plain background and noise‑free surroundings are required. A company meeting room is recommended if available, with a backup internet connection (VPN is not mandatory).

·Exam Format: 75 multiple‑choice questions. Total score is 1000 points; a score of 750 or higher is required to pass.

·Exam Duration: 180 minutes. Score reports will be sent via email within one business day after completion.

Sample questions

SAP-C02 · Q1
Question #1

A company needs to architect a hybrid DNS solution. This solution will use an Amazon Route 53 private hosted zone for the domain cloud.example.com for the resources stored within VPCs.

The company has the following DNS resolution requirements:

On-premises systems should be able to resolve and connect to cloud.example.com.

All VPCs should be able to resolve cloud.example.com.

There is already an AWS Direct Connect connection between the on-premises corporate network and AWS Transit Gateway.

Which architecture should the company use to meet these requirements with the HIGHEST performance?

  • A.
    Associate the private hosted zone to all the VPCs. Create a Route 53 inbound resolver in the shared services VPC. Attach all VPCs to the transit gateway and create forwarding rules in the on-premises DNS server for cloud.example.com that point to the inbound resolver.
  • B.
    Associate the private hosted zone to all the VPCs. Deploy an Amazon EC2 conditional forwarder in the shared services VPC. Attach all VPCs to the transit gateway and create forwarding rules in the on-premises DNS server for cloud.example.com that point to the conditional forwarder.
  • C.
    Associate the private hosted zone to the shared services VPC. Create a Route 53 outbound resolver in the shared services VPC. Attach all VPCs to the transit gateway and create forwarding rules in the on-premises DNS server for cloud.example.com that point to the outbound resolver.
  • D.
     Associate the private hosted zone to the shared services VPC. Create a Route 53 inbound resolver in the shared services VPC. Attach the shared services VPC to the transit gateway and create forwarding rules in the on-premises DNS server for cloud.example.com that point to the inbound resolver. 

Answer: A

The correct answer is A. Here's the detailed explanation:

Why Option A is the Best Solution?

The requirements are:

1.On-premises systems must resolve `cloud.example.com`.

2.All VPCs must resolve `cloud.example.com`.

3.High performance is required (minimal latency and complexity).

Option A meets these requirements by:

1.Associating the private hosted zone with all VPCs → Ensures VPC resources can resolve `cloud.example.com` natively via Route 53.

2.Creating a Route 53 inbound resolver in the shared services VPC → Provides a centralized DNS resolution endpoint for on-premises queries.

3.Using AWS Transit Gateway for connectivity → Ensures low-latency communication between VPCs and on-premises.

4.Forwarding on-premises DNS queries to the inbound resolver → Allows on-premises systems to resolve `cloud.example.com` efficiently.

Why Other Options Are Incorrect?

-Option B: Uses anEC2-based conditional forwarder, which introduces unnecessary management overhead (scaling, patching) compared to Route 53 Resolver (fully managed).

-Option C: Associates the private hosted zoneonly with the shared services VPC, meaning other VPCs cannot resolve `cloud.example.com` natively (requires outbound resolver, which adds complexity).

-Option D: Similar to Option C, but uses aninbound resolver while still restricting the hosted zone to one VPC, breaking resolution for other VPCs.

Key Considerations for Performance

-Route 53 private hosted zones provide the fastest DNS resolution within VPCs when associated directly.

-Route 53 Resolver (inbound) is fully managed and optimized for hybrid DNS, unlike manual EC2 solutions.

-Transit Gateway ensures high-speed connectivity between VPCs and on-premises.

Conclusion

Option A is the most efficient, scalable, and performant solution, leveraging native AWS services (Route 53 private hosted zones + inbound resolver) without introducing unnecessary complexity.

ref:: https://aws.amazon.com/blogs/networking-and-content-delivery/centralized-dns-management-of-hybrid-cloud-withamazon-route-53-and-aws-transit-gateway/



SAP-C02 · Q2

Question #2

A company is providing weather data over a REST-based API to several customers. The API is hosted by Amazon API Gateway and is integrated with different AWS Lambda functions for each API operation. The company uses Amazon Route 53 for DNS and has created a resource record of weather.example.com. The company stores data for the API in Amazon DynamoDB tables. The company needs a solution that will give the API the ability to fail over to a different AWS Region.

Which solution will meet these requirements?

  • A.
    Deploy a new set of Lambda functions in a new Region. Update the API Gateway API to use an edge-optimized API endpoint with Lambda functions from both Regions as targets. Convert the DynamoDB tables to global tables.
  • B.
    Deploy a new API Gateway API and Lambda functions in another Region. Change the Route 53 DNS record to a multivalue answer. Add both API Gateway APIs to the answer. Enable target health monitoring. Convert the DynamoDB tables to global tables.
  • C.
    Deploy a new API Gateway API and Lambda functions in another Region. Change the Route 53 DNS record to a failover record. Enable target health monitoring. Convert the DynamoDB tables to global tables.
  • D.
    Deploy a new API Gateway API in a new Region. Change the Lambda functions to global functions. Change the Route 53 DNS record to a multivalue answer. Add both API Gateway APIs to the answer. Enable target health monitoring. Convert the DynamoDB tables to global tables.

Answer: C

Based on the information provided, the best solution for implementing a multi-region failover capability for the company's REST API would be:

C. Deploy a new API Gateway API and Lambda functions in another Region. Change the Route 53 DNS record to a failover record. Enable target health monitoring. Convert the DynamoDB tables to global tables.

This approach provides a complete disaster recovery solution by:

Deploying the entire API infrastructure (API Gateway and Lambda functions) in a second region

Using Route 53 failover records with health monitoring to automatically redirect traffic when needed

Converting DynamoDB tables to global tables to ensure data consistency across regions

Option A is incomplete because it only deploys new Lambda functions in the new region and updates the existing API Gateway to use an edge-optimized endpoint. This doesn't provide true regional failover since the API Gateway itself would still be a single point of failure in one region.

The correct solution (C) creates a fully redundant setup across regions with automatic failover capabilities through Route 53 health checks and global tables for data replication.

Sources

Implementing multi-Region failover for Amazon API Gateway | AWS Compute Blog (https://aws.amazon.com/cn/blogs/compute/implementing-multi-region-failover-for-amazon-api-gateway/

Deploy a reference architecture that models a serverless active/passive workload with asynchronous replication of application data and failover from a primary to a secondary AWS Region - Multi-Region Application Architecture Solution ( https://docs.aws.amazon.com/solutions/latest/multi-region-application-architecture/welcome.html

AWS Backup vs global table/database for cost-effective RTO,RPO requirements | AWS re:Post (https://repost.aws/questions/QUWf0GuonKSvW8U2N4o8huHw/aws-backup-vs-global-table-database-for-cost-effective-rto-rpo-requirements

Configure custom health checks for DNS failover for an API Gateway API - Amazon API Gateway (https://docs.aws.amazon.com/apigateway/latest/developerguide/dns-failover.html

Community | Scale across borders: build a multi-region architecture while maintaining data residency (https://community.aws/content/2dhVhtsciD5gVBlCKUlHoszrDzU/scale-beyond-borders

SAP-C02 · Q3
Question #3

A company uses AWS Organizations with a single OU named Production to manage multiple accounts. All accounts are members of the Production OU. Administrators use deny list SCPs in the root of the organization to manage access to restricted services.

The company recently acquired a new business unit and invited the new unit’s existing AWS account to the organization. Once onboarded, the administrators of the new business unit discovered that they are not able to update existing AWS Config rules to meet the company’s policies.

Which option will allow administrators to make changes and continue to enforce the current policies without introducing additional long-term maintenance?

  • A.
    Remove the organization’s root SCPs that limit access to AWS Config. Create AWS Service Catalog products for the company’s standard AWS Config rules and deploy them throughout the organization, including the new account.
  • B.
    Create a temporary OU named Onboarding for the new account. Apply an SCP to the Onboarding OU to allow AWS Config actions. Move the new account to the Production OU when adjustments to AWS Config are complete.
  • C.
    Convert the organization’s root SCPs from deny list SCPs to allow list SCPs to allow the required services only. Temporarily apply an SCP to the organization’s root that allows AWS Config actions for principals only in the new account.
  • D.
    Create a temporary OU named Onboarding for the new account. Apply an SCP to the Onboarding OU to allow AWS Config actions. Move the organization’s root SCP to the Production OU. Move the new account to the Production OU when adjustments to AWS Config are complete.

Answer: D

To allow the new business unit's administrators to make changes to AWS Config rules while maintaining the existing policies, the solution is to create a temporary OU named Onboarding for the new account, as described in option D. By applying an SCP to this OU that allows AWS Config actions, the new account can adjust its AWS Config rules as needed. Once the adjustments are complete, moving the root SCP to the Production OU ensures that the current policies continue to be enforced across all accounts, and moving the new account to the Production OU integrates it with the rest of the organization while applying the same policies.

ref:https://docs.aws.amazon.com/whitepapers/latest/organizing-your-aws-environment/transitional-ou.html


SAP-C02 · Q4

Question #4

A company is running a two-tier web-based application in an on-premises data center. The application layer consists of a single server running a stateful application. The application connects to a PostgreSQL database running on a separate server. The application’s user base is expected to grow significantly, so the company is migrating the application and database to AWS. The solution will use Amazon Aurora PostgreSQL, Amazon EC2 Auto Scaling, and Elastic Load Balancing.

Which solution will provide a consistent user experience that will allow the application and database tiers to scale?

  • A.
    Enable Aurora Auto Scaling for Aurora Replicas. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.
  • B.
    Enable Aurora Auto Scaling for Aurora writers. Use an Application Load Balancer with the round robin routing algorithm and sticky sessions enabled.
  • C.
    Enable Aurora Auto Scaling for Aurora Replicas. Use an Application Load Balancer with the round robin routing and sticky sessions enabled.
  • D.
    Enable Aurora Scaling for Aurora writers. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.

Answer: C

Based on the information provided, the best solution for migrating the stateful application to AWS while ensuring scalability and a consistent user experience would be:

C. Enable Aurora Auto Scaling for Aurora Replicas. Use an Application Load Balancer with the round robin routing and sticky sessions enabled.

This solution is optimal because:

Aurora Auto Scaling for Aurora Replicas will allow the database tier to automatically scale read capacity based on demand, which is essential as the user base grows significantly.

The Application Load Balancer (ALB) is the appropriate choice for HTTP/HTTPS traffic of a web-based application, offering more advanced routing capabilities than a Network Load Balancer.

Sticky sessions are crucial for maintaining a consistent user experience with a stateful application, as they ensure that a user's session remains connected to the same EC2 instance throughout their session.

Round robin routing with the ALB will distribute incoming traffic evenly across the healthy EC2 instances in the Auto Scaling group, providing efficient load distribution.

Option A is less suitable because Network Load Balancers operate at the transport layer (TCP/UDP) and are typically used for extreme performance requirements rather than standard web applications. Additionally, NLBs don't natively support sticky sessions in the same way ALBs do, which is critical for this stateful application.

Sources

REL07-BP01 Use automation when obtaining or scaling resources - AWS Well-Architected Framework(https://docs.aws.amazon.com/wellarchitected/2023-10-03/framework/rel_adapt_to_changes_autoscale_adapt.html

HA and automatic scaling for ASP.NET Web Forms applications on AWS - AWS Prescriptive Guidance (https://docs.aws.amazon.com/prescriptive-guidance/latest/migration-asp-net-web-forms/ha-scaling.html

Hyperscaling Aurora MySQL-Compatible to handle sudden traffic growth - AWS Prescriptive Guidance (https://docs.aws.amazon.com/prescriptive-guidance/latest/hyperscale-aurora-mysql/introduction.html

Replatforming backend databases - AWS Prescriptive Guidance (https://docs.aws.amazon.com/prescriptive-guidance/latest/migration-replatforming-cots-applications/replatforming-backend-databases.html

Navigating the Cloud: Joby Aviation’s PLM migration to AWS | AWS for Industries (https://aws.amazon.com/cn/blogs/industries/navigating-the-cloud-joby-aviations-plm-migration-to-aws/

SAP-C02 · Q5
Question #5

A company uses a service to collect metadata from applications that the company hosts on premises. Consumer devices such as TVs and internet radios access the applications. Many older devices do not support certain HTTP headers and exhibit errors when these headers are present in responses. The company has configured an on-premises load balancer to remove the unsupported headers from responses sent to older devices, which the company identified by the User-Agent headers.

The company wants to migrate the service to AWS, adopt serverless technologies, and retain the ability to support older devices. The company has already migrated the applications into a set of AWS Lambda functions.

Which solution will meet these requirements?

  • A.
    Create an Amazon CloudFront distribution for the metadata service. Create an Application Load Balancer (ALB). Configure the CloudFront distribution to forward requests to the ALB. Configure the ALB to invoke the correct Lambda function for each type of request. Create a CloudFront function to remove the problematic headers based on the value of the User-Agent header.
  • B.
    Create an Amazon API Gateway REST API for the metadata service. Configure API Gateway to invoke the correct Lambda function for each type of request. Modify the default gateway responses to remove the problematic headers based on the value of the User-Agent header.
  • C.
    Create an Amazon API Gateway HTTP API for the metadata service. Configure API Gateway to invoke the correct Lambda function for each type of request. Create a response mapping template to remove the problematic headers based on the value of the User-Agent. Associate the response data mapping with the HTTP API.
  • D.
    Create an Amazon CloudFront distribution for the metadata service. Create an Application Load Balancer (ALB). Configure the CloudFront distribution to forward requests to the ALB. Configure the ALB to invoke the correctLambda function for each type of request. Create a Lambda@Edge function that will remove the problematic headers in response to viewer requests based on the value of the User-Agent header.

Answer: A

The company needs to migrate its metadata service to AWS with the following requirements:
  1. Serverless Architecture: The company wants to adopt serverless technologies.
  2. Backward Compatibility: Older consumer devices, which do not support certain HTTP headers, must still be supported.
  3. Header Removal Logic: Specific HTTP headers, identified by the User-Agent, must be removed for compatibility with older devices.

Options Analysis:

  • A: Creating an Amazon CloudFront distribution and an Application Load Balancer (ALB) allows requests to be routed efficiently. CloudFront can remove the problematic HTTP headers using a CloudFront function based on the User-Agent value. The ALB can invoke the appropriate Lambda function for request processing. This solution aligns well with the requirements and involves minimal effort.

  • B: Using an API Gateway REST API and configuring the gateway to handle header removal introduces unnecessary complexity. While functional, it requires creating additional mapping templates or modifying responses, which adds operational overhead compared to the simplicity of CloudFront and ALB.

  • C: Using an API Gateway HTTP API to remove headers requires managing response mapping templates and associating them with the HTTP API. Similar to option B, this adds complexity and operational effort.

  • D: Using a Lambda@Edge function with a CloudFront distribution is a viable alternative but adds latency since Lambda@Edge executes at the edge locations. This may impact performance compared to CloudFront functions, which are natively integrated and faster for lightweight tasks like header removal.

Key Benefits of Option A:

  • Seamless Header Removal: CloudFront functions provide a lightweight mechanism to remove headers based on the User-Agent value.
  • Efficient Routing: The ALB efficiently routes requests to the correct Lambda function for processing.
  • Serverless Design: Fully aligns with the serverless architecture requirement while ensuring backward compatibility.

Thus, Option A is the correct answer.

FAQ

How many practice questions are available for SAP-C02?

This question bank includes 529 SAP-C02 practice questions covering single and multiple choice, each with answers and explanations.

Are SAP-C02 practice questions available in Chinese and English?

Yes, SAP-C02 practice questions are provided in both Chinese and English.

Can I try SAP-C02 practice questions for free?

Yes. Free sample questions are available on this page, and the full question bank is available after signing up on Zhangxuetu.