Docsity

Oracle Database 19c Data Guard Administration Practice Exam, Study notes of Technology

Toggle sidebar
bg1
Oracle Database 19c: Data Guard
Administration Practice Exam
Q1.
Which Data Guard configuration ensures zero data loss while
still allowing read-only access on the standby database?
A. Physical standby with Maximum Performance
B. Logical standby with Maximum Protection
C. Physical standby with Maximum Availability
D. Snapshot standby with Maximum Protection
Answer: C
Explanation:
Maximum Availability mode ensures zero data loss under
normal conditions by synchronously shipping redo to the
standby. A physical standby can be opened read-only with
Active Data Guard, allowing queries while redo apply
continues. Maximum Performance allows data loss, and
snapshot standby breaks redo apply.
Q2.
Which process is responsible for receiving redo data on a
standby database in Oracle 19c?
A. ARCn
B. LNS
C. RFS
D. MRP
Answer: C
Explanation:
The Remote File Server (RFS) process receives redo data sent
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Oracle Database 19c Data Guard Administration Practice Exam and more Study notes Technology in PDF only on Docsity!

Oracle Database 19c: Data Guard

Administration Practice Exam

Q1.

Which Data Guard configuration ensures zero data loss while still allowing read-only access on the standby database? A. Physical standby with Maximum Performance B. Logical standby with Maximum Protection C. Physical standby with Maximum Availability D. Snapshot standby with Maximum Protection Answer: C Explanation: Maximum Availability mode ensures zero data loss under normal conditions by synchronously shipping redo to the standby. A physical standby can be opened read-only with Active Data Guard , allowing queries while redo apply continues. Maximum Performance allows data loss, and snapshot standby breaks redo apply.

Q2. Which process is responsible for receiving redo data on a standby database in Oracle 19c? A. ARCn B. LNS C. RFS D. MRP Answer: C Explanation: The Remote File Server (RFS) process receives redo data sent

by the primary database. ARCn and LNS send redo from the primary, while MRP applies redo on the standby.

Q3. What happens if the primary database loses connectivity to the synchronous standby in Maximum Protection mode? A. Primary continues with asynchronous redo B. Primary switches to Maximum Availability C. Primary shuts down D. Redo is cached locally until standby returns Answer: C Explanation: Maximum Protection requires synchronous redo transport. If the standby becomes unavailable, Oracle shuts down the primary database to prevent data loss.

Q4. Which command enables real-time apply on a physical standby database? A. ALTER DATABASE RECOVER MANAGED STANDBY DATABASE; B. ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE; C. ALTER DATABASE OPEN READ ONLY; D. ALTER DATABASE START STANDBY APPLY; Answer: B Explanation: Using USING CURRENT LOGFILE enables real-time apply , allowing redo to be applied directly from standby redo logs instead of archived logs.

Q5.

thread to ensure continuous redo reception during log switches.

Q8. Which view shows Data Guard transport and apply lag? A. V$DATABASE B. V$DATAGUARD_STATS C. V$ARCHIVE_DEST D. DBA_HIST_ACTIVE_SESS_HISTORY Answer: B Explanation: V$DATAGUARD_STATS provides metrics such as transport lag, apply lag, and estimated recovery time.

Q9. Which protection mode provides the highest performance? A. Maximum Protection B. Maximum Availability C. Maximum Performance D. Active Data Guard Answer: C Explanation: Maximum Performance uses asynchronous redo transport , prioritizing performance over data protection.

Q10. Which command converts a physical standby into a snapshot standby? A. ALTER DATABASE SNAPSHOT STANDBY; B. ALTER DATABASE CONVERT TO SNAPSHOT STANDBY; C. ALTER DATABASE ACTIVATE STANDBY DATABASE; D. ALTER DATABASE OPEN SNAPSHOT;

Answer: B Explanation: This command temporarily converts a physical standby into a snapshot standby , allowing read-write operations for testing.

Q11. What happens to redo apply when a standby is converted to snapshot standby? A. Continues normally B. Applies archived logs only C. Is paused D. Is permanently stopped Answer: C Explanation: Redo apply is paused during snapshot standby mode and resumes once converted back to physical standby.

Q12. Which parameter enables Data Guard Broker? A. DG_BROKER_START B. ENABLE_DG_BROKER C. DATA_GUARD_BROKER D. BROKER_ENABLE Answer: A Explanation: Setting DG_BROKER_START=TRUE enables Data Guard Broker on the database.

Q13. Which statement about logical standby databases is true? A. They use block-for-block redo apply B. They allow full DML access

A. Becomes standby automatically B. Requires manual conversion C. Must be reinstated D. Remains primary Answer: C Explanation: After failover, the original primary must be reinstated as a standby before rejoining the configuration.

Q17. Which feature allows read-only queries on a physical standby while redo apply continues? A. Flashback Database B. Snapshot Standby C. Active Data Guard D. Logical Apply Answer: C Explanation: Active Data Guard enables read-only access with redo apply running simultaneously.

Q18. Which view shows redo apply status on the standby? A. V$LOG B. V$MANAGED_STANDBY C. V$ARCHIVED_LOG D. DBA_LOGSTDBY_EVENTS Answer: B Explanation: V$MANAGED_STANDBY displays the status of MRP, RFS, and other Data Guard processes.

Q19.

What is the default redo transport service used in Data Guard? A. ASYNC B. SYNC C. LGWR D. ARCH Answer: C Explanation: By default, Data Guard uses LGWR-based redo transport , offering better performance and lower latency.

Q20. Which parameter defines redo transport destinations? A. LOG_ARCHIVE_DEST_STATE_n B. LOG_ARCHIVE_DEST_n C. STANDBY_ARCHIVE_DEST D. DB_RECOVERY_FILE_DEST Answer: B Explanation: LOG_ARCHIVE_DEST_n defines redo transport destinations, including standby databases.

Q21. Which component is mandatory to enable Fast-Start Failover (FSFO) in Data Guard Broker? A. Physical standby database B. Logical standby database C. Observer process D. Snapshot standby Answer: C

Q24.

Which condition must be met for Fast-Start Failover to succeed? A. Flashback Database must be disabled B. Standby redo logs must exist C. Primary must be in NOARCHIVELOG mode D. Logical standby must be used Answer: B Explanation: FSFO requires standby redo logs to ensure real-time redo apply and minimal data loss during failover.

Q25. What is the purpose of the ApplyLagThreshold property in Data Guard Broker? A. Limits redo generation rate B. Controls maximum archive size C. Determines acceptable apply lag for failover D. Enables real-time apply Answer: C Explanation: ApplyLagThreshold defines how much apply lag (in seconds) is acceptable before FSFO refuses to perform an automatic failover.

Q26. Which type of failover minimizes data loss when FSFO is enabled? A. Manual failover B. Immediate failover

C. Observer-initiated failover D. Unplanned switchover Answer: C Explanation: An observer-initiated failover ensures all FSFO conditions are validated, including redo apply status, minimizing data loss.

Q27. What is the role of the Reinstate command in Data Guard Broker? A. Converts standby to primary B. Rebuilds a failed standby C. Rejoins a former primary as a standby D. Starts redo apply Answer: C Explanation: After a failover, the original primary must be reinstated to become a standby again. This is done using REINSTATE DATABASE.

Q28. Which situation prevents a database from being reinstated? A. Flashback Database is disabled B. Standby redo logs are missing C. Data Guard Broker is disabled D. Archive logs are deleted Answer: A Explanation: Reinstatement relies on Flashback Database to rewind the former primary to a consistent SCN.

Q29.

Explanation: A WARNING status typically indicates lag or non-fatal issues that require attention but do not break the configuration.

Q32. What happens if LOG_ARCHIVE_DEST_STATE_n is set to DEFER? A. Redo is lost B. Destination is ignored temporarily C. Primary shuts down D. Standby redo logs are deleted Answer: B Explanation: Setting a destination to DEFER temporarily stops redo shipping without impacting the database.

Q33. Which feature allows automatic client redirection after a failover? A. TAF B. SCAN listeners C. Transparent Application Continuity D. Data Guard Broker Answer: C Explanation: Transparent Application Continuity (TAC) helps applications reconnect automatically after failover, preserving sessions.

Q34. Which command activates a physical standby permanently? A. ALTER DATABASE ACTIVATE STANDBY DATABASE; B. ALTER DATABASE OPEN RESETLOGS;

C. SWITCHOVER DATABASE;

D. FAILOVER DATABASE;

Answer: A Explanation: This command converts a standby into a permanent primary , breaking Data Guard synchronization.

Q35. What happens to redo transport during a switchover? A. Redo shipping stops permanently B. Redo transport reverses direction C. Redo logs are recreated D. Standby redo logs are dropped Answer: B Explanation: After a switchover, the former standby becomes the primary , and redo transport direction reverses automatically.

Q36. Which view tracks archive gaps on the standby? A. V$ARCHIVED_LOG B. V$ARCHIVE_DEST_STATUS C. V$ARCHIVE_GAP D. V$LOG_HISTORY Answer: C Explanation: V$ARCHIVE_GAP identifies missing archived logs required for redo apply.

Q37. Which process resolves archive gaps automatically?

Q40.

Which command starts managed recovery on a standby database? A. ALTER DATABASE RECOVER STANDBY; B. ALTER DATABASE START APPLY; C. ALTER DATABASE RECOVER MANAGED STANDBY DATABASE; D. START REDO APPLY; Answer: C Explanation: This command initiates redo apply on the standby database.

Q41. Which Data Guard feature minimizes downtime during planned maintenance? A. Failover B. Flashback Database C. Switchover D. Snapshot Standby Answer: C Explanation: A switchover allows role reversal with minimal downtime, ideal for planned maintenance.

Q42. Which standby type supports SQL Apply? A. Physical standby B. Logical standby C. Snapshot standby D. Far Sync Answer: B

Explanation: Logical standby uses SQL Apply , transforming redo into SQL statements.

Q43. Which view shows Data Guard protection mode? A. V$DATABASE B. V$DATAGUARD_STATS C. V$ARCHIVE_DEST D. V$LOG Answer: A Explanation: V$DATABASE displays the current protection mode and role.

Q44. Which command disables Fast-Start Failover? A. DISABLE FAST_START FAILOVER; B. STOP FSFO; C. ALTER SYSTEM DISABLE FSFO; D. SHUTDOWN FSFO; Answer: A Explanation: This command is executed in DGMGRL to disable FSFO.

Q45. Which network configuration is critical for Data Guard performance? A. Low CPU usage B. High disk IOPS C. Low network latency D. Large SGA Answer: C

C. SHOW DATABASE

D. VALIDATE DATABASE

Answer: D Explanation: VALIDATE DATABASE ensures the database is ready for role transitions.

Q49. Which type of standby is best suited for reporting workloads? A. Logical standby B. Physical standby with Active Data Guard C. Snapshot standby D. Far Sync standby Answer: B Explanation: Active Data Guard allows read-only reporting while redo apply continues, making it ideal for offloading workloads.

Q50. Which Data Guard feature reduces Recovery Time Objective (RTO)? A. Archive-only apply B. Standby redo logs C. Manual failover D. Logical standby Answer: B Explanation: Standby redo logs enable real-time apply , reducing recovery time significantly.

Q51.

Which Data Guard configuration provides disaster protection across long distances with minimal performance impact? A. Physical standby with SYNC transport B. Logical standby with SQL Apply C. Far Sync instance D. Snapshot standby Answer: C Explanation: A Far Sync instance acts as an intermediate redo receiver near the primary. The primary sends redo synchronously to the Far Sync, which then forwards redo asynchronously to the standby, enabling zero data loss over long distances.

Q52. Which component does a Far Sync instance NOT contain? A. Control files B. Standby redo logs C. Data files D. Redo transport services Answer: C Explanation: Far Sync instances do not contain data files. They only store control files and standby redo logs to forward redo.

Q53. Which protection mode is mandatory for Fast-Start Failover? A. Maximum Performance B. Maximum Availability C. Maximum Protection D. Any protection mode Answer: B