📝 Drill SAP-C02 — pagi 2026-11-23
Set #110 · fokus Domain 4 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 4
A retailer is decomposing a monolithic order system into microservices. Order events must reach the fraud service only when the order total exceeds $1,000 and the shipping service only for physical goods. The same events must also be sent to a third-party SaaS analytics HTTPS endpoint, and the team needs to replay past events when testing new consumers. New consumers must be added without changing producer code. Which solution meets these requirements with the LEAST operational overhead?
A.
Publish events to an Amazon SNS standard topic with an Amazon SQS queue per consumer. Have each consumer discard irrelevant messages, and run a Lambda function that forwards a copy of every message to the SaaS endpoint and stores it in S3 for replay.
B.
Publish events to an Amazon EventBridge custom event bus. Create one rule per consumer with content-based event patterns (including numeric matching), use an API destination for the SaaS endpoint, and enable an event archive for replay.
C.
Publish events to a single Amazon SQS queue. Have each consumer poll the queue and use message attributes to select only the messages it needs, and send failed selections to a dead-letter queue for replay.
D.
Publish events to Amazon Kinesis Data Streams. Attach a Lambda consumer per service that filters records in code, plus another Lambda function that calls the SaaS endpoint, and reprocess old records by resetting iterators.
2
Domain 4
A company modernized a nightly import job into an Amazon SQS queue processed by an AWS Lambda function. During peaks, Lambda scales to hundreds of concurrent executions and overwhelms a partner API that accepts at most 20 concurrent requests. Messages must not be lost or sent to the dead-letter queue prematurely, and other Lambda functions in the account must not be affected. Which solution meets these requirements with the LEAST operational overhead?
A.
Set reserved concurrency of 20 on the Lambda function so that excess invocations are throttled and messages return to the queue.
B.
Increase the queue visibility timeout to 12 hours and raise the event source mapping batch size to 10,000 messages.
C.
Replace the Lambda consumer with an AWS Step Functions Express workflow that calls the partner API, triggered by an EventBridge Pipe.
D.
Configure maximum concurrency of 20 on the SQS event source mapping for the Lambda function.
3
Domain 4
A company runs a 4 TB on-premises Oracle database with many stored procedures and wants to migrate to Amazon Aurora PostgreSQL to eliminate licensing costs. The business allows a maximum of 30 minutes of downtime during cutover. Which approach meets these requirements?
A.
Use AWS Schema Conversion Tool to convert the schema and stored procedures, then use AWS DMS with a full load plus change data capture (CDC) task and cut over once replication lag is near zero.
B.
Use AWS DMS alone with a full load plus CDC task and let DMS automatically create the target schema, including stored procedures and triggers.
C.
Export the database with Oracle Data Pump to Amazon S3 and import the dump files directly into Aurora PostgreSQL during a maintenance window.
D.
Rehost the Oracle server with AWS Application Migration Service, then convert the database engine to PostgreSQL in place on the EC2 instance.
4
Domain 4
An internal reporting application uses a MySQL database that runs complex joins. Usage is unpredictable: a few bursts of heavy activity each week and almost no traffic otherwise. The company wants to minimize cost and avoid managing database capacity while keeping the relational model. Which solution is MOST cost-effective?
A.
Migrate the data to Amazon DynamoDB with on-demand capacity and rewrite the reports to use Scan operations.
B.
Migrate to an Amazon Aurora MySQL provisioned cluster on db.r6g.large instances and purchase Reserved Instances.
C.
Migrate to Amazon Aurora MySQL Serverless v2 with a low minimum ACU setting so capacity scales automatically with demand.
D.
Migrate to Amazon ElastiCache for Redis as the primary data store and enable data persistence.
5
Domain 4
A company is migrating applications to Amazon EKS and stores images in Amazon ECR. The security team requires that images be scanned for both operating system and programming language package vulnerabilities, be automatically rescanned when new CVEs are published, and have findings available centrally. Which solution meets these requirements with the LEAST operational overhead?
A.
Enable ECR basic scanning with scan on push for all repositories.
B.
Enable ECR enhanced scanning with Amazon Inspector and configure continuous scanning for the repositories.
C.
Add an open-source scanner step to AWS CodeBuild and run a nightly job that rescans every image in ECR.
D.
Enable Amazon GuardDuty EKS Runtime Monitoring on all clusters.
6
Domain 4
A company runs a monolithic web application on Amazon EC2 behind an Application Load Balancer. It wants to incrementally replace the payments module with a new microservice on Amazon ECS on AWS Fargate, shifting /payments traffic gradually and rolling back within minutes if errors occur. All other paths must continue to reach the monolith. Which solution meets these requirements?
A.
Create Amazon Route 53 weighted records that split traffic for the application domain between the monolith and the new service.
B.
Rewrite the entire monolith as microservices and perform a single big-bang cutover during a maintenance window.
C.
Place Amazon CloudFront in front of the ALB and use Lambda@Edge to look up the target for every request in a DynamoDB table.
D.
Add an ALB listener rule for the /payments path that forwards to weighted target groups (monolith and the new ECS service), keeping the default rule pointed at the monolith, and adjust the weights to shift or roll back traffic.
7
Domain 1
Choose 3
A company uses AWS Organizations. For all accounts in the Production OU, every new EC2 instance and EBS volume must have a CostCenter tag, creation without the tag must be blocked, and only values from an approved list may be used. Which combination of actions meets these requirements? (Choose TWO)
A.
Deploy the AWS Config required-tags managed rule with an automatic remediation that terminates untagged resources.
B.
Create a tag policy that defines the CostCenter key with the approved values, enable enforcement for ec2:instance and ec2:volume, and attach it to the Production OU.
C.
Create cost categories in AWS Cost Explorer that group resources by the CostCenter tag.
D.
Attach an SCP to the Production OU that denies ec2:RunInstances and ec2:CreateVolume when the aws:RequestTag/CostCenter condition key is null.
E.
Attach a permissions boundary to every IAM role in the production accounts that requires the CostCenter tag.
8
Domain 2
A media company must replicate all new objects from an S3 bucket in us-east-1 to a bucket in eu-west-1. A compliance requirement states that 99.99% of objects must be replicated within 15 minutes, and the operations team must be alerted when objects miss the threshold. Which solution meets these requirements with the LEAST operational overhead?
A.
Configure S3 Cross-Region Replication with S3 Replication Time Control enabled, turn on replication metrics, and subscribe to S3 event notifications for objects that exceed the replication threshold.
B.
Configure S3 Cross-Region Replication without Replication Time Control and create a CloudWatch alarm on bucket object count differences.
C.
Use an S3 event notification to invoke a Lambda function that copies each new object to the destination bucket.
D.
Schedule an AWS DataSync task every 10 minutes to copy new objects between the buckets.
9
Domain 3
A company uses AWS Compute Optimizer to rightsize hundreds of EC2 instances. Several memory-intensive applications are receiving downsizing recommendations that would cause out-of-memory failures, because the recommendations consider only CPU, disk, and network utilization. The company wants more accurate recommendations with the LEAST effort. What should a solutions architect do?
A.
Activate the enhanced infrastructure metrics feature in Compute Optimizer for all accounts.
B.
Switch to the AWS Trusted Advisor Low Utilization Amazon EC2 Instances check.
C.
Install the CloudWatch agent on the instances by using Systems Manager so that memory utilization metrics are published and used by Compute Optimizer.
D.
Use the AWS Cost Explorer rightsizing recommendations instead of Compute Optimizer.
10
Domain 3
An e-commerce company runs Amazon Aurora MySQL with one writer and two Aurora Replicas. During unpredictable flash sales, read traffic spikes and the replicas reach 95% CPU, while the writer stays at 30%. The application already uses the cluster reader endpoint. Which solution handles the spikes MOST cost-effectively?
A.
Configure Aurora Auto Scaling with a target tracking policy on average reader CPU utilization, with a minimum of two and a maximum of ten Aurora Replicas.
B.
Scale the writer instance to a larger instance class so it can absorb read traffic.
C.
Add eight more Aurora Replicas permanently to cover the peak load.
D.
Migrate the database to an Amazon RDS for MySQL Multi-AZ DB cluster with two readable standbys.
0/10 terjawab
Periksa