📝 Drill SAP-C02 — sore 2026-10-27
Set #58 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
An e-commerce company publishes order lifecycle events that must be processed in strict order for each customer. Events for different customers can be processed in parallel. Peak traffic reaches 20,000 messages per second, and the company wants a fully managed solution with the LEAST operational overhead. Which solution meets these requirements?
A.
Use an Amazon SQS standard queue. Add a sequence number to each message and have consumers reorder messages by using a DynamoDB table before processing.
B.
Use an Amazon SQS FIFO queue with high throughput mode enabled. Set the customer ID as the message group ID.
C.
Use an Amazon SQS FIFO queue with a single message group ID for all messages, and use batching on producers and consumers to increase throughput.
D.
Use an Amazon MQ for Apache ActiveMQ broker with a single queue and an exclusive consumer to guarantee ordering.
2
Domain 2
A gaming company stores leaderboard data in Amazon DynamoDB. The workload is read-heavy, the same items are read repeatedly, and some hot keys are being throttled during tournaments. The company needs microsecond read latency and wants to make minimal changes to application code. Which solution meets these requirements?
A.
Switch the table to on-demand capacity mode so DynamoDB absorbs the read spikes automatically.
B.
Deploy an Amazon ElastiCache for Redis cluster and rewrite the data access layer to implement a cache-aside pattern.
C.
Add global secondary indexes with the same keys so reads are spread across more partitions.
D.
Deploy a DynamoDB Accelerator (DAX) cluster and replace the DynamoDB client with the DAX client in the application.
3
Domain 2
A company runs a serverless API on AWS Lambda behind Amazon API Gateway, deployed with AWS SAM. New function versions must receive 10% of traffic for 10 minutes before receiving all traffic, and the deployment must roll back automatically if the function's error-rate alarm enters the ALARM state. Which solution meets these requirements with the LEAST operational overhead?
A.
Use a Lambda alias with AutoPublishAlias, and configure a DeploymentPreference of type Canary10Percent10Minutes in AWS CodeDeploy with the CloudWatch error alarm attached.
B.
Create two API Gateway stages for the old and new versions and shift traffic with Amazon Route 53 weighted records, adjusting weights manually after 10 minutes.
C.
Update the $LATEST version in place and use reserved concurrency to limit how many invocations run the new code during the first 10 minutes.
D.
Enable an API Gateway canary release on the stage with 10% of traffic, and run a script that checks CloudWatch metrics and promotes the canary after 10 minutes.
4
Domain 2
A company runs a production Amazon RDS for PostgreSQL Multi-AZ DB instance in one AWS Region. A new regulation requires the ability to recover the database in a second Region with an RPO of 1 hour and an RTO of 8 hours. The company wants the MOST cost-effective solution. Which solution meets these requirements?
A.
Create a cross-Region read replica in the second Region and promote it during a disaster.
B.
Migrate the database to Amazon Aurora PostgreSQL and configure an Aurora global database with a secondary Region.
C.
Enable cross-Region automated backups replication to the second Region, and perform a point-in-time restore in that Region during a disaster.
D.
Schedule an AWS Lambda function to take a daily manual snapshot and copy it to the second Region.
5
Domain 2
Choose 2
A media company serves its website through Amazon CloudFront. The cache hit ratio is low because the cache key includes all query strings and several headers such as User-Agent, even though the origin only varies content by two query string parameters. Large JavaScript, CSS, and JSON responses are also delivered uncompressed. The company wants to improve performance and reduce origin load with the LEAST operational overhead. Which actions should a solutions architect take? (Choose TWO)
A.
Create a cache policy that includes only the two required query string parameters in the cache key and excludes unnecessary headers.
B.
Set the minimum and default TTL values to 0 so that users always receive the freshest content from the origin.
C.
Enable Gzip and Brotli compression in the cache policy and turn on Compress objects automatically for the cache behavior.
D.
Deploy a Lambda@Edge function on origin response events to gzip response bodies before CloudFront caches them.
E.
Add more Amazon EC2 instances behind the origin Application Load Balancer to handle the cache misses.
6
Domain 2
A self-managed database on Amazon EC2 uses a 600 GiB gp2 EBS volume. The workload now needs a sustained 12,000 IOPS and 500 MiB/s of throughput, but the data size will stay around 600 GiB. An engineer proposes enlarging the gp2 volume to 4 TiB to get more baseline IOPS. Which solution meets the performance requirements MOST cost-effectively?
A.
Increase the gp2 volume size to 4,000 GiB to raise the baseline IOPS to 12,000.
B.
Modify the volume to gp3 with Elastic Volumes, keep 600 GiB, and provision 12,000 IOPS and 500 MiB/s of throughput.
C.
Migrate the volume to io2 Block Express and provision 64,000 IOPS to leave headroom for growth.
D.
Change the volume to st1 Throughput Optimized HDD, which provides up to 500 MiB/s of throughput.
7
Domain 1
A company with 200 AWS accounts in AWS Organizations lets application teams create their own VPCs. Overlapping CIDR blocks are now preventing teams from connecting VPCs through a transit gateway. The networking team needs to centrally allocate non-overlapping CIDRs per environment and prevent teams from creating VPCs outside the approved ranges, with the LEAST operational overhead. Which solution meets these requirements?
A.
Maintain the approved CIDR ranges in a shared spreadsheet and use an AWS Config custom rule to report VPCs that overlap with existing ranges.
B.
Create an Amazon EventBridge rule for CreateVpc API calls that invokes an AWS Lambda function to delete any VPC whose CIDR overlaps an existing VPC.
C.
Deploy all VPCs centrally through AWS CloudFormation StackSets with hardcoded CIDR blocks for each account.
D.
Enable Amazon VPC IP Address Manager (IPAM) integrated with Organizations, create per-environment pools, share them with OUs by using AWS RAM, and apply an SCP that requires VPCs to be created from an IPAM pool.
8
Domain 3
A company accesses Amazon EC2 instances in private subnets through SSH bastion hosts that use shared key pairs. A security audit requires the company to remove all inbound management ports, control access with IAM policies, and record full session activity for review. Which solution meets these requirements with the LEAST operational overhead?
A.
Use AWS Systems Manager Session Manager with the SSM Agent and an instance profile, add VPC interface endpoints for Systems Manager, enable session logging to Amazon S3 or CloudWatch Logs, and remove port 22 from all security groups.
B.
Deploy an EC2 Instance Connect Endpoint in each VPC and allow port 22 from the endpoint security group to the instances.
C.
Deploy AWS Client VPN for administrators and restrict the bastion host security groups to the Client VPN CIDR range.
D.
Store the key pairs in AWS Secrets Manager with automatic rotation and require administrators to retrieve keys before connecting to the bastion hosts.
9
Domain 4
A company runs an on-premises SFTP server that 300 external partners use to upload files, which are then copied to Amazon S3 for processing. The company wants to retire the server. Partners must continue using SFTP with their existing SSH keys and the same hostname, and the solution must require the LEAST operational overhead. Which solution meets these requirements?
A.
Run OpenSSH on Amazon EC2 instances in an Auto Scaling group and mount the S3 bucket with s3fs.
B.
Deploy an Amazon S3 File Gateway and give partners access to the gateway over SFTP.
C.
Create an AWS Transfer Family SFTP server with Amazon S3 as the storage backend, import partner users and their SSH public keys, and point the existing hostname to the server endpoint with Amazon Route 53.
D.
Use AWS DataSync agents at each partner site to transfer files directly to the S3 bucket.
10
Domain 4
A company wants to migrate a Microsoft SQL Server application to AWS and eliminate SQL Server licensing costs. The application contains extensive T-SQL stored procedures and uses the TDS protocol through existing SQL Server drivers. The company wants to minimize application code changes. Which solution meets these requirements?
A.
Migrate to Amazon RDS for SQL Server with the License Included model.
B.
Convert the schema and stored procedures to Amazon Aurora MySQL by using AWS SCT, and update the application to use MySQL drivers.
C.
Redesign the data model for Amazon DynamoDB and rewrite the stored procedures as AWS Lambda functions.
D.
Migrate to Amazon Aurora PostgreSQL-Compatible Edition with Babelfish enabled, assess compatibility with Babelfish Compass, and point the application at the Babelfish TDS endpoint.
0/10 terjawab
Periksa