Free AWS Certified Solutions Architect - Professional (SAP-C02) Practice Questions
200 free questions · Answer explanations · No signup required
View examination details, outline and sourcesLoading selected examination banks…
Sample Practice Questions
Try these 10 sample questions from the AWS Certified Solutions Architect - Professional (SAP-C02) practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.
1A company needs to interconnect many VPCs and its on-premises network through a central routing hub. Which AWS networking component directly serves that role?
- A. A transit gateway with VPC and network attachments
- B. A VPC peering connection between each VPC pair
- C. A Direct Connect private virtual interface per subnet
- D. A Route 53 Resolver endpoint in each VPC
Answer: A
Explanation: AWS states, "AWS Transit Gateway is a network transit hub used to interconnect virtual private clouds (VPCs) and on-premises networks." That is the central connectivity role in the question; peering is pairwise, while the other options do not supply the hub.
Reference: What is AWS Transit Gateway for Amazon VPC? — What is AWS Transit Gateway for Amazon VPC?
2A production CloudFormation update might replace a critical resource. The team must inspect the proposed changes before deciding whether to apply them. What should it create?
- A. A CloudFormation change set
- B. A CloudFormation drift detection run
- C. A stack termination protection setting
- D. A CloudWatch rollback trigger
Answer: A
Explanation: AWS says, "Change sets allow you to preview how proposed changes to a stack might impact your running resources" and CloudFormation makes the changes only when the set is executed. Drift detection checks existing drift, termination protection concerns deletion, and rollback triggers react to alarms.
Reference: Update CloudFormation stacks using change sets — Update CloudFormation stacks using change sets, introduction
3Operators receive separate pages whenever several related CloudWatch metric alarms enter ALARM together. They want one notification only when the required alarm conditions are met. Which CloudWatch alarm design should they use?
- A. Create a separate alarm for each metric and notify on all.
- B. Create a composite alarm with a rule over the metric alarms.
- C. Create a single metric filter over archived log files.
- D. Create an anomaly detector for each unrelated metric.
Answer: B
Explanation: AWS states, "A composite alarm includes a rule expression that takes into account the alarm states of other alarms that you have created." It also says, "Using composite alarms can reduce alarm noise." Notify from the composite when the specified combination holds.
Reference: Using Amazon CloudWatch alarms — Using Amazon CloudWatch alarms, composite alarms
4A company uses several AWS migration tools and wants one place to view the migration status of each application and its servers. Which service directly provides that portfolio-level tracking?
- A. AWS Migration Hub
- B. AWS Application Migration Service
- C. AWS DataSync
- D. AWS Database Migration Service
Answer: A
Explanation: AWS says Migration Hub "provides a single place to discover your existing servers, plan migrations, and track the status of each application migration." The other services perform particular transfers or migrations; Migration Hub aggregates status across them.
5An architect is segmenting traffic on a transit gateway using several transit gateway route tables. How many of those route tables can a single attachment be associated with at one time?
- A. Zero, because attachments only propagate routes
- B. Exactly one route table
- C. One route table for each destination VPC
- D. Every route table that receives its propagated routes
Answer: B
Explanation: The transit gateway guide says, "Each attachment is associated with exactly one route table." Propagation can affect routes in tables, but it does not make the attachment associated with several tables.
Reference: What is AWS Transit Gateway for Amazon VPC? — Transit gateway concepts — Associations
6A CloudFormation stack update must be rolled back automatically if a specified application health alarm enters ALARM during the deployment or monitoring period. Which mechanism should be configured?
- A. A change set preview of the proposed stack update
- B. A CloudFormation rollback trigger for the CloudWatch alarm
- C. Termination protection on the CloudFormation stack
- D. A drift detection operation after deployment
Answer: B
Explanation: AWS states, "If any of the alarms goes to ALARM state during the stack operation or the monitoring period, CloudFormation rolls back the entire stack operation." A rollback trigger links this alarm to the update; the alternatives do not initiate alarm-driven rollback.
Reference: Roll back your CloudFormation stack on alarm breach with rollback triggers — Roll back your CloudFormation stack on alarm breach with rollback triggers, introduction
7An application writes error events to a CloudWatch Logs Standard log group. The team needs a numerical count of matching new events that can drive a CloudWatch alarm. What should it configure?
- A. A CloudWatch Logs metric filter.
- B. A CloudWatch Logs retention period.
- C. A CloudTrail event history search.
- D. A CloudFormation change set.
Answer: A
Explanation: AWS says, "CloudWatch Logs uses these metric filters to turn log data into numerical CloudWatch metrics that you can graph or set an alarm on." A filter pattern on the Standard log group can publish the count needed for the alarm.
Reference: Creating metrics from log events using filters — Creating metrics from log events using filters, introduction
8Before grouping on-premises servers into migration applications, an architect needs their network connections to identify dependencies. Which discovery data is useful for that assessment?
- A. Server network connection data from AWS Application Discovery Service
- B. Only the AWS bill for new target instances
- C. Only the application deployment package size
- D. Only the target account's IAM role inventory
Answer: A
Explanation: AWS explains that Application Discovery Service can export "data about the network connections that exist between servers" and that this information helps determine network dependencies. Billing, package size, and target IAM inventory cannot reveal on-premises inter-server communication.
Reference: What is AWS Application Discovery Service? — Server discovery
9A VPC is attached to a transit gateway, but instances still cannot send traffic for a remote VPC to that gateway. Which VPC-side routing action is required?
- A. Propagate transit gateway routes automatically into every subnet route table
- B. Associate each subnet directly with the transit gateway route table
- C. Add a static VPC route for the remote destination pointing to the transit gateway
- D. Create a Route 53 forwarding rule for the remote VPC CIDR
10A CodePipeline pipeline runs in one Region but must perform a deploy action in another Region. What artifact-store design does CodePipeline require?
- A. Only the pipeline-Region bucket for all Regions
- B. Only a bucket in the destination action Region
- C. A pipeline-Region bucket and a bucket in each action Region
- D. One bucket in each Availability Zone of the pipeline Region
Answer: C
Explanation: AWS states, "you must have an artifact bucket in the pipeline Region and then you must have one artifact bucket per Region where you plan to execute an action." The other layouts omit a required Region or substitute Availability Zones for Regions.
Reference: Add a cross-region action in CodePipeline — Add a cross-region action in CodePipeline, artifact bucket requirement
Topics in this practice bank
These topics describe the available practice for AWS Certified Solutions Architect - Professional (SAP-C02). Review the examination outline and its sources for scope and allocation details.
Design Solutions for Organizational Complexity
- Architect network connectivity strategies
- Prescribe security controls
- Design reliable and resilient architectures
- Design a multi-account AWS environment
- Determine cost optimization and visibility strategies
Design for New Solutions
- Design a deployment strategy to meet business requirements
- Design a solution to ensure business continuity
- Determine security controls based on requirements
- Design a strategy to meet reliability requirements
- Design a solution to meet performance objectives
- Determine a cost optimization strategy to meet solution goals and objectives
Continuous Improvement for Existing Solutions
- Determine a strategy to improve overall operational excellence
- Determine a strategy to improve security
- Determine a strategy to improve performance
- Determine a strategy to improve reliability
- Identify opportunities for cost optimizations
Accelerate Workload Migration and Modernization
- Select existing workloads and processes for potential migration
- Determine the optimal migration approach for existing workloads
- Determine a new architecture for existing workloads
- Determine opportunities for modernization and enhancements
How to use these free practice questions
Choose an answer, check the explanation, and review your progress by chapter. Practice questions and explanations are free to access without signing up.
These are independent study questions, not actual examination items. For examination requirements and official information, view AWS Certified Solutions Architect - Professional (SAP-C02) details.