📝 Drill SAP-C02 — pagi 2026-10-19
Set #41 · fokus Domain 2 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 2
An e-commerce company publishes order lifecycle events (created, paid, packed, shipped) at several thousand messages per second during sales. Events for the same order must be processed exactly once and in strict sequence, but events for different orders should be processed in parallel by a fleet of consumers. Which solution meets these requirements with the LEAST custom code?
A.
Use an Amazon SQS standard queue and have consumers buffer and sort events by timestamp in an Amazon DynamoDB table before processing.
B.
Use an Amazon SQS FIFO queue with high throughput mode enabled, set MessageGroupId to the order ID, and supply a deduplication ID for each event.
C.
Use an Amazon SQS FIFO queue and set the same MessageGroupId on every message so that all events are strictly ordered.
D.
Use an Amazon Kinesis Data Streams stream with a single shard and a single consumer application that checkpoints after each record.
2
Domain 2
A development team uses AWS CloudFormation to create short-lived test environments that include an Amazon RDS for PostgreSQL DB instance. Stacks are deleted at the end of each test cycle. A new compliance rule requires that a final copy of each test database be kept after the stack is deleted, but the company does not want to pay for running database instances that are no longer used. Which solution meets these requirements with the LEAST operational overhead?
A.
Add a Lambda-backed custom resource that calls CreateDBSnapshot when it receives a Delete request from CloudFormation.
B.
Set DeletionPolicy: Retain on the AWS::RDS::DBInstance resource.
C.
Enable deletion protection on the DB instance in the template.
D.
Set DeletionPolicy: Snapshot on the AWS::RDS::DBInstance resource.
3
Domain 2
A company uses AWS Organizations. The security team must deploy a baseline IAM role and a set of AWS Config rules to every account in the Workloads OU in three AWS Regions. Accounts that are added to the OU in the future must receive the baseline automatically, and accounts that leave the OU should have the resources removed. Which approach requires the LEAST operational overhead?
A.
Create a CloudFormation StackSet with service-managed permissions that targets the Workloads OU in the three Regions, with automatic deployment enabled and retain stacks disabled.
B.
Create a CloudFormation StackSet with self-managed permissions, create the administration and execution roles in every account, and add new accounts to the StackSet manually.
C.
Create an AWS CodePipeline pipeline in each account that deploys the baseline stack in each Region from a shared source repository.
D.
Create an Amazon EventBridge rule for the CreateAccount event that invokes a Lambda function to assume a role and create stacks in each Region of the new account.
4
Domain 2
A payments company stores customers, devices, cards, and IP addresses in Amazon RDS for MySQL. Fraud analysts need to find fraud rings by traversing relationships up to five hops deep (for example, cards that share devices with accounts that share IP addresses) with response times in milliseconds. The current recursive SQL joins take minutes and the query patterns vary widely. Which solution BEST meets the performance requirement?
A.
Add several RDS read replicas and route the fraud queries to the replicas.
B.
Migrate the data to Amazon DynamoDB and create global secondary indexes for each relationship type.
C.
Load the entities and relationships into Amazon Neptune and run the traversals with Gremlin or openCypher queries.
D.
Place Amazon ElastiCache for Redis in front of the database to cache the results of the join queries.
5
Domain 2
A self-managed database runs on Amazon EC2 with a 500 GiB io1 volume provisioned at 10,000 IOPS. Amazon CloudWatch shows sustained usage of about 8,000 IOPS and 400 MiB/s of throughput. The workload does not need io-class durability or sub-millisecond latency guarantees. The company wants to reduce storage cost while maintaining current performance and without resizing the volume. What should a solutions architect do?
A.
Modify the volume to gp3 and provision 10,000 IOPS and 500 MiB/s of throughput independently of the volume size.
B.
Modify the volume to gp2 and increase its size to about 3,334 GiB to obtain 10,000 baseline IOPS.
C.
Modify the volume to io2 Block Express and keep 10,000 provisioned IOPS.
D.
Modify the volume to st1 Throughput Optimized HDD to provide 500 MiB/s of throughput.
6
Domain 2
An analytics web application runs on EC2 instances in an Auto Scaling group. Each new instance takes about 12 minutes to become ready because it installs dependencies and loads a large reference dataset into local storage. Traffic spikes are sudden and unpredictable, and users see errors before new instances are in service. The company wants instances to enter service within a few minutes while minimizing the cost of idle capacity. Which solution meets these requirements?
A.
Raise the Auto Scaling group minimum capacity to the observed peak instance count.
B.
Configure a warm pool for the Auto Scaling group with instances kept in the Stopped state after they finish initialization by using a lifecycle hook.
C.
Replace the dynamic scaling policy with a predictive scaling policy.
D.
Change to a larger instance type so that each instance can handle more requests during scale-out.
7
Domain 1
A company has 40 VPCs across multiple AWS accounts connected to its data center through AWS Transit Gateway and AWS Direct Connect. Workloads in every VPC must resolve names in the on-premises domain corp.example.internal, and on-premises servers must resolve records in Route 53 private hosted zones. Which solution meets these requirements with the LEAST operational overhead?
A.
Deploy a pair of BIND DNS forwarders on EC2 instances in every VPC and configure conditional forwarding in both directions.
B.
Change the DHCP options set in every VPC to use the on-premises DNS servers as the only domain name servers.
C.
Create Route 53 Resolver inbound and outbound endpoints in a central networking VPC, create a forwarding rule for corp.example.internal, share the rule with AWS RAM and associate it with all VPCs, and configure on-premises conditional forwarders to the inbound endpoint IP addresses.
D.
Create a private hosted zone for corp.example.internal, copy the on-premises records into it with a scheduled script, and associate the zone with all VPCs.
8
Domain 1
A company is onboarding a third-party SaaS cost-monitoring vendor that needs read-only access to resources in 25 of the company's AWS accounts. The security team prohibits long-term credentials and wants to protect against the confused deputy problem, because the vendor serves many other customers from the same AWS account. Which solution meets these requirements?
A.
Create an IAM user with read-only permissions in each account and provide the access keys to the vendor through AWS Secrets Manager.
B.
Create an IAM role in each account whose trust policy allows any principal, restricted by an aws:SourceIp condition for the vendor's IP ranges.
C.
Add resource-based policies to every resource that grant read access to the vendor's AWS account ID.
D.
Create an IAM role in each account that trusts the vendor's AWS account and requires an sts:ExternalId condition with the unique value that the vendor assigns to the company.
9
Domain 3
A company manages 2,000 EC2 instances across 30 accounts and four Regions in AWS Organizations. All instances already run the SSM Agent with the required instance profile. The operations team must scan for missing patches daily, install patches monthly during a defined maintenance window, and view compliance centrally. Which solution requires the LEAST operational overhead?
A.
Configure cron jobs through user data on every instance to run the OS package manager and send logs to Amazon CloudWatch Logs.
B.
Use EC2 Image Builder to build patched AMIs monthly and replace every instance through a manual instance refresh in each account.
C.
Deploy a Lambda function in each account and Region that invokes Run Command with AWS-RunPatchBaseline on a schedule and writes results to Amazon S3.
D.
Create a patch policy with Systems Manager Quick Setup from the management account (or delegated administrator) that targets the organization in all four Regions, with separate scan and install schedules.
10
Domain 4
Choose 2
A company wants to move a line-of-business application from Microsoft SQL Server to Amazon Aurora PostgreSQL to eliminate SQL Server licensing costs. The application uses T-SQL stored procedures and connects with a SQL Server driver over the TDS protocol. The development team has limited capacity and wants to minimize application code changes. Which combination of steps should a solutions architect recommend? (Choose TWO)
A.
Rewrite all stored procedures in PL/pgSQL and replace the SQL Server driver with a PostgreSQL driver before migrating.
B.
Migrate to Amazon RDS Custom for SQL Server with bring-your-own-license.
C.
Create an Aurora PostgreSQL cluster with Babelfish enabled and point the application's existing SQL Server driver to the Babelfish TDS endpoint.
D.
Use the AWS Schema Conversion Tool to convert the schema to Amazon Redshift and run the application against Redshift.
E.
Run Babelfish Compass against the existing database DDL to identify T-SQL features that are not supported before migrating.
0/10 terjawab
Periksa