How Can You Confirm PostgreSQL Is Causing DMS CDC Latency?
Short answer
D Monitor the DMS task's CDCLatencySource metric in Amazon CloudWatch to confirm whether delays originate while reading changes from the PostgreSQL source.
Question
Key Takeaways
It tests the distinction between source-side CDC read latency and target-side backlog; the trap is choosing CDCIncomingChanges, which reflects queued changes rather than time spent reading PostgreSQL transaction logs.
This question tests how to isolate change data capture latency in an AWS DMS ongoing replication task from PostgreSQL to Amazon Redshift. The page establishes that CDCLatencySource, not CDCIncomingChanges or endpoint logs, confirms whether the PostgreSQL source is causing the delay.
Common mistake: Many learners choose CDCIncomingChanges (A) because it sounds like incoming changes from the source, but that metric tracks change events waiting to be applied and does not isolate PostgreSQL source read latency.
Expert Analysis
Why the Answer Is Correct
CDCLatencySource measures the time between reading a change from the PostgreSQL source transaction logs and the AWS DMS task receiving it, so an elevated value points specifically at source-side capture. Amazon CloudWatch is the supported monitoring surface for DMS task metrics, making CDCLatencySource a direct, non-invasive diagnostic. In an ongoing replication task with continuous changes, this metric separates source read delay from Redshift target apply delay. As tgv notes, "This metric measures the latency between the source database and the DMS task."
Why the Other Options Are Wrong
CDCIncomingChanges (A) shows change events waiting to be applied, so a high value can result from a Redshift bottleneck rather than PostgreSQL capture delay. Verifying logical replication in postgresql.conf (B) is a prerequisite check: if logical replication were not configured, CDC would fail outright, but this does not confirm the source of measured latency. Enabling CloudWatch Logs for the source endpoint (C) may reveal connection or permission errors, but logs do not quantify source-side CDC latency, and an absence of errors does not prove the PostgreSQL database is the bottleneck.
Community Comment Notes
Community consensus is unanimous for D. tgv links the official DMS monitoring metrics page and explains the source-to-task meaning, while sdas1 links the latency troubleshooting page and summarizes that a high CDCLatencySource indicates delayed source capture. HunkyBunky adds that "only D makes sense." No comment defends A, B, or C as a way to confirm PostgreSQL source latency.
Official Reference
- https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Monitoring.html#CHAP_Monitoring.Metrics
- https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Troubleshooting_Latency.html
These links open the official vendor documentation in a new tab.
Exam Strategy
For DMS CDC latency questions, first decide whether the delay is on the source read side or target apply side, then map that to CDCLatencySource or CDCLatencyTarget. Do not pick configuration checks or endpoint logs when the question asks which metric confirms the source of latency.
Frequently Asked Questions
Why does CDCIncomingChanges not confirm PostgreSQL source latency?
What does a high CDCLatencySource value mean in an AWS DMS CDC task?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 3 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 3
-
tgv 👍 5 Answered DCDCLatencySource Metric: This metric measures the latency between the source database and the DMS task. It shows how long it takes for changes to be read from the source database's transaction logs. https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Monitoring.html#CHAP_Monitoring.Metrics
-
sdas1 👍 1https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Troubleshooting_Latency.html A high CDCLatencySource metric indicates that the process of capturing changes from the source is delayed. Answer is D
-
HunkyBunky 👍 1 Answered Donly D makes sense
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DEA-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DEA-C01 Practice Test →