Sample questions
AWS Certified SAP on AWS Specialty PAS-C01 practice questions
A company is using AWS Systems Manager Patch Manager to patch a fleet of EC2 instances. The instances are in a patch group and have the SSM Agent installed. After a patching operation, the operations team notices that some instances did not apply the patches. The instances show a status of 'Failed' in the Patch Manager console. Which TWO steps should the team take to troubleshoot and resolve the issue? (Choose TWO.)
Trap 1: Assign the patch baseline to the instance IDs directly.
Patch baselines are assigned to patch groups, not individual instances.
Trap 2: Ensure that the instances have the appropriate IAM role that allows…
While necessary, this is a prerequisite and not a troubleshooting step for specific failures.
Trap 3: Configure a Maintenance Window for the patching operation.
Maintenance Windows are optional; patching can be done on demand.
- A
Assign the patch baseline to the instance IDs directly.
Why wrong: Patch baselines are assigned to patch groups, not individual instances.
- B
Ensure that the instances have the appropriate IAM role that allows them to be patched.
Why wrong: While necessary, this is a prerequisite and not a troubleshooting step for specific failures.
- C
Verify that the SSM Agent on the failed instances is running and is able to communicate with the Systems Manager service.
The SSM Agent must be online to execute patching commands.
- D
Check the output of the AWS-RunPatchBaseline SSM document in the Systems Manager Run Command history for the failed instances.
The command output provides error details for troubleshooting.
- E
Configure a Maintenance Window for the patching operation.
Why wrong: Maintenance Windows are optional; patching can be done on demand.
A company is migrating a legacy on-premises application to AWS. The application uses a MySQL database with a complex stored procedure that runs every hour and takes approximately 10 minutes to complete. The company wants to minimize downtime during migration. Which TWO approaches should the company use to migrate the database?
Trap 1: Use AWS DMS with a full load only, without ongoing replication, and…
Without ongoing replication, changes after the full load are not replicated, causing data loss or extended downtime.
Trap 2: Take a full database dump using mysqldump and import it into an…
This causes significant downtime during the export/import process.
Trap 3: Create an Amazon RDS for MySQL read replica from the on-premises…
RDS read replica does not support replication from an on-premises database; it only works within AWS.
- A
Use AWS DMS with a full load only, without ongoing replication, and schedule a cutover window.
Why wrong: Without ongoing replication, changes after the full load are not replicated, causing data loss or extended downtime.
- B
Use AWS Database Migration Service (DMS) with ongoing replication from the source MySQL database to an Amazon RDS for MySQL instance.
This approach minimizes downtime by continuously replicating changes until cutover.
- C
Set up an Amazon Aurora MySQL DB cluster and use AWS DMS with the on-premises MySQL database as the source and the Aurora cluster as the target, enabling ongoing replication.
This allows continuous replication and leverages Aurora's performance and compatibility.
- D
Take a full database dump using mysqldump and import it into an Amazon RDS for MySQL instance during a planned maintenance window.
Why wrong: This causes significant downtime during the export/import process.
- E
Create an Amazon RDS for MySQL read replica from the on-premises database.
Why wrong: RDS read replica does not support replication from an on-premises database; it only works within AWS.
A company manages a multi-account AWS environment using AWS Organizations. The operations team needs to ensure that all accounts have CloudTrail enabled and that logs are delivered to a centralized S3 bucket. What is the MOST efficient way to enforce this configuration?
Trap 1: Configure CloudTrail in the management account with an S3 bucket…
CloudTrail cross-account delivery is not supported natively.
Trap 2: Create a custom script using AWS CLI to enable CloudTrail in each…
Scripts require maintenance and can miss drift.
Trap 3: Use AWS Service Catalog to publish a CloudTrail product and require…
Service Catalog does not enforce deployment; accounts may choose not to launch.
- A
Configure CloudTrail in the management account with an S3 bucket policy that grants access to all member accounts.
Why wrong: CloudTrail cross-account delivery is not supported natively.
- B
Deploy an AWS CloudFormation StackSet with a template that enables CloudTrail and configures the S3 bucket in every account and region.
StackSets provide centralized, consistent deployment and drift detection.
- C
Create a custom script using AWS CLI to enable CloudTrail in each account and region.
Why wrong: Scripts require maintenance and can miss drift.
- D
Use AWS Service Catalog to publish a CloudTrail product and require each account to launch it.
Why wrong: Service Catalog does not enforce deployment; accounts may choose not to launch.
A company is running SAP HANA on an r5.8xlarge instance. They want to scale up to meet increased memory requirements. Which instance family would be the MOST suitable for a scale-up scenario?
Trap 1: r5.24xlarge
r5 is smaller than x1e for scale-up.
Trap 2: i3.16xlarge
i3 is storage-optimized.
Trap 3: c5.18xlarge
c5 is compute-optimized, not memory-optimized.
- A
x1e.32xlarge
x1e is designed for large SAP HANA scale-up.
- B
r5.24xlarge
Why wrong: r5 is smaller than x1e for scale-up.
- C
i3.16xlarge
Why wrong: i3 is storage-optimized.
- D
c5.18xlarge
Why wrong: c5 is compute-optimized, not memory-optimized.
Which TWO of the following are best practices for securing SAP workloads on AWS?
Trap 1: Disable encryption in transit between application and database…
Encryption in transit should be enforced.
Trap 2: Allow SSH access from the internet for administration.
SSH from internet is not secure; use bastion host.
Trap 3: Store SAP backup files in a public S3 bucket for easy access.
Public buckets are not secure.
- A
Use IAM roles to grant EC2 instances access to AWS services.
IAM roles are secure and avoid storing credentials.
- B
Use security groups to control traffic to SAP application servers.
Security groups are a best practice for instance-level firewall.
- C
Disable encryption in transit between application and database tiers.
Why wrong: Encryption in transit should be enforced.
- D
Allow SSH access from the internet for administration.
Why wrong: SSH from internet is not secure; use bastion host.
- E
Store SAP backup files in a public S3 bucket for easy access.
Why wrong: Public buckets are not secure.
Which THREE of the following are valid considerations when designing an SAP HANA backup strategy on AWS?
Trap 1: Back up HANA data directly to Amazon S3 using standard tools.
HANA does not directly support S3 backup without Backint.
Trap 2: Replicate backups to another AWS Region using S3 Cross-Region…
This is for disaster recovery, not backup strategy.
- A
Use EBS snapshots for backing up HANA data volumes.
EBS snapshots are a valid backup method.
- B
Store backups in Amazon S3 for long-term retention.
S3 is cost-effective for long-term storage.
- C
Use the AWS Backint agent for SAP HANA to back up to S3.
Backint is an AWS-supported backup integration.
- D
Back up HANA data directly to Amazon S3 using standard tools.
Why wrong: HANA does not directly support S3 backup without Backint.
- E
Replicate backups to another AWS Region using S3 Cross-Region Replication.
Why wrong: This is for disaster recovery, not backup strategy.
A company is running SAP on AWS and needs to design a disaster recovery (DR) solution with a Recovery Point Objective (RPO) of 15 minutes and a Recovery Time Objective (RTO) of 4 hours. The primary region is us-east-1 and the DR region is us-west-2. The SAP application uses an SAP HANA database with a size of 2 TB. Which combination of AWS services should be used to meet the DR requirements most cost-effectively?
Trap 1: Use AWS Database Migration Service (DMS) with continuous…
DMS does not support HANA as a source for continuous replication.
Trap 2: Use AWS Backup with continuous backups and cross-region copy to…
AWS Backup for HANA does not support continuous backups; it supports periodic backups only.
Trap 3: Use AWS Backup to take hourly backups of the HANA database and…
Hourly backups result in RPO of up to 1 hour, exceeding 15 minutes.
- A
Use AWS Database Migration Service (DMS) with continuous replication from the primary HANA database to a target in us-west-2.
Why wrong: DMS does not support HANA as a source for continuous replication.
- B
Use AWS Backup with continuous backups and cross-region copy to achieve RPO of 15 minutes.
Why wrong: AWS Backup for HANA does not support continuous backups; it supports periodic backups only.
- C
Use AWS Backup to take hourly backups of the HANA database and restore in us-west-2 during a disaster.
Why wrong: Hourly backups result in RPO of up to 1 hour, exceeding 15 minutes.
- D
Configure HANA System Replication (HSR) across regions and use a standby HANA instance in us-west-2 with a smaller instance size.
HSR provides near-synchronous replication with RPO of seconds; a smaller standby reduces cost and can be scaled up during failover within RTO.
A company runs a containerized application on Amazon ECS with Fargate launch type. The application needs to access an Amazon RDS database that is in a private subnet. The ECS tasks are also in private subnets. The security group for the RDS instance allows inbound traffic on port 3306 from the security group attached to the ECS tasks. However, the application cannot connect to the database. Which solution should the company implement to resolve this issue?
Trap 1: Configure the ECS task definition to assign a public IP address to…
Assigning public IPs and using a NAT gateway is unnecessary for private subnet communication within the same VPC and could introduce security risks.
Trap 2: Place both the ECS tasks and the RDS instance in the same public…
Placing resources in public subnets is not a best practice and may not be allowed due to security policies. Also, the issue is likely not about public vs private.
Trap 3: Modify the RDS security group inbound rule to allow traffic from…
While this would work, it is less secure than using security group references and is not the best practice. The existing rule using the security group ID should already work if properly configured.
- A
Configure the ECS task definition to assign a public IP address to the tasks and ensure the tasks have a route to the internet via a NAT gateway
Why wrong: Assigning public IPs and using a NAT gateway is unnecessary for private subnet communication within the same VPC and could introduce security risks.
- B
Attach the same security group to the ECS tasks and the RDS instance, and ensure the security group has an inbound rule allowing traffic from itself on port 3306
Using the same security group for both resources and allowing inbound from the group itself (self-reference) enables traffic between them, regardless of outbound rules. This is a common pattern for internal communication.
- C
Place both the ECS tasks and the RDS instance in the same public subnet to ensure network connectivity
Why wrong: Placing resources in public subnets is not a best practice and may not be allowed due to security policies. Also, the issue is likely not about public vs private.
- D
Modify the RDS security group inbound rule to allow traffic from the CIDR block of the ECS tasks’ private subnets instead of the security group ID
Why wrong: While this would work, it is less secure than using security group references and is not the best practice. The existing rule using the security group ID should already work if properly configured.
A company is migrating a legacy monolithic application to a microservices architecture on AWS. The application currently uses an Oracle database with complex stored procedures. The company wants to minimize changes to the application code during migration. Which database migration strategy should the company use?
Trap 1: Migrate the database to Amazon Aurora with PostgreSQL compatibility…
Aurora PostgreSQL is a different database engine; stored procedures may need to be rewritten, increasing code changes.
Trap 2: Store the data in Amazon S3 and use Athena for querying
S3 and Athena are suitable for analytics, not for transactional OLTP workloads with stored procedures.
Trap 3: Refactor the application to use Amazon DynamoDB as the database
DynamoDB is NoSQL and requires significant application changes, which contradicts the requirement to minimize code changes.
- A
Migrate the database to Amazon Aurora with PostgreSQL compatibility using the AWS Database Migration Service (DMS)
Why wrong: Aurora PostgreSQL is a different database engine; stored procedures may need to be rewritten, increasing code changes.
- B
Store the data in Amazon S3 and use Athena for querying
Why wrong: S3 and Athena are suitable for analytics, not for transactional OLTP workloads with stored procedures.
- C
Refactor the application to use Amazon DynamoDB as the database
Why wrong: DynamoDB is NoSQL and requires significant application changes, which contradicts the requirement to minimize code changes.
- D
Replatform the application by migrating the Oracle database to Amazon RDS for Oracle
Migrating to RDS for Oracle preserves the existing SQL dialect and stored procedures, minimizing code changes while leveraging managed database services.
A company runs a stateful web application on EC2 instances in an Auto Scaling group with a dynamic scaling policy based on CPU utilization. The application maintains session state in memory on each instance. Users report that they are frequently logged out and lose their session data during scaling events. What should the company do to resolve this issue?
Trap 1: Change the scaling policy to a simple scaling policy instead of…
Simple scaling does not prevent session loss; the core issue is that session state is stored in memory on the instance.
Trap 2: Enable sticky sessions (session affinity) on the Application Load…
Stickiness routes users to the same instance, but if that instance is terminated due to scaling in, the session is still lost.
Trap 3: Increase the cooldown period for the Auto Scaling group
Cooldown period only affects when new scaling activities can start; it does not preserve session data.
- A
Change the scaling policy to a simple scaling policy instead of dynamic scaling
Why wrong: Simple scaling does not prevent session loss; the core issue is that session state is stored in memory on the instance.
- B
Enable sticky sessions (session affinity) on the Application Load Balancer
Why wrong: Stickiness routes users to the same instance, but if that instance is terminated due to scaling in, the session is still lost.
- C
Modify the application to store session state in an Amazon ElastiCache cluster
ElastiCache provides a centralized session store that persists across instance terminations, ensuring session continuity during scaling events.
- D
Increase the cooldown period for the Auto Scaling group
Why wrong: Cooldown period only affects when new scaling activities can start; it does not preserve session data.
A company is migrating a 10 TB SQL Server database to Amazon RDS for SQL Server using AWS DMS. The migration is taking longer than expected. Which TWO actions can improve the migration speed? (Choose two.)
Trap 1: Use a single DMS task with full LOB mode
Full LOB mode can slow down migration; limited parallelism.
Trap 2: Use S3 multipart upload for the data
DMS does not use S3 internally for data transfer.
Trap 3: Disable transaction logging on the source
Disabling logging would compromise data integrity and CDC.
- A
Use a single DMS task with full LOB mode
Why wrong: Full LOB mode can slow down migration; limited parallelism.
- B
Enable parallel loading by splitting tables into multiple tasks
Parallel tasks utilize more resources and speed up data transfer.
- C
Use S3 multipart upload for the data
Why wrong: DMS does not use S3 internally for data transfer.
- D
Increase the DMS replication instance size
Larger instance provides more network, CPU, and memory throughput.
- E
Disable transaction logging on the source
Why wrong: Disabling logging would compromise data integrity and CDC.
A company is migrating a legacy .NET application to AWS. The application uses Windows Authentication and relies on Active Directory for user authentication. The company wants to minimize changes to the application code. Which AWS service should be used to integrate Active Directory with the migrated application?
Trap 1: Amazon Cognito
Designed for web and mobile identity federation, not Windows Authentication.
Trap 2: AD Connector
Only proxies to on-premises AD, not suitable if on-prem AD is decommissioned.
Trap 3: Simple AD
Does not support Windows Authentication or many AD features needed.
- A
AWS Directory Service for Microsoft Active Directory
Provides full managed AD with native support for Windows Authentication.
- B
Amazon Cognito
Why wrong: Designed for web and mobile identity federation, not Windows Authentication.
- C
AD Connector
Why wrong: Only proxies to on-premises AD, not suitable if on-prem AD is decommissioned.
- D
Simple AD
Why wrong: Does not support Windows Authentication or many AD features needed.
A company is migrating a web application from an on-premises data center to AWS. The application uses a MySQL database that is 500 GB in size. The company wants to minimize downtime during the migration. Which approach should the company use?
Trap 1: Use an RDS read replica and promote it
RDS read replica requires an existing RDS instance; not suitable for initial migration.
Trap 2: Stop the database, take a mysqldump, and restore to RDS
Requires substantial downtime during dump and restore.
Trap 3: Use AWS Schema Conversion Tool (SCT) to migrate the schema and data
SCT converts schema; data migration still needs a separate tool like DMS.
- A
Use an RDS read replica and promote it
Why wrong: RDS read replica requires an existing RDS instance; not suitable for initial migration.
- B
Use AWS Database Migration Service (DMS) with ongoing replication
DMS migrates data while changes are replicated, minimizing downtime.
- C
Stop the database, take a mysqldump, and restore to RDS
Why wrong: Requires substantial downtime during dump and restore.
- D
Use AWS Schema Conversion Tool (SCT) to migrate the schema and data
Why wrong: SCT converts schema; data migration still needs a separate tool like DMS.
A company is migrating a multi-tier application to AWS. The application includes a load balancer, web servers, and an Oracle database. The migration plan includes using AWS DMS for the database. During the initial full load, the DMS task fails with an error indicating insufficient memory. The source database is on an EC2 instance with 4 GB RAM. What should the migration team do to resolve this issue?
Trap 1: Disable LOB support in the DMS task
May truncate or lose LOB data, which is not acceptable.
Trap 2: Split the migration into multiple smaller tasks
Reduces per-task load but may still hit memory limits; scaling instance is more direct.
Trap 3: Increase the memory of the source EC2 instance
DMS memory error is on the replication instance, not the source.
- A
Disable LOB support in the DMS task
Why wrong: May truncate or lose LOB data, which is not acceptable.
- B
Split the migration into multiple smaller tasks
Why wrong: Reduces per-task load but may still hit memory limits; scaling instance is more direct.
- C
Increase the size of the DMS replication instance
More memory on the replication instance can handle large data loads.
- D
Increase the memory of the source EC2 instance
Why wrong: DMS memory error is on the replication instance, not the source.
A company is planning to migrate a critical application to AWS using the 7 Rs migration strategy. The application is currently running on a large VMware VM. Which THREE strategies are appropriate for this migration? (Choose three.)
Trap 1: Retire: Decommission the application as it is no longer needed
The application is critical, so retirement is not appropriate.
Trap 2: Retain: Keep the application on-premises
The company plans to migrate, so retain is not the goal.
- A
Rehost: Use AWS VM Import/Export to migrate the VM to EC2
Direct lift-and-shift of the VM.
- B
Retire: Decommission the application as it is no longer needed
Why wrong: The application is critical, so retirement is not appropriate.
- C
Refactor: Re-architect the application to use microservices
Significant rework but may be beneficial for scalability.
- D
Replatform: Migrate to Amazon RDS for the database layer
Minor change to use managed database service.
- E
Retain: Keep the application on-premises
Why wrong: The company plans to migrate, so retain is not the goal.
A company is migrating a critical application to AWS using a lift-and-shift strategy. The application has a legacy licensing model tied to specific hardware IDs. The company has already migrated the application to an Amazon EC2 instance but the license validation fails because the hardware ID changed. What is the MOST cost-effective and least disruptive solution?
Trap 1: Revert the migration and keep the application on-premises with a…
This does not solve the migration goal and adds complexity with potential latency.
Trap 2: Provision a Dedicated Host and associate the instance with it to…
Dedicated Hosts are more expensive and provide physical server control, but not a flexible solution for a single application.
Trap 3: Modify the application's license file to accept the new hardware ID.
This is likely a breach of the license agreement and may cause legal issues.
- A
Revert the migration and keep the application on-premises with a VPN connection to AWS for other services.
Why wrong: This does not solve the migration goal and adds complexity with potential latency.
- B
Provision a Dedicated Host and associate the instance with it to control hardware IDs.
Why wrong: Dedicated Hosts are more expensive and provide physical server control, but not a flexible solution for a single application.
- C
Modify the application's license file to accept the new hardware ID.
Why wrong: This is likely a breach of the license agreement and may cause legal issues.
- D
Use AWS License Manager to create a hardware-based license token that matches the original hardware ID.
License Manager can generate a token that emulates the original hardware ID, allowing the license to work.
A company is migrating a web application to AWS and wants to use a blue/green deployment strategy to minimize downtime. Which AWS service should be used to route traffic between the blue and green environments?
Trap 1: Amazon CloudFront
CloudFront is a content delivery network, not suitable for routing traffic between environments.
Trap 2: AWS Global Accelerator
Global Accelerator improves performance but does not provide native blue/green routing capabilities.
Trap 3: Application Load Balancer (ALB)
ALB distributes traffic to targets within a single environment, not between blue and green.
- A
Amazon CloudFront
Why wrong: CloudFront is a content delivery network, not suitable for routing traffic between environments.
- B
AWS Global Accelerator
Why wrong: Global Accelerator improves performance but does not provide native blue/green routing capabilities.
- C
Application Load Balancer (ALB)
Why wrong: ALB distributes traffic to targets within a single environment, not between blue and green.
- D
Amazon Route 53
Route 53 supports weighted routing policy to shift traffic between blue and green environments.
An organization is migrating a large data lake (500 TB) from on-premises HDFS to Amazon S3. The migration must be completed within 3 weeks. The network bandwidth between on-premises and AWS is 1 Gbps. What is the MOST efficient migration approach?
Trap 1: Use AWS DataSync over the existing internet connection.
1 Gbps bandwidth would take too long (approx 48 days) and DataSync is not optimized for such large volumes.
Trap 2: Order a dedicated AWS Direct Connect circuit at 10 Gbps and use AWS…
Direct Connect setup takes weeks and is expensive; DataSync may still be slower than Snowball for this volume.
Trap 3: Use Amazon S3 Transfer Acceleration to speed up the transfer over…
Transfer Acceleration improves speed but not enough to transfer 500 TB in 3 weeks over 1 Gbps.
- A
Use AWS DataSync over the existing internet connection.
Why wrong: 1 Gbps bandwidth would take too long (approx 48 days) and DataSync is not optimized for such large volumes.
- B
Order a dedicated AWS Direct Connect circuit at 10 Gbps and use AWS DataSync.
Why wrong: Direct Connect setup takes weeks and is expensive; DataSync may still be slower than Snowball for this volume.
- C
Use Amazon S3 Transfer Acceleration to speed up the transfer over the internet.
Why wrong: Transfer Acceleration improves speed but not enough to transfer 500 TB in 3 weeks over 1 Gbps.
- D
Use multiple AWS Snowball Edge devices to transfer the data in parallel.
Snowball Edge provides high-capacity offline storage and multiple devices can be used concurrently, meeting the deadline.
A company is migrating a multi-tier application to AWS and wants to ensure high availability. The application has a web tier, application tier, and database tier. The database is currently running on a single on-premises server. Which migration strategy minimizes downtime and provides the HIGHEST availability for the database tier?
Trap 1: Use AWS Database Migration Service (DMS) to migrate to Amazon RDS…
Single-AZ RDS does not provide automatic failover; manual snapshots lead to longer downtime.
Trap 2: Migrate the database to a single large Amazon EC2 instance using…
A single instance is a single point of failure, no high availability.
Trap 3: Migrate to Amazon RDS with Multi-AZ deployment and use DMS for…
DMS is used for initial migration, but Multi-AZ provides HA; however, DMS is not needed if using native RDS restore, but this option is plausible but not the best because DMS adds complexity.
- A
Use AWS Database Migration Service (DMS) to migrate to Amazon RDS in a single-AZ deployment, then manually take snapshots.
Why wrong: Single-AZ RDS does not provide automatic failover; manual snapshots lead to longer downtime.
- B
Migrate the database to a single large Amazon EC2 instance using AWS Application Migration Service.
Why wrong: A single instance is a single point of failure, no high availability.
- C
Use AWS DMS to migrate the database to Amazon RDS Multi-AZ deployment.
DMS can perform the initial migration with minimal downtime, and RDS Multi-AZ provides synchronous standby for automatic failover, ensuring high availability.
- D
Migrate to Amazon RDS with Multi-AZ deployment and use DMS for initial load.
Why wrong: DMS is used for initial migration, but Multi-AZ provides HA; however, DMS is not needed if using native RDS restore, but this option is plausible but not the best because DMS adds complexity.
A company is migrating a legacy application to AWS. The application currently uses Oracle Database and the company wants to migrate to Amazon Aurora PostgreSQL with minimal downtime. Which TWO steps should be taken to achieve this? (Choose TWO)
Trap 1: Rehost the Oracle database on an Amazon EC2 instance to minimize…
Rehosting does not achieve the goal of migrating to Aurora PostgreSQL; it keeps Oracle.
Trap 2: Configure Amazon Aurora PostgreSQL with Multi-AZ for high…
Multi-AZ is important but does not address the migration from Oracle to PostgreSQL.
Trap 3: Export Oracle database as dump files and import into Aurora…
Native Oracle tools cannot directly import into PostgreSQL; schema conversion is needed.
- A
Use the AWS Schema Conversion Tool (SCT) to convert the Oracle schema to PostgreSQL.
SCT automates the conversion of Oracle schema objects to PostgreSQL-compatible format.
- B
Rehost the Oracle database on an Amazon EC2 instance to minimize changes.
Why wrong: Rehosting does not achieve the goal of migrating to Aurora PostgreSQL; it keeps Oracle.
- C
Configure Amazon Aurora PostgreSQL with Multi-AZ for high availability.
Why wrong: Multi-AZ is important but does not address the migration from Oracle to PostgreSQL.
- D
Use AWS Database Migration Service (DMS) with ongoing replication (change data capture).
DMS with CDC allows minimal downtime by replicating changes continuously during migration.
- E
Export Oracle database as dump files and import into Aurora PostgreSQL using native tools.
Why wrong: Native Oracle tools cannot directly import into PostgreSQL; schema conversion is needed.
A company is migrating a critical application to AWS using a phased approach. The application uses a custom Linux distribution that is not supported by AWS Application Migration Service. Which THREE steps should the company take to migrate the application? (Choose THREE)
Trap 1: Convert the application to run on Amazon Linux 2 to simplify future…
Converting to Amazon Linux would require significant rework and testing, not a simple migration step.
Trap 2: Use AWS Database Migration Service (DMS) to migrate the application…
DMS is for databases, not for migrating entire servers or applications.
- A
Use AWS Server Migration Service (SMS) to replicate the on-premises server to AWS.
SMS can replicate servers even if the OS is not officially supported by AWS MGN.
- B
Convert the application to run on Amazon Linux 2 to simplify future management.
Why wrong: Converting to Amazon Linux would require significant rework and testing, not a simple migration step.
- C
Perform a test migration to a non-production environment to validate the application.
Testing ensures the migrated application works correctly before cutting over production traffic.
- D
Use AWS Database Migration Service (DMS) to migrate the application server.
Why wrong: DMS is for databases, not for migrating entire servers or applications.
- E
Create a custom Amazon Machine Image (AMI) with the required Linux distribution and dependencies.
A custom AMI ensures the target environment matches the source OS.
A team is migrating an Oracle database to Amazon RDS for MySQL using AWS DMS with ongoing replication (CDC). The initial load succeeded, but the CDC task fails with the error shown in the exhibit. The source Oracle database is on-premises. Which action should the team take to resolve the issue?
Exhibit
Refer to the exhibit. Error from AWS DMS task: "Last Error: Failed to start change data capture for table 'sales.orders'. Details: The source database is not configured for full supplemental logging. To enable full supplemental logging, run: ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;"
Trap 1: Configure binary logging on the target MySQL RDS instance.
The error is about the source Oracle database, not the target MySQL.
Trap 2: Stop and restart the DMS task to clear the error.
Restarting without fixing the logging will cause the same error again.
Trap 3: Switch the target database to Amazon RDS for Oracle to maintain…
Changing the target engine is not required; the issue is with source logging.
- A
Configure binary logging on the target MySQL RDS instance.
Why wrong: The error is about the source Oracle database, not the target MySQL.
- B
Stop and restart the DMS task to clear the error.
Why wrong: Restarting without fixing the logging will cause the same error again.
- C
Switch the target database to Amazon RDS for Oracle to maintain compatibility.
Why wrong: Changing the target engine is not required; the issue is with source logging.
- D
Connect to the source Oracle database and enable full supplemental logging by executing the command: ALTER DATABASE ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;
This command enables the required logging for CDC to work.
Drag and drop the steps to troubleshoot an SAP HANA database connection failure from an SAP application in AWS into the correct order.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag and drop the steps to perform a backup and restore of an SAP HANA database using AWS Backup into the correct order.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.