📝 Drill SAP-C02 — pagi 2026-10-28
Set #59 · fokus Domain 4 · 10 soal · pilih jawaban lalu tekan
Periksa
1
Domain 4
A company runs an 8 TB Oracle Database 19c OLTP system on premises with hundreds of PL/SQL stored procedures and triggers. The company wants to move to Amazon Aurora PostgreSQL-Compatible Edition to eliminate Oracle licensing costs. An existing AWS Direct Connect link has sufficient bandwidth, and the business allows no more than 15 minutes of downtime at cutover. Which approach meets these requirements?
A.
Use the AWS Schema Conversion Tool (AWS SCT) to convert the schema and code objects and apply them to Aurora PostgreSQL. Then run an AWS DMS task with full load plus change data capture (CDC) and cut over when replication latency is near zero.
B.
Create an AWS DMS task with full load plus CDC directly to Aurora PostgreSQL with the target table preparation mode set to create tables, and let AWS DMS convert the stored procedures and triggers automatically.
C.
Export the database with Oracle Data Pump, upload the dump files to Amazon S3, and import them into Aurora PostgreSQL with the aws_s3 extension during a maintenance window.
D.
Use AWS Application Migration Service to replicate the Oracle server to Amazon EC2, then point the application at the EC2 instance at cutover.
2
Domain 4
A company is migrating its desktop and line-of-business workloads to AWS. Its 5,000 employees must sign in to Amazon WorkSpaces and to the AWS Management Console through AWS IAM Identity Center by using their existing on-premises Active Directory credentials. The security team prohibits storing any copy of directory objects or password hashes in AWS. The company has AWS Direct Connect to its data center. Which solution meets these requirements with the LEAST operational overhead?
A.
Deploy AWS Managed Microsoft AD and create a two-way forest trust with the on-premises domain. Register the managed directory with WorkSpaces and IAM Identity Center.
B.
Launch self-managed domain controllers on Amazon EC2 in two Availability Zones, join them to the on-premises domain, and point WorkSpaces at them.
C.
Deploy Simple AD and synchronize users from the on-premises directory with a scheduled PowerShell script.
D.
Deploy AD Connector in two subnets that can reach the on-premises domain controllers, and register it with Amazon WorkSpaces and IAM Identity Center.
3
Domain 4
Before migrating 200 applications, a company needs a multi-account landing zone. Requirements include dedicated log archive and audit accounts, preventive and detective guardrails applied to OUs, a repeatable way to vend new accounts with a standard baseline, and a dashboard that shows noncompliant accounts and resources. The cloud team is small. Which solution meets these requirements with the LEAST effort?
A.
Use AWS Organizations to create OUs manually, write SCPs, deploy AWS Config rules with CloudFormation StackSets, and build an Amazon QuickSight dashboard from AWS Config data.
B.
Set up an AWS Control Tower landing zone, enable the required preventive and detective controls on the OUs, and use Account Factory to provision new accounts.
C.
Use a single AWS account with one VPC per application and enforce separation with IAM policies and resource tags.
D.
Create accounts with the Organizations CreateAccount API from a Lambda function, and enable AWS Security Hub in each account for compliance visibility.
4
Domain 4
A company runs 40 Java applications on Apache Tomcat and 25 ASP.NET applications on Windows IIS, all on virtual machines in its data center. The company wants to run these applications as containers on Amazon ECS with no code changes. The team has little Docker experience and wants container images, ECS task definitions, and CI/CD pipelines to be generated for them. Which solution meets these requirements with the LEAST effort?
A.
Rehost the VMs with AWS Application Migration Service, then have developers write Dockerfiles and task definitions for each application on the migrated instances.
B.
Use the AWS Copilot CLI to deploy the applications directly from the existing VMs to Amazon ECS on AWS Fargate.
C.
Use AWS App2Container to discover the applications on the servers, containerize them, and generate the ECS task definitions and AWS CodePipeline artifacts.
D.
Refactor each application into AWS Lambda functions behind Amazon API Gateway and enable Lambda SnapStart for the Java functions.
5
Domain 4
A company must migrate a 6 TB on-premises MySQL 8.0 database to Amazon Aurora MySQL-Compatible Edition (version 3). The database has many secondary indexes, stored procedures, triggers, and database users that must be preserved. The company wants the fastest initial load and a cutover window of only a few minutes. Which approach meets these requirements?
A.
Run mysqldump with compression, upload the files to Amazon S3 with S3 Transfer Acceleration, and import them into a new Aurora MySQL cluster during a maintenance window.
B.
Use AWS DMS with a full load plus CDC task from the on-premises MySQL database to a new Aurora MySQL cluster.
C.
Take a physical backup with Percona XtraBackup, upload it to Amazon S3, restore a new Aurora MySQL cluster from the S3 backup, and configure binary log replication from the source until cutover.
D.
Create a read replica of the on-premises database on Amazon RDS for MySQL by using AWS DataSync, then promote it to Aurora.
6
Domain 4
After a lift-and-shift migration, a company runs 300 cron jobs from the crontab of two Amazon EC2 instances. Each job runs a script for 2-10 minutes. The instances are a single point of failure, some jobs must run in local time zones that observe daylight saving time, and failed runs must be retried and captured for investigation. Which solution meets these requirements with the LEAST operational overhead?
A.
Convert the scripts to AWS Lambda functions and create Amazon EventBridge Scheduler schedules with cron expressions and time zones, configuring a retry policy and an Amazon SQS dead-letter queue for each schedule.
B.
Containerize the crontab and run it on an Amazon ECS service on EC2 with an Auto Scaling group that maintains two instances.
C.
Use AWS Systems Manager Maintenance Windows to run the scripts with Run Command on the existing EC2 instances.
D.
Build an AWS Step Functions state machine per job that uses a Wait state loop to trigger the script at the scheduled time.
7
Domain 1
A company with 150 accounts in AWS Organizations must ensure that workloads run only in eu-central-1 and eu-west-1. Global services such as IAM, Amazon CloudFront, Amazon Route 53, and AWS Organizations must keep working, and a designated break-glass role must be exempt. The control must be preventive and must apply to accounts created in the future. Which solution meets these requirements?
A.
Deploy an AWS Config rule in every account that flags resources outside the approved Regions and triggers automatic deletion through Systems Manager Automation.
B.
Attach an IAM permissions boundary that denies other Regions to every IAM role and user in all accounts.
C.
Create IAM Identity Center permission sets with an inline policy that denies actions outside the approved Regions.
D.
Attach an SCP to the organization root that denies all actions except the listed global services (NotAction) when aws:RequestedRegion is not one of the approved Regions, with an ArnNotLike condition on aws:PrincipalARN for the break-glass role.
8
Domain 2
A SaaS company exposes a REST API on Amazon API Gateway to 300 partners. Partners are assigned to Bronze, Silver, or Gold tiers, and each tier has a different steady-state rate limit, burst limit, and monthly request quota. The company must track usage per partner and wants the LEAST custom development. Which solution meets these requirements?
A.
Create AWS WAF rate-based rules keyed on each partner's source IP address with a different limit per tier.
B.
Create an API key for each partner and associate it with one of three API Gateway usage plans that define the throttling and monthly quota for each tier.
C.
Implement a Lambda authorizer that counts requests per partner in Amazon DynamoDB and rejects calls that exceed the tier limits.
D.
Migrate to an API Gateway HTTP API and configure route-level throttling for each tier.
9
Domain 3
A serverless API built on AWS Lambda scales to 3,000 concurrent executions during promotions. The functions connect to an Amazon Aurora PostgreSQL cluster, which then returns 'too many connections' errors, and failovers cause long application outages. The company wants to fix this with minimal code changes and wants to use IAM authentication instead of stored database passwords. Which solution meets these requirements?
A.
Scale the Aurora writer to a larger instance class to raise max_connections, and store the database password in AWS Secrets Manager.
B.
Set reserved concurrency on the Lambda functions to 100 so that the database never receives more than 100 connections.
C.
Create an Amazon RDS Proxy for the cluster with IAM authentication enabled, and change the Lambda functions to connect to the proxy endpoint.
D.
Add Aurora Replicas and send all Lambda traffic to the cluster reader endpoint.
10
Domain 1
Choose 2
A company has 120 accounts in AWS Organizations. All Amazon EC2, Amazon EBS, and Amazon RDS resources tagged backup=daily must be backed up every day, and a copy of every backup must be stored in a central backup account where it cannot be deleted or altered by anyone, including account administrators, until retention expires. Which combination of steps meets these requirements with the LEAST operational overhead? (Choose TWO)
A.
Enable AWS Backup cross-account management for the organization, and deploy AWS Backup policies from the management account that select resources by tag and copy recovery points to a vault in the central backup account.
B.
Apply AWS Backup Vault Lock in compliance mode to the backup vault in the central backup account.
C.
Deploy a Lambda function in every account that creates snapshots nightly and shares them with the central backup account.
D.
Enable S3 Object Lock in governance mode on the backup vault in the central backup account.
E.
Create Amazon Data Lifecycle Manager policies in each account with cross-account copy to the central backup account.
0/10 terjawab
Periksa