📝 Drill SAP-C02 — sore 2026-11-15
Set #95 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
A company runs its order-management database on Amazon RDS for PostgreSQL as a Multi-AZ DB instance deployment in a single Region. During business hours, analysts run heavy reporting queries that slow down the primary. The company must keep automatic failover across Availability Zones, offload the reporting traffic, and minimize failover time. The solution must require the LEAST operational overhead. Which solution meets these requirements?
A.
Point the reporting tool at the endpoint of the existing standby instance in the Multi-AZ DB instance deployment.
B.
Create a cross-Region read replica and direct the reporting queries to it.
C.
Move the database to an RDS Multi-AZ DB cluster deployment with two readable standbys and point the reporting tool at the cluster reader endpoint.
D.
Scale the primary to a larger instance class and enable Performance Insights to tune the reporting queries.
2
Domain 2
A development team uses AWS CloudFormation to create and delete short-lived test environments several times a week. Each stack contains an Amazon RDS DB instance. A new compliance rule requires that a final snapshot of the database is preserved whenever the stack is deleted or whenever an update causes the DB instance to be replaced. The team must still be able to delete stacks freely. Which solution meets these requirements?
A.
Set DeletionPolicy: Snapshot and UpdateReplacePolicy: Snapshot on the AWS::RDS::DBInstance resource.
B.
Enable termination protection on every test stack.
C.
Apply a stack policy that denies Update:Delete and Update:Replace actions on the DB instance.
D.
Enable automated backups on the DB instance with a 35-day retention period.
3
Domain 2
A company exposes a serverless API through Amazon API Gateway backed by AWS Lambda functions defined with AWS SAM. The company wants each new function version to receive 10% of traffic for 10 minutes before receiving all traffic. If the function's error-rate CloudWatch alarm enters the ALARM state during the deployment, traffic must automatically return to the previous version. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable API Gateway canary release settings on the stage at 10% and have an operator promote or roll back the canary after reviewing metrics.
B.
Use a Lambda alias with AutoPublishAlias and a DeploymentPreference of Canary10Percent10Minutes in SAM, referencing the CloudWatch alarm so AWS CodeDeploy shifts traffic and rolls back automatically.
C.
Deploy two API Gateway stages and use Amazon Route 53 weighted records to send 10% of traffic to the new stage.
D.
Deploy a second CloudFormation stack for the new version and manually update the API integration after 10 minutes.
4
Domain 2
Choose 2
An e-commerce company's order service synchronously calls three downstream services: inventory, shipping, and analytics. When the analytics service is slow or unavailable, customer orders fail. The company needs to isolate failures so that each downstream service processes order events independently at its own pace, and failed messages must be retained for investigation. Which combination of steps meets these requirements? (Choose TWO)
A.
Publish order events to an Amazon SNS topic and subscribe a separate Amazon SQS queue for each downstream service.
B.
Place an Application Load Balancer in front of the downstream services and increase the order service's request timeouts.
C.
Send order events to a single Amazon SQS standard queue that all three downstream services poll.
D.
Configure a dead-letter queue with a redrive policy on each downstream SQS queue.
E.
Use an AWS Step Functions Express workflow to call the three services in parallel synchronously.
5
Domain 2
A research company stores large datasets in Amazon S3 buckets in us-east-1, eu-west-1, and ap-southeast-1, kept in sync with S3 replication. Client applications worldwide upload and download objects by using the S3 API. The company wants a single global endpoint that routes each request to the lowest-latency bucket and fails over automatically if a Regional bucket becomes unavailable, with minimal application changes. Which solution meets these requirements?
A.
Create an Amazon CloudFront distribution with an origin group that contains the three buckets.
B.
Create Amazon Route 53 latency-based CNAME records that point to each bucket's Regional endpoint.
C.
Deploy AWS Global Accelerator in front of EC2-based proxy fleets in each Region that forward requests to the local bucket.
D.
Create an S3 Multi-Region Access Point over the three buckets with failover configuration, and update the applications to use the access point ARN.
6
Domain 2
A company has a steady baseline of compute usage on Amazon EC2 across several instance families and two Regions. Over the next 12 months, the company plans to move part of the workload to Amazon ECS on AWS Fargate and some jobs to AWS Lambda. The company wants a commitment-based discount on its baseline spend that continues to apply as the workload changes. Which purchasing option is MOST cost-effective while meeting these requirements?
A.
EC2 Instance Savings Plans for the most-used instance family in each Region.
B.
3-year Standard Reserved Instances for the current instance types.
C.
Compute Savings Plans sized to the hourly baseline recommended by AWS Cost Explorer.
D.
Convertible Reserved Instances that can be exchanged as instance families change.
7
Domain 1
A company uses AWS Control Tower to govern its multi-account environment. Application teams frequently request new AWS accounts, and every new account must be enrolled in the governed organization with a standard VPC configuration and baseline IAM roles. The company wants teams to request accounts through a self-service catalog. Which solution meets these requirements with the LEAST operational overhead?
A.
Write a script that calls the AWS Organizations CreateAccount API and then manually deploys CloudFormation templates into each new account.
B.
Use Control Tower Account Factory through AWS Service Catalog, with Account Factory Customization (AFC) blueprints for the VPC and IAM baseline.
C.
Create accounts manually in the Organizations console and deploy the baseline with self-managed CloudFormation StackSets permissions.
D.
Create accounts in the Organizations console and attach SCPs that require teams to build the standard VPC themselves.
8
Domain 3
A company's AWS Lambda functions connect directly to an Amazon RDS for MySQL DB instance. During traffic spikes, Lambda scales out and the database returns "Too many connections" errors, causing failed requests. The company wants to fix the problem with minimal code changes and without reducing the API's ability to scale. Which solution meets these requirements?
A.
Increase the max_connections parameter and move the DB instance to a larger instance class.
B.
Migrate the data to Amazon DynamoDB and rewrite the data access layer.
C.
Set reserved concurrency on the Lambda functions to a low value that matches the database connection limit.
D.
Place an Amazon RDS Proxy in front of the DB instance and change the functions' connection string to the proxy endpoint.
9
Domain 4
A company is planning a migration of 400 Windows and Linux servers from its on-premises VMware environment to AWS. To build move groups for wave planning, the migration team needs data about running processes and the network connections between servers so that dependent applications move together. Which solution meets these requirements?
A.
Install the AWS Application Discovery Service Discovery Agent on the servers and review the server dependency network diagrams in AWS Migration Hub.
B.
Deploy the Application Discovery Service Agentless Collector in vCenter and use its VM utilization data to infer dependencies.
C.
Run Migration Evaluator to produce a total cost of ownership report for the servers.
D.
Register the servers as AWS Config on-premises resources and query their configuration history.
10
Domain 1
A company runs dozens of HTTP microservices owned by different teams in separate AWS accounts and VPCs within AWS Organizations. Services must call each other across accounts with path-based routing, and each service owner must be able to authorize callers by IAM principal. The networking team wants to avoid managing route tables, peering connections, or per-service load balancer endpoints. Which solution meets these requirements with the LEAST operational overhead?
A.
Connect all VPCs to an AWS Transit Gateway, manage TGW route tables, and control access with security groups.
B.
Create an Amazon VPC Lattice service network, share it through AWS RAM, associate the VPCs and services, and apply IAM auth policies.
C.
Build a full mesh of VPC peering connections and authorize callers with network ACLs.
D.
Expose each service through a Network Load Balancer and AWS PrivateLink endpoint service and create interface endpoints in every consumer VPC.
0/10 terjawab
Periksa