Question 809 of 1,746
Accelerate Workload Migration and ModernizationhardMultiple ChoiceObjective-mapped

SAP-C02 AWS Database Migration Service (DMS) Practice Question

This SAP-C02 practice question tests your understanding of accelerate workload migration and modernization. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. A key principle to apply: aWS Database Migration Service (DMS). Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is migrating a legacy on-premises application to AWS. The application consists of a web server, an application server, and a MySQL database. The company has already migrated the web and application servers to EC2 instances in a VPC. The database is still on-premises. The application currently connects to the database using a JDBC connection string with the on-premises IP address. The company wants to minimize changes to the application code. The network team has established an AWS Direct Connect connection between the on-premises data center and the VPC. The security team requires that traffic between the application and the database be encrypted in transit. The database is not publicly accessible. The migration plan includes moving the database to Amazon RDS for MySQL in the same VPC after the initial cutover. During the migration testing phase, the application team reports that the application can connect to the on-premises database but performance is slower than expected. CloudWatch metrics show high latency on the database connections. The application uses a connection pool with 100 connections. Which solution should the solutions architect recommend to improve performance while minimizing application code changes?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "minimum / minimize"

    Why it matters: Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use AWS Database Migration Service to set up ongoing replication from on-premises to RDS

Option C is correct because AWS Database Migration Service (DMS) with ongoing replication can continuously replicate data from the on-premises MySQL database to an Amazon RDS for MySQL instance in the same VPC. This allows the application to connect to the local RDS instance, significantly reducing latency compared to the Direct Connect link. To minimize code changes, the application's JDBC connection string can be updated to point to the RDS endpoint, or a DNS CNAME can be used to abstract the change. Option A (increasing connection pool size) does not reduce network latency and may worsen performance. Option B (read replica) is not feasible because an RDS read replica can only replicate from an RDS primary, not from an on-premises database. Option D (Multi-AZ) is not applicable until the database is on AWS and does not improve latency.

Key principle: AWS Database Migration Service (DMS)

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Increase the connection pool size to 200 and enable connection multiplexing

    Why it's wrong here

    Increasing connection pool size to 200 and enabling connection multiplexing may reduce connection overhead but does not address the high network latency caused by the Direct Connect link to the on-premises database. It could even increase contention and not improve performance.

  • Deploy an Amazon RDS for MySQL read replica in the same Region and direct read traffic to it

    Why it's wrong here

    A read replica requires an existing RDS primary instance. Since the database is still on-premises, an RDS read replica cannot be created to replicate from on-premises. This option is not feasible during the testing phase.

  • Use AWS Database Migration Service to set up ongoing replication from on-premises to RDS

    Why this is correct

    Using DMS with ongoing replication creates an RDS instance in the VPC that stays synchronized with the on-premises database. The application can then be pointed to this local RDS instance, drastically reducing latency. This is the most effective solution with minimal application changes.

    Clue confirmation

    The clue word "minimum / minimize" in the question point toward this answer.

    Related concept

    AWS Database Migration Service (DMS)

  • Enable Multi-AZ on the RDS instance

    Why it's wrong here

    Multi-AZ provides high availability for an RDS instance but does not reduce read latency. Additionally, no RDS instance exists yet, so this option is not applicable.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Candidates may incorrectly choose option B (read replica) thinking it can replicate from on-premises, but RDS read replicas only work with an RDS source. The correct approach is to use DMS to replicate the on-premises database to an RDS instance in the cloud.

Detailed technical explanation

How to think about this question

Treat this as a scenario question. Identify the problem, the constraint, and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • AWS Database Migration Service (DMS)
  • Ongoing Replication
  • Connection Pooling
  • Direct Connect

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

AWS Database Migration Service (DMS)

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

Quick reference

Common DNS Record Types

RecordPurposeExample
AIPv4 address mappingexample.com → 93.184.216.34
AAAAIPv6 address mappingexample.com → 2606:2800::1
CNAMEAlias to another hostnamewww → example.com
MXMail server for domainexample.com → mail.example.com (priority 10)
TXTText data (SPF, DKIM, verification)v=spf1 include:_spf.example.com ~all
NSAuthoritative name serversexample.com NS ns1.example.com
PTRReverse DNS (IP → hostname)34.216.184.93.in-addr.arpa → example.com
SOAZone authority recordPrimary NS, admin email, serial, TTL defaults

What to study next

Got this wrong? Here's your next step.

Review aWS Database Migration Service (DMS), then practise related SAP-C02 questions on the same topic to reinforce the concept.

Related practice questions

Related SAP-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SAP-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SAP-C02 question test?

Accelerate Workload Migration and Modernization — This question tests Accelerate Workload Migration and Modernization — AWS Database Migration Service (DMS).

What is the correct answer to this question?

The correct answer is: Use AWS Database Migration Service to set up ongoing replication from on-premises to RDS — Option C is correct because AWS Database Migration Service (DMS) with ongoing replication can continuously replicate data from the on-premises MySQL database to an Amazon RDS for MySQL instance in the same VPC. This allows the application to connect to the local RDS instance, significantly reducing latency compared to the Direct Connect link. To minimize code changes, the application's JDBC connection string can be updated to point to the RDS endpoint, or a DNS CNAME can be used to abstract the change. Option A (increasing connection pool size) does not reduce network latency and may worsen performance. Option B (read replica) is not feasible because an RDS read replica can only replicate from an RDS primary, not from an on-premises database. Option D (Multi-AZ) is not applicable until the database is on AWS and does not improve latency.

What should I do if I get this SAP-C02 question wrong?

Review aWS Database Migration Service (DMS), then practise related SAP-C02 questions on the same topic to reinforce the concept.

Are there clue words in this question I should notice?

Yes — watch for: "minimum / minimize". Asks for the least resource use — fewest addresses, smallest subnet, lowest overhead. Eliminate over-provisioned options even if they would technically work.

What is the key concept behind this question?

AWS Database Migration Service (DMS)

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More SAP-C02 practice questions

Last reviewed: Jun 20, 2026

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.

Loading comments…

Sign in to join the discussion.

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.