1. 程式人生 > >Oracle OCP 1z0-052 2018年9月最新考過的題庫分享-3

Oracle OCP 1z0-052 2018年9月最新考過的題庫分享-3

1. Which four statements are true about truncating a table?
A) Any insert triggers for the table will be executed.
B) Any of the table’s indexes are also truncated.
C) Any delete triggers for the table will be executed.
D) All table storage can be retained.
E) Only HEAP tables may be truncated.
F) All table storage is converted to free space.
G) MINEXTENTS amount of storage for the table can be retained.


Answer BDFG

2. Which two are true about Oracle Data Pump in Oracle Database 11g Release 2?
A) If the directory used in the export operation has existing dump files, it overwrites them.
B) It allows encryption to be performed without using a password.
C) It supports the export of specific views as tables.
D) It allows compression levels to be defined for the export.
E) It supports the renaming of tables during import.


Answer AE

3. which is true about external tables?
A) Segments are allocated for external tables.
B) They may have indexes.
C) They do not support partitioning.
D) The ORACLE_DATAPUMP access driver can be used to write data to external tables.
E) DML operations may be performed on external tables.


Answer D

4. Your database is open in ARCHIVELOG mode.
LOG_ARCHIVE_DEST is set to Fast Recovery Area (FRA) and It is 100% full when a log switch takes
place.
No alternative or optional archive destinations are defined.
What is the outcome?
A) Obsolete backups are automatically deleted and new archivelogs are generated.
B) All active sessions hang until the database administrator (DBA) makes space available in the FRA.
C) The archivelog entries are made in the diagnostic destination and when space is available, new
archivelogs are generated.
D) All active sessions are disconnected and their transactions rolled back.
E) No archivelogs are generated.

Answer B

5. Your DB_RECOVERY_FILE_DEST_SIZE IS 8G,
Currently
5G of the space is used of which 4G consists of obsolete backups,
You execute this command;

SQL> ALTER SYSTEM SET db_recovery_file_dest_size=2G;
What is the outcome?
A) It changes DB_RECOVERY_FILE_DEST_SIZE to 2G and deletes the obsolete backups
B) It changes DB_RECOVERY_FILE_DEST_SIZE to 5G
C) It fails because DB_RECOVERY_FILE_DEST_SIZE is a static parameter
D) It changes DB_RECOVERY_FILE_DEST_SIZE to 2G without deleting valid backups
E) It fails because the new size is less than 5G

Answer D

6. which three statements are true about initialization parameters and files?
A) An idle instance must start with a PFILE.
B) Session modifiable initialization parameters can only be changed by a user with the DBA role.
C) The ALTER SYSTEM command can be used to change parameter values for an instance started using a PFILE.
D) An SPFILE can be created from an idle instance.
E) Session modifiable initialization parameters can only be changed once per session.
F) The ALTER SYSTEM command can be used to change parameter values for an instance started using an SPFILE
G) System modifiable initialization parameters can only be changed by the SYS user.

AnswerCDF

7. Table EMP resides in the USERS tablespace.
Examine this command:

SQL> DROP TABLE emp PURGE;
Which two methods would you use to recover EMP?
A) Flashback Table.
B) re-creating the table and reinserting the rows.
C) performing a tablespace point in time recovery of USERS.
D) Flashback Transaction Backout.
E) Flashback Drop.

Answer BC

8. Which two tools or utilities can be used to configure and schedule on-line database backups to run automatically?
A) the RMAN command line utility
B) SQL*PLUS
C) Enterprise Manager Cloud Control
D) The Database Configuration Assistant(DBCA)
E) the DBMS_SCHEDULER package

Answer CE

9. Your database is open in ARCHIVELOG mode.
LOG_ARCHIVE_DEST is set to Fast Recovery Area (FRA) and it is 100% full when a log switch takes
place. No alternative or optional archive destinations are defined.
What is the outcome?
A) All active sessions hang until the database administrator (DBA) makes space available in the FRA
B) No archivelogs are generated.
C) The archivelog entries are made in the diagnostic destination and when space is available, new
archivelog are generated.
D) All active sessions are disconnected and their transactions rolled back.
E) Obsolete backups are automatically deleted and new archivelogs are generated.

Answer A

10. Which two affect the time taken for instance recovery?
A) Size of archivelogs.
B) Size of existing RMAN backupsets.
C) FAST_START_MTTR_TARGET value.
D) Size of UNDO tablespace.
E) UNDO_RETENTION value.
F) Size of redo logs.

Answer CF

11. Which four statements are true about tablespace space management?
A) ASSM prevents row chaining.
B) Locally managed tablespaces track adjacent free space using bitmaps.
C) Locally managed tablespaces can manage segments with automatic segment space management(ASSM).
D) Locally managed tablespaces track adjacent allocated space using bitmaps.
E) ASSM prevents row migration.
F) Locally managed tablespaces can manage segments with freelists
G) Bigfile tablespaces can be dictionary or locally managed.

AnswerBCDF

12. Your database is configured in archivelog mode.
The USERS01 tablespace is currently online.
You are required to take the tablespace offline.
Which clause or clauses ensure that no media recovery is required when the tablespace is brought back online?
A) either the NORMAL or the TEMPORARY clause
B) only the TEMPORARY clause
C) only the NORMAL clause
D) either the NORMAL or the IMMEDIATE clause
E) only the IMMEDIATE clause.

Answer C

13. which two statements are true about tablespaces?
A) A database can contain multiple undo tablespaces.
B) A database instance stores undo data in the SYSTEM tablespace if no undo tablespace exists.
C) A database instance hangs if the SYSAUX tablespace becomes unavailable.
D) A database can contain only a single temporary tablespace.
E) A database with a locally managed SYSTEM tablespace can have dictionary-managed user tablespaces.

Answer AB

14. which four statements are true about tablespaces?
A) A single instance database can have multiple temp tablespaces created.
B) A single instance database can have multiple temp tablespace used simultaneously by the instance.
C) The SYSAUX tablespace can be altered OFFLINE.
D) A single instance database can have multiple undo tablespaces used simultaneously by the instance.
E) The SYSTEM tablespace can be altered OFFLINE FOR RECOVERY.
F) A single instance database can have multiple undo tablespace created.
G) The SYSAUX tablespace can be altered READ ONLY.

Answer ABCF

15. Which is true about enabling AUTOEXTEND for data files?
A) It can be enabled for a new data file that is added to a tablespace only if the existing data files in that tablesapce have autoextend enabled.
B) It can be enabled only for data files in non-OMF tablespaces.
C) It can be enabled for data files only in bigfile tablespaces.
D) It can be enabled for data files only in smallfile tablespaces.
E) It can be enabled for an existing data file in a tablespace by using the ALTER TABLESPACE command.

Answer E

16. Which two can be configured with profiles ?
A) the time after which an idle session is terminated
B) tablespace quotas for users
C) default object privileges for users
D) session CPU limits
E) default system privileges for users
F) default tablespace for users

Answer AD

17. Which two types of information can be found in the alert log?
A) a record of all actions performed by SYS and SYSTEM.
B) critical errors encountered by background processes.
C) a record of all DDL statements performed by non-DBA users.
D) instance recovery details
E) values of all initialization parameters whenever an instance is restarted.

Answer BD

18. You executed these commands:
SQL> SHOW PARAMETER BACKGROUND_DUMP_DEST
NAME TYPE VALUE
——————————————————————————-
background_dump_dest string /u01/app/oracle/diag/rdbms/orcl/orcl/trace
SQL> SHOW PARAMETER DIAGNOSTIC_DEST
NAME TYPE VALUE
——————————————————————————-
diagnostic_dest string /u01/app/oracle

in which two locations and in which format is the alert log stored?
A) as a text file in /u01/app/oracle/diag/rdbms/orcl/orcl/alert.
B) as a text file in /u01/app/oracle.
C) as an HTML file in /u01/app/oracle.
D) as an XML file in /u01/app/oracle
E) as an HTML file in /u01/app/oracle/diag/rdbms/orcl/orcl/alert
F) as an XML file in /u01/app/oracle/diag/rdbms/orcl/orcl/alert
Answer
BF

19. Which two are true about FAST_START_MTTR_TARGET?
A) A higher value increases the I/O overhead.
B) It is overridden by LOG_CHECKPOINT_INTERVAL.
C) It is applicable only when the database is in ARCHIVELOG mode.
D) A lower value increase the time taken to perform instance recovery.
E) If it is set to 0, the MTTR Advisor is disabled.

Answer BE

20. You plan to install Oracle Grid Infrastructure and Oracle Database.
Which two mandatory tasks must be completed before you perform these installations?
A) setting the ORACLE_SID environment variable.
B) setting the ORACLE_BASE environment variable to an existing directory.
C) creating the Oracle Inventory and OSDBA groups in the operating system.
D) creating the oper and asmdba operating system groups.
E) creating an operating system user to be the owner of Oracle installation.

Answer CE

21. You want to install Oracle 11g database software and create a database on ASM immediately after the
install.
You plan is to install both Oracle database and Grid Infrastructure.
Which two are true in this scenario?
A) Both products must be of the same version.
B) Both procucts must be installed by the same OS user.
C) Each product must be installed in a different ORACLE_HOME.
D) Grid Infrastructure must be installed first
E) Both products must be installed by using the same ORACLE_BASE.
F) Both products can share the OS group assigned to their OSDBA and OSOPER privileged groups.

Answer CD

22. You are planning a softwore installation for both Oracle Database 11g Release 1 and Release 2.You plan
to have at least one database for each release managed by Grid Infrastructure for a Standalone Server.
Which three are true in this scenario?
A) Both Oracle versions and Infrastructure can be owned by the same O/S account.

B) Oracle 11g Release 1 databases must be managed by Grid infrastructure 11g Release1.
C) Both Oracle versions and Infrastructure can be installed under the same ORACLE_BASE.
D) Both databases can be managed by Grid Infrastructure 11g Release 2.
E) Grid Infrastructure must be installed before both Oracle Database versions.
F) Each version of database may be managed by a separate version of Grid Infrastructure.

Answer CEF

23. Which four are true about server-generated alerts?
A) By default, a server-generated alert is raised for each tablespace that has 85% or more of its space used.
B) Server generated alerts for tablespace space usage occur only if the tablespace can no longer be automatically extended.
C) By default, a server-generated alert is raised for each tablespace that has 97% or more of its space used.
D) Stateless alerts can be seen by querying DBA_OUTSTANDING_ALERTS.
E) Stateful alerts that have not been cleared can be seen by querying DBA_ALERT_HISTORY.
F) Stateful alerts that have been cleared can be seen by querying DBA_ALERT_HISTORY.

AnswerABCF

24. Which two are true for shared server sessions?
A) They may use different shared server processes during the lifetime of the session
B) They communicate directly to the client
C) Session variables are stored in process memory
D) Session variables are stored in the UGA which is in the SGA
E) They communicate directly to the middle tier

Answer AD

25. which two statements are true about dispatchers when using Oracle shared server?
A) Multiple dispatchers can be connected to a single shared server process.
B) A dispatcher is created for each user process.
C) They execute requests from the inbound requests queue
D) Multiple user processes can be connected to a single dispatcher process
E) They return shared server session output to user processes

Answer DE

26. When would you use memory advisors?
A) to determine the impact of adding memory on logical and physical reads.
B) to determine the impact of adding memory on hard parse count.
C) to determine the impact of adding or reducing memory on DB Time.
D) to generate memory-related alerts when memory demand exceeds a specified percentage.
E) to get a recommendation whether Automatic Memory Management (AMM) or Automatic Shared Memory Management (ASMM) should be implemented.

Answer C

27. Which three are true about Oracle database security ?
A) By default,SYSDBA connections have access to all schema objects.
B) By default , SYSOPER connections have access to the data dictionary.
C) SYSDBA connections are always subject to mandatory auditing.
D) Fine Grained Auditing can be used to restrict access to sensitive date.
E) SYSOPER connections are always sbuject to mandatory auditing.
F) Mandatory auditing is enabled by setting AUDIT_SYS_OPERATIONS to TRUE.

Answer ACE

28. Which three can reduce lock contention in an Oracle database ?
A) The Database Resource Manager.
B) profiles
C) committing transactions in a timely manner.
D) manual locking of database objects for DML statements.
E) scheduling OLTP and batch workloads at different times.

Answer ABC

29. In your database:
SGA_TARGET =270M
PGA_AGGREGATE_TARGET =90M

The MEMORY_TARGET and MEMORY_MAX_TARGET parameters are currently not configured.
You execute the command:

ALTER SYSTEM SET MEMORY_TARGET = 400M;
What is the outcome and why?
A) The execution fails because the MEMORY_MAX_TARGET parameter must be configured to 400M
before configuring the MEMORY_TARGET parameter.
B) The execution fails because SGA_TARGET and PGA_AGGREGATE_TARGET are already configured.

C) The execution is successful and automatic memory management is enabled.
D) The execution is successful but does not enable automatic memory management because the
MEMORY_MAX_TARGET paremeter must be configured to a value greater than
MEMORY_TARGET.

Answer C

30. Your database is using Automatic Memory Management.
Which two SGA components must be managed manually?
A) shared pool

B) keep buffer pool
C) default buffer cache
D) large pool

E) redo log buffer
Answer BE

31. Which three are true is true about unusable indexes ?
A) Rebuilding an unusable index creates a new object.
B) An index can be set unusable manually.
C) An unusable index can be bypassed by the optimizer when creating an execution plan.

D) An index can become unusable automatically due to actions performed on other objects.
E) Rebuilding an unusable index requires at least one row to exist in the indexed table
F) Rebuilding an unusable index reuses the space from the original index segment.

Answer ABC