Professional Cloud Database Engineer free question 8 / 10 · Domain 3: Migrate data solutions
A DMS SQL Server migration has already moved on to processing transaction logs. What happens if you then place a new differential backup in the diff folder?
- The new differential backup is not loaded at that stage
- A database with the same name is created anew, and the differential is restored into that separate database
- The unprocessed logs are discarded, and the migration resumes from that differential
- It is loaded before the next log, and the starting point of the log chain is replaced
Show the answer and explanation
Answer: A
Why this is correct
The Self-managed and AWS sources section of the DMS SQL Server scenario overview explains that for a job configured to use differential backups, DMS checks the diff folder and loads the differential into the destination, that this is the first stage of the incremental load, and that a differential backup placed after the job has moved on to processing transaction logs is not loaded. If you use a differential, place it before the job enters that stage.
Why the other options are wrong
"The unprocessed logs are discarded, and the migration resumes from that differential" … It is not a feature that discards unprocessed logs and switches to a differential automatically. You keep supplying the logs that are needed.
"A database with the same name is created anew, and the differential is restored into that separate database" … A differential that you add does not automatically produce a separate destination database.
"It is loaded before the next log, and the starting point of the log chain is replaced" … There is no behavior in which a differential is inserted midway and the starting point of the logs being applied is replaced. A differential after the log stage is not loaded.
Key point
If you use a differential, have the materials ready before the job enters that stage. Once log processing has started, avoid gaps in the sequence of logs.