1Z0-076 Oracle Database 19c: Data Guard Practice Questions
Prepare for 1Z0-076 with more than an answer.
- Exam fee
- $245 USD
- Time limit
- 120 minutes
- Level
- Professional
- Valid for
- 3 years
Domains covered on the exam 19
- Oracle Data Guard Basics
- Managing Oracle Net Services in a Data Guard Environment
- Creating Physical Standby Databases
- Oracle Active Data Guard
- Snapshot Standby Database Management
- Logical Standby Database Creation
- Data Guard Broker Fundamentals
- Data Guard Broker Configuration
- Monitoring Data Guard Broker Configurations
- Data Protection Modes
- Role Transitions
- Flashback Database in Data Guard
- Fast-Start Failover
- Backup and Recovery Considerations
- Patching and Upgrading
- Optimization and Tuning
- Physical Standby File Management
- Oracle Active Data Guard: Far Sync and Cascading
- Enhanced Client Connectivity
- 1
What is the primary purpose of configuring standby redo logs (SRLs) on a primary database in a Data Guard configuration?
Show answer details
Correct answer: C
While standby redo logs are primarily used on a standby to receive redo, they should also be configured on the primary database. Their purpose on the primary is to be ready for a future role transition. After a switchover, the old primary becomes the new standby. If SRLs are already configured, it can immediately start receiving redo from the new primary without any delay or manual intervention, ensuring a smooth and fast role reversal.
- 2
A DBA is performing a switchover using the DGMGRL
SWITCHOVER TO 'standby_db'command. The command fails during the phase where the old primary is being converted into a new standby. The new primary is now active, but the old primary is shut down. What is the most appropriate first step to resolve this situation?Show answer details
Correct answer: B
When a switchover fails after the standby has become the new primary, the immediate goal is to complete the role reversal. The old primary is likely in a state where it just needs to be properly configured as a standby. The correct procedure is to manually mount the old primary database, convert it to a physical standby using
ALTER DATABASE CONVERT TO PHYSICAL STANDBY, and then start redo apply. Once it's functioning as a standby, the Broker configuration can be re-enabled and validated. - 3
Which DGMGRL command would you use to change the amount of time, in seconds, that redo apply services can fall behind the redo generation on the primary before a warning is issued by the broker?
Show answer details
Correct answer: C
The
ApplyLagThresholdproperty of a standby database in the Broker configuration defines the acceptable apply lag in seconds. If the actual apply lag exceeds this value, the Broker will report aWARNINGstatus for the standby database. This is a crucial property for monitoring the health and RTO readiness of a standby. - 4
A client application is configured with a TNS connect string designed for Application Continuity. The service is correctly configured on the database side. During a successful, planned switchover, some users report that their long-running, read-only queries were terminated and had to be restarted manually. What is a likely cause for Application Continuity failing to replay these sessions?
Show answer details
Correct answer: B
Application Continuity works by capturing and replaying the transactional history of a session. However, it does not capture nontransactional session state changes, such as those made by
ALTER SESSION. If an application relies on such custom session settings, these settings will be lost upon reconnection to the new primary, which can cause queries to fail or produce different results. This is a common reason for replay failure. - 5
When using RMAN to offload backups to a physical standby, you must register both the primary and standby databases in the same recovery catalog. What is the correct sequence for registering these databases to ensure backups and metadata are managed correctly?
Show answer details
Correct answer: B
The correct and required sequence is to register the primary database in the recovery catalog first. The standby database is a copy of the primary, and the catalog needs to know about the source database before it can associate the standby with it. Attempting to register the standby first will result in an error because the catalog will not recognize its DBID as belonging to a known database.
- 6
A financial services company has a Data Guard configuration with a primary database in New York and a physical standby in London. To meet regulatory requirements for zero data loss (RPO=0) over this high-latency WAN link, a Far Sync instance has been deployed in a data center halfway between the sites. During a network outage, the primary database can no longer communicate with the Far Sync instance. What is the expected behavior of the primary database if the configuration is in Maximum Availability mode?
Show answer details
Correct answer: B
In Maximum Availability mode, if the primary database cannot contact the SYNC destination (in this case, the Far Sync instance), it will not shut down. Instead, it temporarily operates as if it were in Maximum Performance mode to prioritize primary database availability. Once connectivity is restored, it will automatically resynchronize and revert to Maximum Availability behavior. Shutting down is characteristic of Maximum Protection mode.
- 7
A DBA is configuring Fast-Start Failover (FSFO) and wants to ensure that an automatic failover does not occur during brief, transient network glitches between the primary and the observer. Which TWO DGMGRL properties should be configured to control this behavior? (Select TWO)
Show answer details
Correct answer: A, B
FastStartFailoverThresholddefines how long (in seconds) the observer waits after detecting a primary failure before initiating a failover. Increasing this value makes it less sensitive to short outages.ObserverReconnectspecifies the time (in seconds) the observer waits before attempting to reconnect to the primary. Together, these properties help prevent unnecessary failovers due to transient network issues.FastStartFailoverLagLimitis related to data loss tolerance, not network glitch tolerance.ObserverOverrideis used to force a failover when the observer disagrees with the standby's assessment. - 8
A database architect is designing a Data Guard solution for a large e-commerce platform. The primary database experiences extremely high transaction rates. The architect needs to minimize the performance impact on the primary database caused by redo transport. Which redo transport parameter, when configured, can significantly improve throughput by bundling redo data from multiple log writer (LGWR) sessions into a single network I/O?
Show answer details
Correct answer: C
The
MaxConnectionsattribute for theLOG_ARCHIVE_DEST_nparameter, when set to a value greater than 1, allows the redo transport destination to use multiple network connections. This enables redo data from multiple LGWR processes on a busy primary system to be transmitted in parallel or aggregated, which can significantly improve redo transport throughput and reduce the performance impact on the primary database. - 9
True or False: When a physical standby database is converted to a snapshot standby, it stops receiving redo data from the primary database until it is converted back to a physical standby.
Show answer details
Correct answer: B
This statement is false. A key feature of a snapshot standby is that while it is open in read-write mode for testing, it continues to receive redo data from the primary database. The redo is archived but not applied. When the snapshot standby is converted back to a physical standby, the changes made are discarded using Flashback Database, and the accumulated redo is then applied, quickly resynchronizing it with the primary.
- 10
A DBA needs to reinstate a failed primary database after a Fast-Start Failover. The DBA has confirmed that Flashback Database was enabled on the old primary. The DBA issues the
REINSTATE DATABASE 'old_primary'command in DGMGRL. What is the first major action the Data Guard Broker performs on the old primary database as part of this command?Show answer details
Correct answer: B
When Flashback Database is enabled, the
REINSTATEcommand is highly efficient. The Broker's first action is to use Flashback Database to rewind the old primary to the SCN just before the failover occurred. This avoids a full restore. After the flashback, it converts the database into a standby of the new primary and begins applying the archived redo logs received from the new primary to catch up.
