+ All Categories
Home > Documents > 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in...

1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in...

Date post: 17-Jul-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
41
http://www.gratisexam.com/ 1z0-066.Pass4sure Number : 1z0-066 Passing Score : 800 Time Limit : 120 min File Version : 1.0 http://www.gratisexam.com/ ORACLE 1z0-066 Oracle Database 12c: Data Guard Administration Version 1.0
Transcript
Page 1: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

1z0-066.Pass4sure

Number: 1z0-066Passing Score: 800Time Limit: 120 minFile Version: 1.0

http://www.gratisexam.com/

ORACLE 1z0-066

Oracle Database 12c: Data Guard Administration

Version 1.0

Page 2: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Exam A

QUESTION 1There are currently 6 APPLIER and 6 PREPARER processes running and no idle APPLIER processes on your logical standby database.

The MAX_SERVERS SQL apply parameter and number of archiver processes are both set to 12.

Identify two changes, each of which would allow you to increase the number of APPLIER processes.

http://www.gratisexam.com/

A. Increase the PROCESSES initialization parameterB. Increase the value for the MAX_SERVERS SQL apply parameter.C. Decrease the number of archiver processes on the standby database.D. Increase the PARALLEL_MAX_SERVER initialization parameterE. Decrease the number of PREPARER processesF. Increase the RECOVERY_PARALLELISM initialization parameter

Correct Answer: BESection: (none)Explanation

Explanation/Reference:There are three parameters that can be modified to control the number of processes allocated to SQL Apply: MAX_SERVERS, APPLY_SERVERS, andPREPARE_SERVERS. The following relationships must always hold true:

APPLY_SERVERS + PREPARE_SERVERS = MAX_SERVERS - 3

This is because SQL Apply always allocates one process for the READER, BUILDER, and ANALYZER roles.

References: https://docs.oracle.com/cd/B28359_01/server.111/b28294/manage_ls.htm

QUESTION 2Which three statements are true about snapshot standby databases?

A. Snapshot standby databases may be used for rolling release upgrades.B. If datafiles grow while a database is a snapshot standby database, then they shrink when converted back to a physical standby database.

Page 3: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

C. Flashback logs are used to convert a snapshot standby database back into a physical standby database.D. A snapshot standby database can have Real-Time Query enabled.E. A guaranteed restore point is created automatically when a physical standby database is converted into a snapshot standby database.

Correct Answer: CESection: (none)Explanation

Explanation/Reference:C: Flashback Database is similar to conventional point-in-time recovery in its effects. It enables you to return a database to its state at a time in the recent past.Flashback Database uses its own logging mechanism, creating flashback logs and storing them in the fast recovery area. You can only use Flashback Database ifflashback logs are available. Flashback Database is used to convert a snapshot standby database back into a physical standby database.

E: When we convert the physical standby database to snapshot standby database a guaranteed restore point is created. This guaranteed restore point is used toflashback a snapshot standby database to its original state.

Incorrect Answers:A: Oracle Database supports the installation of database software upgrades, and the application of patch sets, in a rolling fashion—with near zero databasedowntime—by using Data Guard SQL Apply and logical standby databases.

References: https://docs.oracle.com/cd/E11882_01/server.112/e41134/manage_ps.htm#SBYDB4803http://satya-dba.blogspot.se/2012/06/snapshot-standby-databases-oracle.html

QUESTION 3Which three statements are true about Global Sequences when connected to a physical standby database with Real-Time Query enabled?

A. If the CACHE option is set then the size of the cache must be at least 100.B. Their creation requires that a LOG_ARCHIVE_DEST_n parameter be defined in the standby that points back to their primary.C. Their usage will always have a performance impact on the primary database.D. Their usage may have a performance impact on the physical standby database if the CACHE size is too smallE. They must have the NOORDER and CACHE options set.

Correct Answer: BDESection: (none)Explanation

Explanation/Reference:B: the terminal standby should have a LOG_ARCHIVE_DEST_n parameter defined that points back to the primary.

Page 4: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

D: Because the standby's requests for a range of sequences involve a round-trip to the primary, be sure to specify a large enough value for the CACHE keywordwhen you create a sequence that will be used on an Oracle Active Data Guard standby. Otherwise, performance could suffer.

E: In an Oracle Active Data Guard environment, sequences created by the primary database with the default CACHE and NOORDER options can be accessedfrom standby databases as well.

References: https://docs.oracle.com/database/121/SBYDB/manage_ps.htm#SBYDB5164

QUESTION 4Examine this query and its output:

SQL> select fs_failover_status, fs_failover_current_target, 2 fs_failover_observer_present, fs_failover_oserver_host 3 from v$database:FS_FAILOVER_STATUS FS_FAILOVER_CURRENT_TARGETFS_FAILOVER_OBSERVER_PRESENT FS_FAILOVER_OBSERVER_HOST

--------------- ----------------------- ---------------- ------------------BYSTANDER cats NOO17.example.com

Which are true?

A. The observer is not connected to the database on which the query was executed.B. Cats is a bystander database.C. The observer is connected to the database on which the query was executed.D. The observer is currently running on o17.example.com.E. The observer is not running, but should run on o17.example.com.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:Viewing Information About the ObserverYou can find information about the observer by querying the following columns in the V$DATABASE view:* FS_FAILOVER_OBSERVER_HOST shows the name of the computer on which the observer is running. Here it is cats.

* FS_FAILOVER_OBSERVER_PRESENT shows whether or not the observer is connected to the local database. Here the value is NO.

References: https://docs.oracle.com/cd/B19306_01/server.102/b14230/sofo.htm

Page 5: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

QUESTION 5Which three are true about using RMAN in a Data Guard environment?

http://www.gratisexam.com/

A. A recovery catalog is required when RMAN is used to take backups from a logical standby database in a Data Guard configuration if you plan to recover theprimary using those backups.

B. Backups of archived redo logs taken on a physical standby are interchangeable with a primary.C. A recovery catalog is required when RMAN is used to take backups from a physical standby database if you plan to recover the primary using those backups. D. Backups of control files taken on a physical standby are not interchangeable with a primary.E. Backups of data files taken on a physical standby are interchangeable with a primary.

Correct Answer: BCESection: (none)Explanation

Explanation/Reference:RMAN uses a recovery catalog to track filenames for all database files in a Data Guard environment. A recovery catalog is a database schema used by RMAN tostore metadata about one or more Oracle databases. The catalog also records where the online redo logs, standby redo logs, tempfiles, archived redo logs, backupsets, and image copies are created.

RMAN commands use the recovery catalog metadata to behave transparently across different physical databases in the Data Guard environment. For example,you can back up a tablespace on a physical standby database and restore and recover it on the primary database. Similarly, you can back up a tablespace on aprimary database and restore and recover it on a physical standby database.

Incorrect Answers: A: Because a logical standby database is not a block-for-block copy of the primary database, you cannot use a logical standby database to back up the primarydatabase

D: Backups of standby control files and nonstandby control files are interchangeable. For example, you can restore a standby control file on a primary database anda primary control file on a physical standby database. This interchangeability means that you can offload control file backups to one database in a Data Guardenvironment. RMAN automatically updates the filenames for database files during restore and recovery at the databases.

References: https://docs.oracle.com/cd/E11882_01/server.112/e41134/rman.htm#SBYDB4853

QUESTION 6A customer has these requirements for their potential Data Guard implementation:1. Zero data loss must still be guaranteed through the loss of any one configuration component.

Page 6: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

2. The primary database must be protected against a regional disaster.3. Performance overheads on the primary should be minimized as much as possible given these requirements.4. Downtime on the primary database for any reason must be kept to a minimum.

Components referred to in the broker commands are:

Which Data Guard broker commands are needed to implement these requirements?

A. EDIT DATABASE prima SET PROPERY REDOROUTES=’ (LOCAL: physt1, FASTSYNC)’;EDIT DATABASE prima SET PROPERY REDOROUTES=’ (LOCAL: fs1 SYNC)’;EDIT FAR_SYNC fs1 SET PROPERTY REDORUOTES=’ (prima: physt2 SYNC)’;EDIT CONFIGURATION SET PROTECTION MODE AS MAXAVAILABILITY;

B. EDIT DATABASE prima SET PROPERY REDOROUTES=’ (LOCAL: fs1 ASYNC)’;EDIT FAR_SYNC fs1 SET PROPERTY REDORUOTES=’ (prima: physt FASTSYNC)’;EDIT CONFIGURATION SET PROTECTION MODE AS MAXPROTECTION

C. EDIT DATABASE prima SET PROPERY REDOROUTES=’ (LOCAL: fs1 SYNC)’;EDIT FAR_SYNC fs1 SET PROPERTY REDORUOTES=’ (prima: physt ASYNC)’;EDIT CONFIGURATION SET PROTECTION MODE AS MAXAVAILABILITY;

D. EDIT DATABASE prima SET PROPERY REDOROUTES=’ (LOCAL: physt1, FASTSYNC)’;EDIT DATABASE prima SET PROPERY REDOROUTES=’ (LOCAL: fs1, FASTSYNC)’;EDIT FAR_SYNC fs1 SET PROPERTY REDORUOTES=’ (prima: physt2 ASYNC)’;EDIT CONFIGURATION SET PROTECTION MODE AS MAXAVAILABILITY;

Correct Answer: ASection: (none)Explanation

Explanation/Reference:The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM.

Note:Fast Sync is a new Data Guard capability available with Oracle Database 12c. Fast Sync enables use of the destination parameter NOAFFIRM which specifies thatthe standby acknowledge receipt of redo without waiting for the write to the standby redo log file to complete. Fast Sync can improve application response time in a

Page 7: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

SYNC configuration by removing remote I/O from the total round trip time.

Active Data Guard Far Sync Architecture

Incorrect Answers:B: There is no keyword FASTSYNC. To configure fast sync you use SYNC NOAFFIRM.C: The route between fs1 and physical standbase in the remote region, like physt, should be SYNC, not ASYNC.D: The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC, not ASYNC.

References: http://www.oracle.com/technetwork/database/availability/farsync-2267608.pdf

QUESTION 7Examine the Data Guard configuration:

DGMGRL> show configuration:

Configuration-Animals

Protection Mode: MaxAvailabilityDatabases:Sheep- Primary databaseWarning: ORA-16817: unsynchronized fast-start failover configurationDogs – (*) Physical standby database (disabled)ORA- 16661: the standby database needs to be reinstated

Fast-Start Failover: ENABLEDConfiguration Status: WARNING

Page 8: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

And the fast-start failover configuration:

DGMGRL> show fast_start failover;Fast-Start Failover: ENABLED

Threshold : 30 secondsTarget: dogsObserver : 017.example.comLag Limit: 30 seconds (not in use)Shutdown Primary: TRUEAuto-reinstate: TRUEObserver Reconnect: 10 secondsObserver Override: FALSE

Configurable Failover ConditionsHealth Conditions:Corrupted Controlfile YESCorrupted Dictionary YESInaccessible Logfile NOStuck Archiver NODatafile Offline YESOracle error Conditions:ORA-01578: ORACLE data block corrupted (file # %s, block # %s)

And finally the reason for the fail over:

SQL> select last_failover_reason from v$fs_failover_stats;

LAST_FAILOVER_REASONORA-01578: ORACLE data block corrupted (file # %s, block # %s)

Identify the task, or sequence of tasks, to bring the configuration into the SUCCESS state.

A. Bring Dogs to the NOMOUNT state and let the broker reinstate Dogs automatically.B. MOUNT DOGS and issue “reinstate database dogs:” at the DGMGRL prompt while connected to Dogs.C. MOUNT DOGS and issue “reinstate database dogs:” at the DGMGRL prompt while connected to Sheep.D. Open Dogs and let the broker reinstate Dogs automatically.

Correct Answer: CSection: (none)Explanation

Page 9: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Explanation/Reference:The command REINSTATE DATABASE reinstates a database as a new standby database in the broker configuration for the current primary database.

References: https://docs.oracle.com/cd/B28359_01/server.111/b28295/dgmgrl.htm#BABDACIF

QUESTION 8You are monitoring your Data Guard broker configuration and issue this set of DGMGRL commands:

DGMGRL> SHOW CONFIGURATION

Configuration – DRSolution

Protection Mode: MaxPerformanceDatabases:Close_by-Primary databaseFS_inst- Far SyncFar_away –Physical standby database

Fast-Start Failover: DISABLED

Configuration Status:SUCCESS

What is true concerning this configuration?

A. The Close_by primary database instance forwards redo to the FS_inst Far Sync instance, which forwards the redo in turn to the Far_away physical standbydatabase instance.

B. The far sync instance will not forward redo to the Far_away physical standby because the Protection mode is not MaxProtection.C. The close_by primary database forwards redo to the Far_away physical standby directly and also sends redo to the FS_inst Far Sync instance.D. The far sync instance will not forward redo to the Far_away physical standby because Fast-Start Failover is disabled.E. The FS_inst Far Sync instance forwards redo to the Far_away physical standby only if the close_by primary database is not able to do so.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:An Oracle Data Guard far sync instance is a remote Oracle Data Guard destination that accepts redo from the primary database and then ships that redo to othermembers of the Oracle Data Guard configuration. A far sync instance manages a control file, receives redo into standby redo logs (SRLs), and archives thoseSRLs to local archived redo logs, but that is where the similarity with standbys ends. A far sync instance does not have user data files, cannot be opened for

Page 10: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

access, cannot run redo apply, and can never function in the primary role or be converted to any type of standby database.

References: https://docs.oracle.com/database/121/SBYDB/create_fs.htm

QUESTION 9After converting your physical standby database to a logical database, you get an error:

DGMGRL> show configurationConfiguration- proddgProtection Mode: MaxPerformanceDatabases:prod-Primary datatabseprodsby-Physical standby databaseError: ORA-16810 multiple errors or warnings detected for databaseFast-Start Failover: DISABLEDConfiguration Status:ERROR

How can you rectify the error?

A. Add a logical standby database PRODSBY and enable it, thereby replacing the physical standby database metadata in the broker configuration.B. Remove the physical standby database PRODSBY from the broker configuration, add a logical standby database PRODSBY to the broker configuration and

enable it.C. Reinstate the physical standby database PRODSBY as a logical standby, thereby replacing the physical standby database metadata in the broker configuration.D. Reinstate both the primary and physical standby databases. The broker will automatically detect that PRODSBY is a logical standby update to the metadata.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:You can reenable the standby database or reset the primary database state to ONLINE to fix the inconsistencies.

References: https://docs.oracle.com/cd/B19306_01/server.102/b14230/cli.htm

QUESTION 10Which four requirements can be met by deploying a logical standby database?

Page 11: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

http://www.gratisexam.com/

A. Support for workloads requiring additional indexes.B. It can be used to create additional schemas.C. It can be used to create additional tables.D. It must have the same physical structure as the primary database.E. it must provide a disaster-recovery solution that protects all data with capability of performing switchovers and failovers.F. Support for workloads requiring additional materialized views.G. It can be used for Real Application Testing without affecting the disaster recovery capabilities.

Correct Answer: ACEGSection: (none)Explanation

Explanation/Reference:A: DDL Statements supported by a Logical Standby Database include:ALTER INDEXCREATE INDEXDROP INDEX

C: DDL Statements supported by a Logical Standby Database include:CREATE TABLEDROP TABLE

Incorrect Answers:D: The physical organization in a logical standby database is different from that of the primary database, even though the logical standby database is created from abackup copy of the primary database.

F: DDL Statements not supported by a Logical Standby Database include: CREATE MATERIALIZED VIEW

References: https://docs.oracle.com/cd/E11882_01/server.112/e41134/create_ls.htm#SBYDB4731https://docs.oracle.com/cd/B28359_01/server.111/b28294/data_support.htm

QUESTION 11A query on the view DBA_LOGSTDBY_UNSUPPORTED on your primary database returns several rows.

As a result of this, you decide that an upgrade may not use logical standby databases.

Which three are true about upgrading Data Guard environments consisting of one physical standby database running on a separate host from the primary?

Page 12: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

A. The upgrade requires downtime until the upgrade of the standby is completed.B. The broker must be disabled during the upgrade.C. With manual upgrade, catupgrd.sq1 can be executed on the primary and standby databases simultaneously.D. The upgrade requires downtime until the upgrade of the primary is completed.E. The new release of the Oracle Software must be installed on both the primary and standby database hosts.F. Redo Apply on the standby database must be stopped while the primary database is upgraded.G. Fast-Start Failover can be used to protect the primary database during the upgrade.

Correct Answer: BDESection: (none)Explanation

Explanation/Reference:B: Disable the broker's management of the configuration and then stop the broker.

E: On the primary database install the newer release of the Oracle software, and on the logical standby database, install the newer release of the Oracle software.

Incorrect Answers:C: Oracle Database 12c introduces a new command-line upgrade utility (catctl.pl). This utility replaces the catupgrd.sql script used to upgrade to previous releasesof Oracle Database. The new command-line upgrade utility enables parallel processing during the database upgrade, resulting in better upgrade performance andreduced database downtime.

G: Disable fast-start failover if it is enabled.

References: https://docs.oracle.com/database/121/SBYDB/upgrades.htmhttps://docs.oracle.com/database/121/DGBKR/upgrade_appx.htm#DGBKR1212

QUESTION 12You are licensed to use Oracle Active Data Guard.

Which two statements are true after enabling block change tracking on a physical standby database?

A. It allows fast incremental backups to be offloaded to the physical standby database.B. It starts the CTWR process on the physical standby database instance.C. It allows fast incremental backups to be taken on the primary database.D. It starts the RVWR process on the physical standby database instance.E. It allows fast incremental backups to be offloaded to a snapshot standby database, when the physical standby database in converted.

Page 13: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

F. It starts the CTWR process on the primary database instance.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:A: Many of the customers now are opting to perform RMAN backups on standby database to offload the resources of production database. B: To enable Active Data Guard on a standby database, set the ENABLE_OPTION_ACTIVE_DATA_GUARD initialization parameter to TRUE.

Note: Fast Incremental backups is possible with Block change tracking, which is initially introduced from version 10.2 onwards, by this tool it's very useful to reducethe RMAN incremental backup duration but it is limited only for Primary database. From 11g Oracle with Active Data Guard feature we can use Block changetracking even on Physical standby database. T

References: http://www.morganslibrary.org/reference/block_change_tracking.html

QUESTION 13Which three are true regarding the Enterprise Manager Cloud Control Data Guard configuration verification wizard?

A. It checks that supplemental logging is turned on if there is a logical standby database in the configuration.B. It verifies that parameter settings in the SPFILE or in memory or both, are consistent with the broker configuration properties for that database.C. It checks that the current data protection level is consistent with the broker’s configured data protection mode.D. It modifies the database configurable parameters to match the values set for the broker configuration. E. It generates a workload on the primary database causing log switching, and monitors the arrival rate of redo on the standby database.

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:Usually Data Guard configuration verification is kind of health check of Data Guard, it does many things like performing complete health check, verifying the FSFOstatus, determination of protection mode, availability of standby redo log files, Data Guard status whether valid or not, After the log switch whether the sequence isshipping to standby or not and Data Guard properties. To initiate Data Guard verification Navigation is "Availability --> Verify Data Guard Configuration".

Page 14: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

References: http://www.toadworld.com/platforms/oracle/w/wiki/11149.monitoring-troubleshooting-data-guard-using-em12c

Page 15: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

QUESTION 14You created a physical standby database PRODSBY1 from the primary database PROD using SQL and RMAN.

Which two are prerequisites for creating a Data Guard Broker configuration to manage these databases?

A. The standby database must have supplemental logging enabled.B. The primary database must have FORCE LOGGING enabled.C. The DG_BROKER_START parameter must be set to TRUE for both database instances.D. The primary database must have supplemental logging enabled.E. A local net service name to enable connectivity to the PRODSBY1 database instance must be defined on the primary database host.

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:B: Enabled forced logging on the primary database by issuing the following command.

ALTER DATABASE FORCE LOGGING;-- Make sure at leat one logfile is present.ALTER SYSTEM SWITCH LOGFILE;

C: Enable BrokerWhen we have a primary database and a standby database, we need to start using the Data Guard Broker to manage them. Connect to both databases (primaryand standby) and issue the following command.

ALTER SYSTEM SET dg_broker_start=true;

References: https://oracle-base.com/articles/12c/data-guard-setup-using-broker-12cr1

QUESTION 15In which two cases is it possible to change the protection mode to maximum protection using Enterprise Manager Cloud Control?

A. A snapshot standby database is the only standby database in the Data Guard configuration.B. A logical standby database is the only standby database in the data guard configuration.C. A far sync instance is the only Data Guard configuration member receiving redo in synchronous mode.D. Flashback is not enabled for either the primary database, the standby database, or both in the Data Guard configuration.E. The primary and standby databases are hosted on different operating systems.

Page 16: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Correct Answer: BESection: (none)Explanation

Explanation/Reference:Maximum protection mode requires the SYNC redo transport mode to be set on at least one standby database.

Note: The Maximum protection mode ensures that no data loss will occur if the primary database fails. To provide this level of protection, the redo data needed torecover a transaction must be written to both the online redo log and to the standby redo log on at least one synchronized standby database before the transactioncommits. To ensure that data loss cannot occur, the primary database will shut down, rather than continue processing transactions, if it cannot write its redo streamto at least one synchronized standby database.

References: http://www.oracle.com/technetwork/oem/framework-infra/wp-em12c-building-ha-level3-1631423.pdf

QUESTION 16Which two are true about the usage of DBMS_ROLLING?

A. The leading group contains the original primary database.B. The trailing group contains the original primary database.C. The background process DMON must be enabled on all database instances that take part in the rolling release upgrade process.D. At least one logical standby database must be part of the initial Data Guard configuration.E. The trailing group can contain standby databases that will protect the original primary database during the rolling release upgrade process.

Correct Answer: DESection: (none)Explanation

Explanation/Reference:E: The trailing group contains the original primary database and standby databases that will protect the original primary during the rolling upgrade process.

D: Databases in the leading group are upgraded first; hence the name leading group. The leading group contains the designated future primary database, and thephysical standbys that you can configure to protect the designated future primary. The future primary is first converted into a logical standby database and then thenew database software is installed on it and the upgrade process is run. Other standby databases in the leading group also must have their software upgraded atthis point.

Note: To upgrade the database software in an Oracle Data Guard configuration in a rolling fashion, you first designate a physical standby as the future primarydatabase.

Conceptually, the rolling upgrade process splits the Oracle Data Guard configuration into two groups: the leading group (LG) and the trailing group (TG).

Page 17: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Incorrect Answers:A: The leading group contains the designated future primary database, and the physical standbys that you can configure to protect the designated future primary.

References: https://docs.oracle.com/database/121/SBYDB/dbms_rolling_upgrades.htm#SBYDB5431

QUESTION 17Which three statements are true about Far Sync instances?

A. The Data Guard Broker must be used to deploy and manage Far Sync instances.B. They enable standby database to be configured at remote distances from the primary without impacting performance on the primary.C. A primary database can ship redo directly to multiple Far Sync instances.D. They use as spfile, a standby controlfile, and standby redo logs.E. They work with any protection level.

Correct Answer: ABDSection: (none)Explanation

Explanation/Reference:A: The the far sync instance is added to a Data Guard broker configuration.B: Creating a far sync instance is similar to creating a physical standby except that data files do not exist at the far sync instance. Therefore, on a far sync instancethere is no need to copy data files or restore data files from a backup. Once the far sync instance has been created, the configuration is modified to send redosynchronously from the primary database to the far sync instance in Maximum Availability mode and the far sync instance then forwards the redo asynchronously inreal time.

D: Creating and Configuring a Far Sync InstanceTake the following steps to create a far sync instance:1. Create the control file for the far sync instance.2. Create a parameter file (PFILE) from the server parameter file (SPFILE) used by the primary database.3. Create a server parameter file (spfile) from the edited parameter file (pfile) to facilitate any subsequent changes to parameter values.4. Use an operating system copy utility to copy the far sync instance control file created in Step 1 and the server parameter file (spfile) created in Step 3 from theprimary system to the appropriate locations on the far sync instance system.5. Create standby redo logs in the same way they are created for a regular standby.Etc.

Incorrect Answers:C: A far sync instance manages a control file, receives redo into standby redo logs (SRLs), and archives those SRLs to local archived redo logs.E: A far sync instance is supported in either maximum performance or maximum availability mode only.

References: https://docs.oracle.com/database/121/SBYDB/create_fs.htm

Page 18: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

QUESTION 18Which three statements are true about snapshot standby databases?

A. Tablespaces can be dropped.B. Tables can be dropped.C. The broker may be used to fail over to a snapshot standby database.D. A logical standby database can be converted into a snapshot standby database.E. Tablespaces can be created.

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:Incorrect Answers:Not C: A snapshot standby database cannot be the target of a switchover or failover. A snapshot standby database must first be converted back into a physicalstandby database before performing a role transition to it.

D: A snapshot standby database is a fully updatable standby database that is created by converting a physical standby database into a snapshot standby database.

References: https://docs.oracle.com/cd/B28359_01/server.111/b28294/manage_ps.htm

QUESTION 19Which three are benefits of using the Data Guard Broker to manage standby databases?

A. It simplifies physical standby database creation.B. It provides an easy failover capability using a single command.C. It coordinates database state transitions and updates database properties dynamically.D. It automatically changes database properties after the protection mode for a configuration is changed.E. It provides an easy switchover capability using a single command.F. It simplifies logical standby database creation.G. It load balances connections between the primary and all the standby database instances that are open as read-only for reporting.

Correct Answer: BCESection: (none)Explanation

Explanation/Reference:BE: The broker simplifies switchovers and failovers by allowing you to invoke them using a single key click in Oracle Enterprise Manager or a single command at

Page 19: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

the DGMGRL command-line interface (referred to in this documentation as manual failover).

C: The broker coordinates database state transitions and update database properties dynamically with the broker recording the changes in a broker configurationfile that includes profiles of all the databases in the configuration. The broker propagates the changes to all databases in the configuration and their serverparameter files.

References: https://docs.oracle.com/cd/E11882_01/server.112/e40771/concepts.ht

QUESTION 20Which three are always benefits of using a logical standby database?

http://www.gratisexam.com/

A. It can be used for database rolling release upgrades.B. It can be used to replicate a single pluggable database (PDB) in a multitenant container database.C. It can be used as an updatable database for Real Application testing and then converted back to a standby database without affecting the updates.D. It can be used for reporting workloads requiring additional indexes or materialized views or both.E. It provides a disaster-recovery solution with switchover and failover options that can recover any data updated on the primary database.F. It can be used for testing patches without affecting the primary database.

Correct Answer: CDFSection: (none)Explanation

Explanation/Reference:C: A logical standby database can be used to test new software releases and some kinds of applications on a complete and accurate copy of the primary's data. Itcan host other applications and additional schemas while protecting data replicated from the primary against local changes.D: A logical standby database is open read/write while changes on the primary are being replicated. Consequently, a logical standby database can simultaneouslybe used to meet many other business requirements, for example it can run reporting workloads that would problematical for the primary's throughput.F: Logical standby can be used to greatly reduce downtime associated with applying patchsets and new software releases. A logical standby can be upgraded tothe new release and then switched over to become the active primary. This allows full availability while the old primary is converted to a logical standby and thepatchset is applied.

References: https://docs.oracle.com/cd/E11882_01/server.112/e41134/standby.htm#SBYDB00103

QUESTION 21Which two are prerequisites for creating a standby database using Enterprise Manager cloud control?

Page 20: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

A. The primary database must have FORCE LOGGING enabled.B. The primary database must be in archivelog mode.C. A backup of the primary database must exist.D. The primary host and the proposed standby database host must run the same operating system.E. The primary database instance must be started using an SPFILE.F. The primary database must have flashback enabled.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:A: Before you create a standby database you must first ensure the primary database is properly configured.Place the primary database in FORCE LOGGING mode.

B: If archiving is not enabled, issue the following SQL statements to put the primary database in ARCHIVELOG mode and enable automatic archiving:

SQL> SHUTDOWN IMMEDIATE;SQL> STARTUP MOUNT;SQL> ALTER DATABASE ARCHIVELOG;SQL> ALTER DATABASE OPEN;

References: https://docs.oracle.com/database/121/SBYDB/create_ps.htm#SBYDB4719

QUESTION 22A Data Guard environment has this configuration and these attributes:

1. The primary database prima is in the local region.2. A physical standby database physt1 is in the local region.3. A physical standby database physt2 is in a remote region.4. The primary ships redo to physt1.5. physt1 ships redo physt2.6. physt1 and physt2 have Real-Time Query enabled.

A sequence has been created with this SQL statement in the primary database:

CREATE SEQUENCE a NOCACHE SESSION:

Which two statements are true?

Page 21: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

A. The sequence is usable on physt1 and physt2.B. The sequence is usable on physt1 but not usable on physt2. C. The sequence is usable on physt2 if physt1 becomes unavailable, but only if an alternative redo destination has been configured on the primary database.D. physt2 will no longer receive redo if physt1 becomes unavailable, unless LOG_ARCHIVE_DEST_n has the ALTERNATE attribute specified on the primary

database.E. physt2 will no longer receive redo if physt1 becomes unavailable, unless LOG_ARCHIVE_DEST_n has the ALTERNATE attribute specified on physt1.

Correct Answer: CESection: (none)Explanation

Explanation/Reference:Note: LOG_ARCHIVE_DEST_n specifies an alternate archiving destination to be used when the original destination fails.The ALTERNATE attribute is optional. If an alternate destination is not specified, then redo transport services do not automatically change to another destination ifthe original destination fails.

References: https://docs.oracle.com/cd/B28359_01/server.111/b28294/log_arch_dest_param.htmhttps://docs.oracle.com/database/121/SQLRF/statements_6017.htm#SQLRF01314

QUESTION 23Which three steps are prerequisites for the creation of a physical standby database on a separate server using the RMAN active database duplication method?

A. Set the DB_UNIQUE_NAME parameter on the primary database to a different value than that of the DB_NAME parameter.B. Put the primary database into archivelog mode.C. Startup nomount the standby database instance.D. Configure Oracle Net connectivity on the primary host to the standby database instance.E. Establish user equivalence for the database software owner between the primary host and standby host.

Correct Answer: CDESection: (none)Explanation

Explanation/Reference:C: Shut down and restart the auxiliary database instance on the destination host in NOMOUNT mode.D: When a database must be accessed from another host, you must set up a password file and Oracle Net connectivity.E: When instructed to connect to the necessary instances, connect to the root as a user with SYSDBA or SYSBACKUP privilege. On both instances, the passwordfor the user performing the duplication must be the same.

References: https://docs.oracle.com/database/121/BRADV/rcmdupdb.htm

Page 22: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

QUESTION 24Which three are required in order to use Real-Time Query without lagging behind the primary?

A. There must be standby redo logs on the standby database.B. There must be standby redo logs on the primary database. C. The primary must ship redo asynchronously.D. COMPATIBLE must be set to 11.1.0 or higher.E. Real-Time apply must be enabled on the standby.

Correct Answer: ADESection: (none)Explanation

Explanation/Reference:D: The COMPATIBLE database initialization parameter must be set to 11.0 or higher to use the real-time query feature of the Oracle Active Data Guard option.

E: The apply lag control and Redo Apply synchronization mechanisms require that the client be connected and issuing queries to a physical standby database thatis in real-time query mode.

Incorrect Answers:C: The standby database must receive redo data via the SYNC transport.

References: https://docs.oracle.com/cd/E11882_01/server.112/e41134/manage_ps.htm#SBYDB00707

QUESTION 25Examine the Fast-start configuration:

DGMGRL> show fast_start failover;

Fast-Start Failover: ENABLED

Threshold : 30 secondsTarget: sheepObserver : 017.example.comLag Limit: 30 seconds (not in use)Shutdown Primary: TRUEAuto-reinstate: TRUEObserver Reconnect: (none)Observer Override: FALSE

Configurable Failover Conditions

Page 23: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Health Conditions:Corrupted Controlfile YESCorrupted Dictionary YESInaccessible Logfile NOStuck Archiver YESDatafile Offline YES

Oracle Error Conditions:(none)

Which three are true?

A. The observer will initiate a failover when the primary database is unable to produce local archived redo log files.B. An automatic failover will be initiated even if the target standby database lags behind the primary. C. The observer is running.D. A failover may occur if the observer has lost connectivity to the primary database, even if the Fast-Start Failover target standby database has a good connection

to the primary database. E. The configuration operates in Maximum Availability mode.F. The configuration operates in Maximum Performance mode.

Correct Answer: ACESection: (none)Explanation

Explanation/Reference:A: Stuck Archiver: YES Archiver is unable to archive a redo log because the device is full or unavailable.

C: Observer : 017.example.com

E: The FastStartFailoverLagLimit configuration property is only used by the broker when enabling fast-start failover for configurations operating in maximumperformance mode.

References: docs.oracle.com/cd/E11882_01/server.112/e40771/sofo.htm

QUESTION 26Which four are true about DGMGRL show command?

A. It can be used to show properties of a pluggable standby database.

Page 24: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

B. It can be used to show properties of a pluggable primary database.C. It can be used to show instance-specific properties for a RAC database.D. It can be used to show properties of a far sync instance.E. It can be used to show Fast Start Failover properties.F. It can be used to show properties of a primary container database.

Correct Answer: ABEFSection: (none)Explanation

Explanation/Reference:E: SHOW FAST_START FAILOVERDisplays all fast-start failover related information.

F: SHOW DATABASEDisplays information about the specified database.

Incorrect Answers:C: This command is rejected if you use the SHOW DATABASE property-name command to show an instance-specific property in an Oracle RAC database.

References: https://docs.oracle.com/cd/B28359_01/server.111/b28295/dgmgrl.htm

QUESTION 27A customer asks you to propose the most appropriate solution for this set of requirements:

1. We need a disaster recovery solution that enables us to fail over from our production database with zero data loss.2. We want to generate reports from the proposed standby database at the same time that it is used for other purposes.3. Developers may need to test occasionally on a copy of the live database.

You have to already confirmed that there are no unsupported data types on the primary database.

Which two solutions would you recommend?

A. a remote physical standby database with RedoRoutes via a far sync instanceB. a snapshot standby database with synchronous redo transportC. a physical standby database with real-time query enabledD. a logical standby databaseE. a read mostly implementation of a physical standby database

Correct Answer: BC

Page 25: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Section: (none)Explanation

Explanation/Reference:

QUESTION 28Which two statements are true about Real-Time Query?

A. Setting STANDBY_MAX_DATA_DELAY =0 requires synchronous redo transport.B. Disabling Real-Time Query prevents the automatic start of redo apply when a physical standby database is opened READ ONLY.C. Real-Time Query sessions can be connected to a Far Sync instance.D. Real-Time Query has no limitations regarding the protection level of the Data Guard environment.E. A standby database enabled for Real-Time Query cannot be the Fast-Start Failover target of the Data Guard configuration.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:If a license for the Oracle Active Data Guard option has been purchased, Redo Apply can be active while the physical standby database is open, thus allowingqueries to return results that are identical to what would be returned from the primary database. This capability is known as the real-time query feature.

Incorrect Answers:A: If STANDBY_MAX_DATA_DELAY is set to 0, a query issued to a physical standby database is guaranteed to return the exact same result as if the query wereissued on the primary database, unless the standby database is lagging behind the primary database, in which case an ORA-3172 error is returned.

Note: The STANDBY_MAX_DATA_DELAY session parameter can be used to specify a session-specific apply lag tolerance, measured in seconds, for queriesissued by non-administrative users to a physical standby database that is in real-time query mode. This capability allows queries to be safely offloaded from theprimary database to a physical standby database, because it is possible to detect if the standby database has become unacceptably stale.

QUESTION 29On your logical standby database, you specified these rules:

SQL> EXECUTE DBMS_LOGSTBY.SKIP (STMT=> ‘DML’, - SCHEMA_NAME => ‘HR’, - OBJECT_NAME=> ‘EMP_NEW’);

SQL> EXECUTE DBMS_LOGSTBY.SKIP (STMT=> ‘DML’, - SCHEMA_NAME => ‘HR’, - OBJECT_NAME=> ‘EMP_OLD’);

Page 26: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

After completion of the weekend batch cycle you attempt to delete the SQL Apply filters:

SQL> EXECUTE DBMS_LOGSTBY.UNSKIP (STMT=> ‘DML’, - SCHEMA_NAME => ‘HR’, - OBJECT_NAME=> ‘EMP%’);

Which is true regarding the execution of the UNSKIP procedure?

A. It succeeds only if SQL apply is stopped before deleting the SQL Apply filter.B. It succeeds but the SQL Apply filters are not deleted.C. It deletes both the SQL Apply filters.D. It returns an error because the syntax to delete a SQL Apply filter must specify the same object names as specified when the filter was added.E. It succeeds only if all DML statements executed on the primary have been applied on the logical standby deleting the SQL Apply filter.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:The UNSKIP procedure reverses the actions of the SKIP procedure by finding the record, matching all the parameters, and removing the record from the systemtable. The match must be exact, and multiple skip actions can be undone only by a matching number of unskip actions. You cannot undo multiple skip actions usingwildcard characters.

References: https://docs.oracle.com/cd/B12037_01/appdev.101/b10802/d_lsbydb.htm#997823

QUESTION 30A query on the view DBA_LOGSTBY_UNSUPPORTED on your primary database returns no rows.

As a result of this, you decide that an upgrade may use logical standby databases.

Which two are true about upgrading Data Guard environments consisting of one logical standby database running on a separate host from the primary?

http://www.gratisexam.com/

A. The upgrade always requires downtown until the upgrade of the logical standby is completed.B. Using manual upgrade, catctl.pl can be executed in some cases on the primary and standby database simultaneously.

Page 27: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

C. The upgrade always required downtime until the upgrade of the primary is completed.D. Using manual upgrade, catupgr.sql needs to run on the primary database only.E. SQL Apply on the local standby database must be stopped while the primary database is upgraded.F. Fast-Start Failover can be used to protect the primary database during the upgrade.

Correct Answer: BESection: (none)Explanation

Explanation/Reference:B (not D): Oracle Database 12c introduces the new Parallel Upgrade Utility, catctl.pl. This utility replaces the catupgrd.sql script that was used in earlier releases.Although you can still use the catupgrd.sql script, it is deprecated starting with Oracle Database 12c and will be removed in future releases. Oracle recommendsdatabase upgrades be performed with the new Parallel Upgrade Utility, catctl.pl.

E: Once the database is started in upgrade mode, only queries on fixed views execute without errors until after the catctl.pl script is run.

References: https://docs.oracle.com/database/121/UPGRD/upgrade.htm#UPGRD52867https://docs.oracle.com/database/121/UPGRD/deprecated.htm#UPGRD60034

QUESTION 31Your Data Guard environment consists of these components and settings:

1. A primary database 2. Two remote physical standby databases3. The redo transport mode is set to SYNC.4. Real-time query is enabled for both standby databases.5. The DB_BLOCK_CHECKING parameter is set to TRUE on both standby databases.

You notice an increase in redo apply lag time on both standby databases.

Which two would you recommend to reduce the redo apply lag on the standby databases?

A. Increase the size of the buffer cache on the physical standby database instances.B. Increase the number of standby redo log files on the standby databases.C. Decrease the redo log file size on the primary database.D. Lower DB_BLOCK_CHECKING to MEDIUM or LOW on the standby databases.E. Increase the size of standby redo log files on the standby databases.

Correct Answer: AD

Page 28: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Section: (none)Explanation

Explanation/Reference:Use Data Guard Redo Apply Best PracticesTo improve the Redo Apply rate of a physical standby database (and media recovery):

* Set DB_CACHE_SIZE to a Value Greater than on the Primary Database* Set DB_BLOCK_CHECKSUM=FULL and DB_BLOCK_CHECKING=MEDIUM or FULL* Maximize I/O Rates on Standby Redo Logs and Archived Redo Logs* Assess Recovery Rate* Assess Database Wait Events* Tune I/O Operations* Assess System Resources

References: https://docs.oracle.com/database/121/HABPT/config_dg.htm#HABPT4904

QUESTION 32Which three types of backups taken in which situations may be used to perform restore operations to a logical standby database in a Data Guard environment?

A. backups of data files taken on the primary database if connected to the recovery catalog where the logical standby database is registeredB. backups of data files taken on the standby database if connected to the recovery catalog where the logical standby database is registeredC. backups of control files taken on the primary database if connected to the recovery catalog where the logical standby database is registeredD. backups of data files taken on the logical standby database, if not connected to a recovery catalogE. backups of control files taken on the logical standby database if not connected to a recovery catalog

Correct Answer: ADESection: (none)Explanation

Explanation/Reference:An RMAN recovery catalog is required so that backups taken on one database server can be restored to another database server. It is not sufficient to use only thecontrol file as the RMAN repository because the primary database will have no knowledge of backups taken on the standby database.

Note: RMAN uses a recovery catalog to track filenames for all database files in a Data Guard environment. A recovery catalog is a database schema used byRMAN to store metadata about one or more Oracle databases. The catalog also records where the online redo logs, standby redo logs, tempfiles, archived redologs, backup sets, and image copies are created.

References: https://docs.oracle.com/database/121/SBYDB/rman.htm#SBYDB4853

QUESTION 33

Page 29: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Examine the Data Guard configuration:

DGMGRL> show configuration:

Configuration –Animals

Protection Mode: MaxAvailability

Databases:dogs- Primary databasesheep-Logical standby databasecats- Logical standby database

Fast-Start Failover: DISABLED

Configuration Status:SUCCESS

Which three will be true after a switchover to Sheep?

A. Cats will be an enabled logical standby database.B. Cats will be a disabled logical standby database.C. Dogs will be a logical standby database.D. Dogs will be a physical standby database.E. Sheep will be the primary database.

Correct Answer: ACESection: (none)Explanation

Explanation/Reference:A switchover is a role reversal between the primary database and one of its standby databases. A switchover guarantees no data loss and is typically done forplanned maintenance of the primary system. During a switchover, the primary database transitions to a standby role, and the standby database transitions to theprimary role.

References: https://docs.oracle.com/cd/B28359_01/server.111/b28295/sofo.htm

QUESTION 34Which three are true concerning Automatic Block Media Recovery in a Data Guard environment when running an application as an ordinary Oracle user?

A. Real Time Query must be enabled on the primary database.

Page 30: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

B. Real Time Query must be enabled on the physical standby database.C. If a physically corrupt block is discovered on a physical standby database, then a valid block image from the primary database is retrieved.D. If a physically corrupt block is discovered on the primary database, then a valid block image from a physical standby database is retrieved.E. If a physically corrupt block is discovered on a logical standby database, then a valid block image from the primary database is retrieved.F. If a physically corrupt block is discovered on a primary database, then a valid block image from the logically standby database is retrieved.

Correct Answer: BCDSection: (none)Explanation

Explanation/Reference:B: For automatic block media recovery to work, a physical standby database must be in real-time query mode, which requires an Oracle Active Data Guard license.

D: A physical standby database operating in real-time query mode can be used to repair corrupt data blocks in a primary database.

C: If corruption occurs on the primary database, blockmedia recovery is performed automatically using a good copy of the block from the standby database andvice versa.

References: https://ora600tom.wordpress.com/2013/09/07/abmr-automatic-block-media-recovery

QUESTION 35Which two are true about offloading backups to a physical standby database in a Data Guard environment?

A. The standby database must be registered in an RMAN catalog after the primary database has been registered.B. The standby database cannot be registered in an RMAN catalog if the primary database has not been registered.C. Backups of the standby control file taken while connected to the catalog where the database is registered, may be used to restore the control file on the primary

database.D. The standby database must be registered in an RMAN catalog before the primary database has been registered.

Correct Answer: BCSection: (none)Explanation

Explanation/Reference:Only the primary database must be explicitly registered using the REGISTER DATABASE command. You do this after connecting RMAN to the recovery catalogand primary database as TARGET.

References: https://docs.oracle.com/database/121/SBYDB/rman.htm#SBYDB4851

QUESTION 36

Page 31: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Which two statements are true for Data Guard environments with multi-tenant databases?

A. Different pluggable databases within a logical standby database may have different guard statuses.B. The Data Guard broker automatically always opens the pluggable databases of a standby database after a role change operation.C. The Data Guard broker automatically opens all pluggable databases of a primary database a role change operation.D. The CDBDBA privilege must be used instead of the SYSDBA privilege for connections as SYS to the root container of a multi-tenant standby database.E. A multi-tenant standby database can have fewer pluggable databases than the primary container database.

Correct Answer: CDSection: (none)Explanation

Explanation/Reference:C: If you execute a switchover or failover operation, the entire CDB undergoes the role change.D: To administer a multitenant environment, you must have the CDB_DBA role.

References: https://docs.oracle.com/database/121/SBYDB/create_ps.htm

QUESTION 37Examine the Data Guard configuration after an accidental switchover to Sheep:

DGMGRL> show configuration;

Configuration –Animals

Protection Mode: MaxAvailabilityDatabases:sheep- Primary databasedogs- Logical standby databasecats- Physical standby database (disabled)ORA-16795: the standby database needs to be re-created

Fast-Start Failover: DISABLED

Configuration Status:SUCCESS

Which three will be true after a switchover to Dogs?

A. Sheep will be a disabled logical standby database.B. Sheep will be an enabled logical standby database.

Page 32: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

C. Cats will be a disabled physical standby database that can be manually enabled.D. Cats will be an enabled physical standby database.E. Dogs will be the primary database.

Correct Answer: BCESection: (none)Explanation

Explanation/Reference:

QUESTION 38Which three are among the various tasks performed by the data Guard Monitor (DMON) process?

A. performing role transitions when switchover requests are madeB. communicating with DMON processes in other database instances that are part of the broker configurationC. activating role-based services appropriately in the various database instances of the configuration, based on the database roleD. communicating with the DMON process of the observer to monitor a primary database in case a fast start failover is required.E. maintaining information about all members of the broker configuration in binary configuration files

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:A: Oracle Enterprise Manager Cloud Control (Cloud Control) works with the Oracle Data Guard monitor to automate and simplify the management of an OracleData Guard configuration.

With Cloud Control, the complex operations of creating and managing standby databases are simplified through Oracle Data Guard management pages andwizards, including:

* A switchover operation that helps you switch roles between the primary database and a standby database.

B (not D): The Oracle Data Guard monitor process (DMON) is an Oracle background process that runs on every database instance that is managed by the broker.

E: The broker's DMON process persistently maintains information about all members of the broker configuration in a binary configuration file.

References: https://docs.oracle.com/database/121/DGBKR/concepts.htm#DGBKR050

QUESTION 39

Page 33: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

A Data Guard environment has this configuration and these attributes:

1. A primary database2. A Physical Standby Database named sbdb3. The configuration is in maximum availability protection mode.

Then sbdb is converted to a snapshot standby database.

When two statements are true?

A. Sdbd can still apply redo.B. The recovery point objective increases.C. The protection mode is lowered to maximum performance.D. The recovery time objective increases.E. Sbdb can still receive redo

Correct Answer: DESection: (none)Explanation

Explanation/Reference:E: A snapshot standby database receives and archives, but does not apply, redo data from a primary database.

D: Snapshot standby databases are best used in scenarios where the benefit of having a temporary, updatable snapshot of the primary database justifies additionaladministrative complexity and increased time to recover from primary database failures.

Note: Redo data received from the primary database is applied when a snapshot standby database is converted back into a physical standby database, afterdiscarding all local updates to the snapshot standby database.The data in the primary database is fully protected however, because a snapshot standby can be converted back into a physical standby database at any time, andthe redo data received from the primary will then be applied.

Incorrect Answers:A: A snapshot standby database receives and archives, but does not apply, redo data from a primary database.

References: https://docs.oracle.com/cd/B28359_01/server.111/b28294/manage_ps.htm

QUESTION 40Examine the Data Guard configuration:

DGMGRL> show configuration verbose;

Page 34: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Configuration –Animals

Protection Mode: MaxPerformance

Databases:

cats- Primary databasedogs-(*) Physical standby databasesheep- Physical standby database

(*) Fast-Start Failover target

Properties:

FastStartFailoverThreshold = ‘30’OperationTimeout = ‘30’TraceLevel = ‘USER’FastStartFailoverLagLimit = ‘30’CommunicationTimeout= ‘180’ObserverReconnect= ‘10’FastStartFailoverAutoReinstate= ‘FALSE’FastStartFailoverPmyShutdown= ‘TRUE’BystanderFollowRoleChange= ‘none’ObserverOverride = ‘FALSE’

Fast-Start Failover: ENABLED

Threshold: 30 secondsTarget: dogsObserver: 015.example.comLag Limit: 30 secondsShutdown Primary: TRUEAuto-reinstate: FALSEObserver Reconnect: 10 secondsObserver Override: TRUE

Configuration Status:SUCCESS

Which two are true?

Page 35: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

http://www.gratisexam.com/

A. The observer must run on host ol5.example.com and is currently not running.B. The observer will reinstate Sheep automatically after a failover, if required.C. The observer will mark another standby database as the failover target if the original failover target becomes unavailable.D. The observer will detect if the primary database is unable to accept new connections.E. The former primary database will not be reinstated automatically after a failover.

Correct Answer: BESection: (none)Explanation

Explanation/Reference:B: . If fast-start failover is enabled, the observer will automatically reinstate the standby databases after failover has completed.E: FastStartFailoverAutoReinstate= ‘FALSE’ means that the former primary database will not be reinstated automatically after a failover,

Note: The FastStartFailoverAutoReinstate configuration property causes the former primary database to be automatically reinstated if a fast-start failover wasinitiated because the primary database was either isolated or had crashed. To prevent automatic reinstatement of the former primary database in these cases, setthis configuration property to FALSE.

The observer is the third party in an otherwise typical primary/standby Data Guard configuration. Only the observer can initiate FSFO failover. It's secondary job isto automatically reinstate a failed primary as a standby if that feature is enabled (the default).

Incorrect Answers:A: The observer is running.B: Sheep is neither the primary database, nor the failover target.D: By default, the observer will initiate failover to the target standby if and only if ALL of the following are true: * observer is running * observer and the standby both lose contact with the primaryNote: if the observer loses contact with the primary, but the standby does not, the observer can determine that the primary is still up via the standby.* observer is still in contact with the standby* durability constraints are met* failover threshold timeout has elapsed

References:http://www.oracle.com/technetwork/articles/smiley-fsfo-084973.htmlhttps://docs.oracle.com/cd/E11882_01/server.112/e40771/dbpropref.htm

Page 36: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

QUESTION 41You must configure an Oracle Data Guard environment consisting of:

1. A primary database2. A Physical Standby Database 3. A Snapshot Standby Database

You must meet these requirements:

1. Primary database availability should not be compromised by the availability of the standby databases.2. Under normal operations, transactions executed on the primary database should not commit before redo is written to disk on the primary database and on atleast one standby database.

Which redo transport mode, and which protection mode should you configure to meet these requirements?

A. SYNC AFFIRM and Maximum ProtectionB. SYNC NOAFFIRM and Maximum ProtectionC. SYNC AFFIRM and Maximum AvailabilityD. SYNC NOAFFIRM and Maximum AvailabilityE. ASYNC and Maximum Performance

Correct Answer: CSection: (none)Explanation

Explanation/Reference:The Maximum Availability protection mode provides the highest level of data protection that is possible without compromising the availability of a primary database.Transactions do not commit until all redo data needed to recover those transactions has been written to the online redo log and to at least one synchronizedstandby database. If the primary database cannot write its redo stream to at least one synchronized standby database, it operates as if it were in maximumperformance mode to preserve primary database availability until it is again able to write its redo stream to a synchronized standby database.

This mode ensures that no data loss will occur if the primary database fails, but only if a second fault does not prevent a complete set of redo data from being sentfrom the primary database to at least one standby database.

When a transport is performed using SYNC/AFFIRM, the primary performs write operations and waits for acknowledgment that the redo has been transmittedsynchronously to the physical standby and written to disk. A SYNC/AFFIRM transport provides an additional protection benefit at the expense of a performanceimpact caused by the time required to complete the I/O to the standby redo log.

Incorrect Answers:D: In the case of SYNC/NOAFFIRM, in which there is no check that data has been written to disk on the standby, there may be some data loss.

Page 37: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

A, B: The Maximum Protection mode ensures that zero data loss occurs if a primary database fails. To provide this level of protection, the redo data needed torecover a transaction must be written to both the online redo log and to at least one synchronized standby database before the transaction commits. To ensure thatdata loss cannot occur, the primary database will shut down, rather than continue processing transactions, if it cannot write its redo stream to at least onesynchronized standby database.

Because this data protection mode prioritizes data protection over primary database availability, Oracle recommends that a minimum of two standby databases beused to protect a primary database that runs in maximum protection mode to prevent a single standby database failure from causing the primary database to shutdown.

E: The Maximum Performance protection mode provides the highest level of data protection that is possible without affecting the performance of a primarydatabase. This is accomplished by allowing transactions to commit as soon as all redo data generated by those transactions has been written to the online log.Redo data is also written to one or more standby databases, but this is done asynchronously with respect to transaction commitment, so primary databaseperformance is unaffected by delays in writing redo data to the standby database(s).

This protection mode offers slightly less data protection than maximum availability mode and has minimal impact on primary database performance.

This is the default protection mode.

References: https://docs.oracle.com/cd/B28359_01/server.111/b28294/protection.htm

QUESTION 42Which four statements are true regarding SQL Apply filters for a logical standby database?

A. They can be used to skip execution of DML triggers on a table while allowing the DML to execute.B. They can be used to skip ALTER SYSTEM and ALTER DATABASE commands.C. They can be used to stop SQL apply if it encounters an error.D. They can be used to skip all SQL statements executed on a specific pluggable database (PDB) within a standby multitenant container database (CDB).E. They can only be used to skip DML statements on a table.F. They can be used to skip ALTER TABLE commands on a specific tables.G. They can be used to skip CREATE TABLE commands.

Correct Answer: ACFGSection: (none)Explanation

Explanation/Reference:A: The DDL fires DML triggers defined on the target table. Since the triggered DMLs occur in the same transaction as the DDL, and operate on the table that is thetarget of the DDL, these triggered DMLs will not be replicated at the logical standby.

C: The SKIP_ERROR Procedure specifies rules regarding what action to take upon encountering errors

Page 38: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

F: You can specify rules to prevent application of DML and DDL changes to the specific table.

G: Use the SKIP procedure with caution, particularly when skipping DDL statements. If a CREATE TABLE statement is skipped, for example, you must also specifyother DDL statements that refer to that table in the SKIP procedure. Otherwise, the statements will fail and cause an exception. When this happens, SQL Applystops running.

Incorrect Answers: B: ALTER SYSTEM and ALTER DATABASE commands cannot be skipped.E: You can specify rules to prevent application of DML and DDL changes to the specific table.

References: https://docs.oracle.com/cd/E11882_01/server.112/e41134/manage_ls.htm#SBYDB4805https://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_lsbydb.htm

QUESTION 43You must configure an Oracle Data Guard environment consisting of:

1. A primary database2. One Physical Standby Database3. One Logical Standby Database

You must meet these requirements:

1. Primary database availability should not be compromised by the availability of the standby databases.2. Under normal operations, transactions executed on the primary database should not commit before redo is written to disk on both the primary database and atleast one standby database.

Which redo transport mode and which protection mode would you configure to meet these requirements?

A. SYNC AFFIRM and Maximum ProtectionB. SYNC NOAFFIRM and Maximum ProtectionC. SYNC AFFIRM and Maximum AvailabilityD. SYNC NOAFFIRM and Maximum AvailabilityE. ASYNC and Maximum Performance

Correct Answer: CSection: (none)Explanation

Explanation/Reference:The Maximum Availability protection mode provides the highest level of data protection that is possible without compromising the availability of a primary database.

Page 39: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

Transactions do not commit until all redo data needed to recover those transactions has been written to the online redo log and to at least one synchronizedstandby database. If the primary database cannot write its redo stream to at least one synchronized standby database, it operates as if it were in maximumperformance mode to preserve primary database availability until it is again able to write its redo stream to a synchronized standby database.

This mode ensures that no data loss will occur if the primary database fails, but only if a second fault does not prevent a complete set of redo data from being sentfrom the primary database to at least one standby database.

When a transport is performed using SYNC/AFFIRM, the primary performs write operations and waits for acknowledgment that the redo has been transmittedsynchronously to the physical standby and written to disk. A SYNC/AFFIRM transport provides an additional protection benefit at the expense of a performanceimpact caused by the time required to complete the I/O to the standby redo log.

Incorrect Answers:D: In the case of SYNC/NOAFFIRM, in which there is no check that data has been written to disk on the standby, there may be some data loss.

A, B: The Maximum Protection mode ensures that zero data loss occurs if a primary database fails. To provide this level of protection, the redo data needed torecover a transaction must be written to both the online redo log and to at least one synchronized standby database before the transaction commits. To ensure thatdata loss cannot occur, the primary database will shut down, rather than continue processing transactions, if it cannot write its redo stream to at least onesynchronized standby database.

Because this data protection mode prioritizes data protection over primary database availability, Oracle recommends that a minimum of two standby databases beused to protect a primary database that runs in maximum protection mode to prevent a single standby database failure from causing the primary database to shutdown.

E: The Maximum Performance protection mode provides the highest level of data protection that is possible without affecting the performance of a primarydatabase. This is accomplished by allowing transactions to commit as soon as all redo data generated by those transactions has been written to the online log.Redo data is also written to one or more standby databases, but this is done asynchronously with respect to transaction commitment, so primary databaseperformance is unaffected by delays in writing redo data to the standby database(s).

This protection mode offers slightly less data protection than maximum availability mode and has minimal impact on primary database performance.

This is the default protection mode.

References: https://docs.oracle.com/cd/B28359_01/server.111/b28294/protection.htm

QUESTION 44Which three factors can influence the rate of redo apply on a physical standby database?

A. the network latency between the primary and standby databases B. the number of archiver processes on the standby databaseC. the number and size of standby redo logs on the primary databaseD. the rate of redo generation on the primary database

Page 40: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

E. the number and size of standby redo logs on the standby database

Correct Answer: ABESection: (none)Explanation

Explanation/Reference:Consider using the following methods to optimize the time it takes to apply redo to physical standby databases.* (B) Set Parallel Recovery to Twice the Number of CPUs on One Standby Host* (E) During media recovery or Redo Apply, the redo log file is read, and data blocks that require redo application are parsed out. With parallel media recovery,these data blocks are subsequently distributed evenly to all recovery processes to be read into the buffer cache. The default is serial recovery or zero parallelism,which implies that the same recovery process reads the redo, reads the data blocks from disk, and applies the redo changes.

References: https://docs.oracle.com/cd/B19306_01/server.102/b14239/manage_ps.htm#BACHIBGG

QUESTION 45You edit the DGConnectIdentifier database property using the edit database set property DGMGRL command.

Which two are effects of this change?

A. The fal_client database initialization parameter on all standby databases is updated with the new value.B. The service attribute of the log_archive_dest_n initialization parameter for any database referring to the specified database is updated with the new value.C. The fal_client database initialization parameter for the specified database is updated with the new value.D. The broker configuration must be disabled and then enabled to use the new connection property.E. The service attribute of the log_archive_dest_n initialization parameter referring to all standby databases is updated with the new value.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:B: The DGConnectIdentifier configurable database property specifies the connection identifier the broker uses when making connections to a database.The value of this property is specified in the SERVICE attribute of the LOG_ARCHIVE_DEST_n parameter when the broker configures redo transport services onthe primary database.

A: The connect identifier for a database must allow all other databases in the configuration to reach it.

References: https://docs.oracle.com/cd/E11882_01/server.112/e40771/dbpropref.htm#DGBKR870

Page 41: 1z0-066.Pass4sure - GRATIS EXAM · 2016-11-30 · The route between fs1 and physical standbase in the remote region, like physt2, should be SYNC or SYNC NOAFFIRM. Note: Fast Sync

http://www.gratisexam.com/

http://www.gratisexam.com/


Recommended