AQ-DATA SYSTEMS ADMINISTRATION - D330 (All Questions from Chapter 8-10, 12-15, and 17)

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/229

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

230 Terms

1
New cards

SGA_TARGET

Which parameter can an administrator enable without restarting a database?

2
New cards

V$SPPARAMETER

Which view displays database parameters and values modified using the SCOPE=SPFILE clause?

3
New cards

SHUTDOWN IMMEDIATE

Which command performs a clean shutdown without waiting for clients to disconnect?

4
New cards

Java Pool

Which area is a member of the System Global Area (SGA)?

5
New cards

Tablespace creation

Which types of events are recorded in an alert log?

6
New cards

DIAGNOSTIC_DEST

Which initialization parameter sets the location of the alert log?

7
New cards

$ORACLE_HOME/NETWORK/ADMIN

Where is the listener.ora file located by default?

8
New cards

Client with database server

Which type of connection uses the Oracle Listener to communicate?

9
New cards

A committed server process

What does the SERVER=DEDICATED element in a tnsnames.ora file associate with each client connection?

10
New cards

Host

Which net service naming method requires the client to use a fixed port number?

11
New cards

scott.employee@wgu2021

A database link named wgu2021 has been created to link to a remote object in the test database. The object is named employee and is owned by Scott.

Which reference resolves to the remote object?

12
New cards

User name

Which information from a remote database is included in the configuration of a database link?

13
New cards

table data

Which object can be added to an existing bigfile tablespace?

14
New cards

To facilitate the rollback of transactions

What is the purpose of the undo tablespace?

15
New cards

DBA_ADVISOR_OBJECTS

Which dictionary view is available in the database to view segment advisor results?

16
New cards

the SHRINK option

A database administrator needs to recover unused space from a tablespace while preventing data loss.

What should the administrator use?

17
New cards

DBMS_SPACE_ADMIN

Which package should an administrator use to configure local extent management for tablespaces?

18
New cards

segment advisor

What should an administrator use to identify tables that are fragmented?

19
New cards

UNDO_RETENTION

Which parameter determines how long information should be kept before it is overwritten in an undo tablespace?

20
New cards

Segments are assigned dynamically each time a change is made.

How is undo tablespace storage allocated?

21
New cards

A deadlock occurs, and the database cancels Session2.

Given the following transactions and sessions named Session1 and Session2:

At 8:00, Session1 issues the statement: UPDATE POLICY SET LOB= '16' WHERE status='bound' AND LOB_CAT='cancel';

At 8:05, Session1 commits the update transaction.

At 8:05, Session2 issues the statement: UPDATE POLICY SET LOB= '16' WHERE status='submitted' And LOB_CAT='cancel';

At 8:15, Session1 issues the statement: UPDATE POLICY SET LOB= '81' WHERE status='bound' AND LOB_CAT='cancel';

At 8:30, Session2 issues the statement: UPDATE POLICY SET LOB= '16' WHERE status='bound' AND LOB_CAT='cancel';

What happens after Session2 issues the statement at 8:30?

22
New cards

Deadlocks

Which condition is automatically resolved by Oracle without human intervention?

23
New cards

Resumable space allocation

Which feature allows a failed transaction to be suspended until the problem that caused the failure is resolved?

24
New cards

DBA_DATA_FILES

Which view has space information?

25
New cards

Enabling the retention guarantee

An administrator attempts to roll back a transaction from the previous day. The rollback attempt fails.

Which action will prevent the failure from recurring?

26
New cards

Data for committed transactions will be overwritten if an active transaction needs the space.

What is the impact of setting the value of the undo retention initialization parameter to 900 in an undo tablespace that uses a fixed size?

27
New cards

DIRECT

Which parameter disables conventional path loading when using SQL*Loader?

28
New cards

SQL*Loader

What allows users to capture data from non-Oracle sources into an Oracle database?

29
New cards

SELECT

Which SQL statement is allowed with external tables?

30
New cards

Control

An administrator plans to use SQL*Loader to import a data file using a fixed-width format.

Which file must be configured before importing the file?

31
New cards

Automatic Database Diagnostic Monitor

Which tool identifies potential performance bottlenecks?

32
New cards

DBMS_STATS

Which tool contains procedures to collect performance information on database objects?

33
New cards

SQL Tuning Advisor

Which tool is started by the system and automatically improves the performance of queries?

34
New cards

When a job is running slow in the database

When does a DBA run an Automatic Workload Repository (AWR) report to find the root cause of an issue?

35
New cards

Execution plan

Which additional information can administrators collect by configuring the Automatic Workload Repository (AWR) to use the ALL statistics collection level?

36
New cards

The insert fails with an error for missing privileges on the DATA tablespace.

An administrator runs the following SQL statements:

CREATE USER HR_User IDENTIFIED BY 'Password' DEFAULT TABLESPACE DATA;

GRANT CREATE SESSION, CREATE TABLE to HR_User;

HR_User creates a new table in their own schema.

What happens when HR_User inserts a row into the new table?

37
New cards

EXTERNALLY

Which parameter is used when creating a user account that will be authenticated by the operating system?

38
New cards

USER$

Which dictionary table stores the credentials for a password-authenticated account?

39
New cards

Tables and the data are deleted from the database.

Given the following SQL statement:

DROP USER User1 CASCADE;

What happens to tables that User1 owns when an administrator runs the SQL statement?

40
New cards

REFERENCES

Which privilege is required to add a foreign key constraint to a table owned by another user?

41
New cards

Drop user

Which privilege provides grantees permission to remove accounts from a database?

42
New cards

All the user's objects are removed from the database.

What is the result of the CASCADE option when used with the DROP USER command?

43
New cards

UPDATE

Which privilege must be granted to allow a user to modify existing rows in a table?

44
New cards

Modify

A user creates a role granting select and update access to table1, and assigns the role to a coworker. The next day the user revokes select access from the role.

Which actions will the coworker still be able to perform on table1?

45
New cards

SELECT_CATALOG_ROLE

A user needs to view the table privileges of other users.

Which role should be granted to the user?

46
New cards

PUBLIC

After an administrator granted some privileges to a user, all database users automatically had those same privileges.

Which user was assigned the privileges?

47
New cards

Profile

An administrator wants to limit CPU time for accounts.

Which object should the administrator alter?

48
New cards

COMPOSITE_LIMIT

In response to users' complaints that the system is slow, a database administrator detects that a user is consuming too many resources.

Which parameter controls the use of service units?

49
New cards

PASSWORD EXPIRE

An administrator creates a user profile that forces a change to the user's password at the first login.

Which clause did the administrator include in the create user statement?

50
New cards

Inconsistent

Which type of database backup can be performed while a database is online?

51
New cards

Control

Which file must be present to start an instance of a database?

52
New cards

Compressed

Which format minimizes the space required for a full database backup?

53
New cards

Instance parameters

What can be queried from a database while it is in the NOMOUNT state?

54
New cards

Data

An administrator starts a database and initiates instance recovery.

Which type of files can be recovered?

55
New cards

LOG_CHECKPOINT_INTERVAL

Which parameter affects the mean time to recovery target for a database instance?

56
New cards

Database Writer (DBWn)

Which process duplicates modified blocks from a buffer cache to files on disk?

57
New cards

host_name.olr

Which file does the Database Upgrade Assistant (DBUA) obtain its list of databases from?

58
New cards

Using Oracle Golden Gate

Which action updates a database from an earlier version to a newer version while the database remains online?

59
New cards

CONTENT

Which data pump parameter can an administrator use to perform a metadata-only export?

60
New cards

Export and Import

Which method allows any Oracle release to be migrated to Oracle 12c?

61
New cards

Convert by using Recovery Manager

A database will be migrated to a platform that has a different endianness.

Which action must be performed on the data files before the migration?

62
New cards

Database Upgrade Assistant

Which method is used to perform an in-place upgrade?

63
New cards

Action

Which type of auditing rule records table insert operations?

64
New cards

By configuring the ORA_ACCOUNT_MGMT predefined policy

How should an administrator enable mixed-mode auditing for a database?

65
New cards

adrci

Which interactive tool presents a view of an alert log?

66
New cards

Information about the current version of database components

Which information is included in the output of the utlu121s.sql post-upgrade status script?

67
New cards

Rolling

A company plans to use Data Guard SQL Apply to migrate a database to Oracle 12c.

Which type of upgrade does this tool perform?

68
New cards

Database Upgrade Assistant in silent mode

Which upgrade option automates the upgrade process without user intervention?

69
New cards

compatible

Which parameter must be set after an upgrade to enable the new version's features?

70
New cards

utlu121s.sql

Which tool provides status upgrade result information after an upgrade?

71
New cards

Shared pool

Buffer cache

Database buffer cache, shared pool, and log buffer are required; they are configured automatically in every instance. It is better to use Automatic Memory Management

or Automatic Shared Memory Management, so that the DBA does not need to tune individual components.

Choose two SGA structures that are required in every Oracle instance.

72
New cards

A database must have at least one control file.

The control file is the most key file in an Oracle database. Due to its importance, it is a good practice to have two more copies of the file. A database must have at least one control file to start the database.

Which statement is true?

73
New cards

Redo log buffer

An Oracle database allows you to manage all memory components dynamically, except the redo log buffer. Redo log buffer is set at instance startup and is not dynamically alterable without restarting the instance.

Which component is configured at database startup and cannot be dynamically managed?

74
New cards

Control file

Control file, data file, and redo log files are part of the Oracle database. The Oracle instance constitutes the memory structures and background processes.

Which component is not part of an Oracle instance?

75
New cards

LGWR

The log writer (LGWR) process writes the redo log buffer information to the online redo log files. A commit operation is completed only after the redo buffer is written to online redo log files.

Which background process guarantees that committed data is saved even when the changes have not been recorded in data files?

76
New cards

Does nothing.

When a user issues a commit, the LGWR process makes sure the redo log buffer is written to the online redo log files. Database writer takes no action against the commit event.

User John has updated several rows in a table and issued a commit. What does the DBWn (database writer) process do at this time in response to the commit event?

77
New cards

One database, multiple instances

With Real Application Clusters, multiple instances (known as nodes) can mount one database. One instance can be associated with only one database.

Which of the following best describes a RAC configuration?

78
New cards

Library cache

The shared SQL area is stored in the library cache in a shared pool and is shared between users. If a query is executed again before it is aged out of the library cache, Oracle will use the parsed code and execution plan from the library cache. The database buffer cache has the data blocks cached. The dictionary cache caches data dictionary information. There is no SGA component called the parse cache.

Which component of the SGA contains the parsed SQL code?

79
New cards

Performs recovery at instance startup

Coalesces contiguous free space in dictionary-managed tablespaces

Which tasks are accomplished by the SMON process? (Choose all that apply.)

80
New cards

A nonpartitioned table can have only one segment.

A table or index has a segment. A segment consists of one or more extents. A segment can belong to only one tablespace, but it can span across multiple data files.

Choose the best statement from the options related to segments.

81
New cards

ARCn

MMAN

Memory operations are configured. From the following list, choose two processes that are optional in an Oracle Database 12c database.

82
New cards

Large pool

The large pool is configured so that RMAN does not use the shared pool; therefore, the shared pool is totally dedicated to application space

Which SGA component will you increase or configure so that RMAN tape backups do not use memory from the shared pool?

83
New cards

PMON is responsible for cleaning up failed user processes. It reclaims all the resources held by the user and releases all locks on tables and rows held by the user. No other process is involved in the session cleanup.

When a user session is terminated, which processes are responsible for cleaning up and releasing locks?

84
New cards

The shared pool and database buffer cache portions of the SGA.

The LRU algorithm is used to manage what part of the Oracle architecture?

85
New cards

An instance consists of memory structures and processes, whereas a database is composed of physical files.

Two structures make up an Oracle server: an instance and a database. Which of the following best describes the difference between an Oracle instance and a database?

86
New cards

Operating-system block, database block, extent, segment

Which of the following is the proper order of Oracle's storage hierarchy, from smallest to largest?

87
New cards

The instance crashes and needs to be restarted.

The DBA unknowingly terminated the process ID belonging to the PMON process of Oracle Database 12c database using the kill -9 command on Unix. Choose the best answer:

88
New cards

Control files

When an incremental checkpoint happens in a database, which file(s) are updated with the checkpoint position?

89
New cards

1. Oracle reads the blocks from data file to buffer cache and updates the blocks.

2. The server process writes the change vectors to the redo log buffer.

3. The user commits the change.

4. LGWR flushes the redo log buffer to redo log files.

5. A checkpoint occurs.

6. Changed blocks from the buffer cache are written to data files.

7. LGWR writes the changed blocks to the redo log buffer. (Not Relevant)

User Isabella updates a table and commits the change after a few seconds. Which of the following actions are happening in the database? Order them in the correct sequence and ignore the actions that are not relevant.

90
New cards

Group 1 and 4

Redo log groups with status CURRENT and ACTIVE are required during instance crash recovery.

Querying the V$LOG file shows the following information. Which redo group files are required for instance crash recovery?

SQL> select GROUP#, ARCHIVED, STATUS from V$LOG;

GROUP# ARC STATUS

91
New cards

When using ALTER SYSTEM to change parameter values, the change is made to the server parameter file (spfile) too, because the default for the SCOPE clause is BOTH. Option D would have been correct, if the pfile were used to start up the database. When a database is created using DBCA, the parameter file created is always spfile.

You noticed that the current value of the UNDO_RETENTION parameter is 900 and is too low for some of your transactions. The database was created using DBCA. You issue the following statement:

ALTER SYSTEM SET UNDO_RETENTION=4800;

Which option is true?

92
New cards

BACKGROUND_DUMP_DEST.

You need to find the directory where the Oracle alert log is being written. Which initialization parameter can be best used to list the full directory path of the alert log location?

93
New cards

V$PARAMETER

Which data dictionary view is used to view the current values of parameters?

94
New cards

STARTUP NOMOUNT

Which startup options must be used to start the instance when you create a new database?

95
New cards

/u01/app/oracle/diag/rdbms/xyz/xyz/trace

The DIAGNOSTIC_DEST parameter is not set up in the initialization parameter file. The value of the ORACLE_HOME environment variable is /u01/app/oracle/product/12.1.0, and the value of ORACLE_BASE is /u01/app/oracle. The database and instance name is xyz.

What is the location of the text-alert log file for the xyz database?

96
New cards

You must choose the Custom template in the DBCA.

You want to create a database using the DBCA with DB_BLOCK_SIZE as 32KB. Which statement is true?

97
New cards

Change Database Initialization Parameters

All of the following are database-management options within the Database Configuration Assistant except which one?

98
New cards

runInstaller

The Oracle Universal Installer is started by executing which program?

99
New cards

Determine which directory will be used for $ORACLE_HOME.

You've been asked to install Oracle Database 12c on a new Linux server. You're likely to ask the Unix system administrator to do all but which one of the following for you in order to get the new server ready for Oracle?

100
New cards

spfile.ora

Your database name is OCA12C. The options show the files that are available in the $ORACLE_HOME/dbs directory. Which file is used to start up the database instance when you issue the STARTUP command?