1Z0-067 · Question #218
You are connected to a recovery catalog and target database. You execute the command: RMAN> CATALOG START WITH `/disk1/backups'; Which statement is true?
The correct answer is A. It lists and catalogs all valid data file copies, backup pieces, and archived logs that exist in all. See the full explanation below for the reasoning.
Question
You are connected to a recovery catalog and target database. You execute the command:
RMAN> CATALOG START WITH `/disk1/backups'; Which statement is true?
Options
- AIt lists and catalogs all valid data file copies, backup pieces, and archived logs that exist in all
- BIt lists all the data file copies, backup pieces, and archived logs cataloged in the recovery catalog
- COnly valid data file copies, existing in the /disk1/backups directory, are cataloged.
- DOnly valid backup pieces and archived logs, existing in the /disk1/backups directory, are
How the community answered
(35 responses)- A80% (28)
- B6% (2)
- C3% (1)
- D11% (4)
Community Discussion
7A is right. CATALOG START WITH scans the specified path prefix and catalogs everything it finds there, meaning all valid data file copies, backup pieces, and archived logs under that location get registered in the recovery catalog, not just one type of file and not just a listing.
A catalogs everything valid it finds there, not just one file type. Does the path prefix matching behavior surprise you when subdirectories are involved?
I leaned toward C, but CATALOG START WITH captures all three types.
CATALOG START WITH does cover all three but a lot of people blank on the exact syntax when it shows up reworded in the sim, so drilling that one variant in practice questions until it feels automatic is what actually locks it in.
C trips you up because CATALOG START WITH grabs everything valid, not just data file copies, so A is your answer.
Okay so I went with B on this one because to me CATALOG START WITH feels like it is doing a lookup of what is already in the recovery catalog, not scanning a directory and adding new stuff. The wording "catalog" as a verb threw me at first but I kept coming back to the idea that this command is showing you a list of what has already been cataloged, and that matches B perfectly.
Nina, CATALOG START WITH is actually A, it scans a filesystem location and registers any backup pieces it finds into the recovery catalog, which is the opposite of what you described. The verb "catalog" here means "go add these files to the catalog," not "go look at what is already in it."