Oracle DBA Professional Database Security and Auditing Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 12 | Questions: 20 | Updated: Aug 15, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. What is the primary purpose of the AUDIT command in Oracle Database?

Explanation

The AUDIT command enables Oracle Database to record specified user actions and database events. These audit records help administrators monitor access, investigate suspicious activity, establish accountability, and demonstrate compliance with security policies. It does not compress logs, encrypt data, or manage backups.

Submit
Please wait...
About This Quiz
Oracle DBA Professional Database Security and Auditing Quiz - Quiz

This quiz evaluates your expertise in Oracle database security and auditing practices essential for database administrators. It covers authentication, authorization, encryption, privilege management, and audit trail configuration. Master these critical skills to protect sensitive data, ensure compliance, and maintain database integrity in enterprise environments.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. The AUDIT ALL command by default audits which statement types?

Explanation

In Oracle, `AUDIT ALL` requests auditing for every supported statement-audit category by default, covering data definition (DDL), data manipulation (DML), and data control (DCL) statements. It is broader than auditing only schema changes, data operations, or queries, so activity across these statement groups can be recorded for later security review.

Submit

3. The DBA_AUDIT_TRAIL view contains audit records for which activities?

Explanation

DBA_AUDIT_TRAIL displays records for database activities that auditing has been configured to capture. These may include DDL and DML operations, logins, privilege use, and other audited actions. It does not necessarily contain every activity in the database—only those covered by the active audit settings.

Submit

4. What does Transparent Data Encryption (TDE) protect?

Explanation

Transparent Data Encryption (TDE) encrypts database files while they are stored, protecting data at rest in tablespaces from unauthorized access to the underlying files. The database transparently decrypts data for authorized users and applications, so they can continue working without managing encryption manually.

Submit

5. Which initialization parameter specifies the location for unified audit trail records?

Explanation

AUDIT_FILE_DEST specifies the filesystem directory used for audit trail files. It identifies where audit records are written when auditing is configured to use the operating system destination, distinguishing it from parameters for recovery files or archived redo logs.

Submit

6. Oracle's Database Vault protects against which type of threat?

Explanation

Oracle Database Vault helps prevent privileged users, such as database administrators, from accessing sensitive application data without authorization. It uses controls such as realms and separation of duties to enforce access restrictions, addressing insider and privilege-abuse threats rather than network attacks, password guessing, or backup corruption.

Submit

7. Which parameter must be set to enable database auditing?

Explanation

Setting `AUDIT_TRAIL` to `DB` or a more detailed supported value enables Oracle database auditing and directs audit records to the database audit trail. `NONE` disables this trail, while the other listed parameters do not control standard Oracle database auditing. Changing `AUDIT_TRAIL` may require restarting the database.

Submit

8. Which command disables all auditing for a specific user's SELECT statements?

Explanation

In Oracle, `NOAUDIT` turns off a previously configured auditing option. The clause `SELECT BY username` targets SELECT statement auditing for the specified user, so this command stops auditing that user’s SELECT statements without disabling auditing for other users or audit options.

Submit

9. Which audit option records all SELECT statements issued by a specific user?

Explanation

`AUDIT SELECT BY username;` enables auditing for SELECT statements performed by the specified user. In this syntax, `SELECT` identifies the operation to monitor, while `BY username` limits auditing to that user rather than applying it to all users.

Submit

10. The IDENTIFIED BY EXTERNAL clause is used for which authentication method?

Explanation

The `IDENTIFIED BY EXTERNAL` clause specifies that the database relies on external authentication rather than checking a database password. This typically delegates verification to the operating system, allowing users authenticated by the OS to access the database.

Submit

11. Which view displays the privileges granted directly to a specific user?

Explanation

USER_SYS_PRIVS lists the system privileges granted directly to the currently connected user, making it useful for checking that user’s individual permissions. By contrast, DBA_ROLE_PRIVS shows role grants, DBA_SYS_PRIVS reports system privileges across users, and DBA_TAB_PRIVS displays object-level privileges.

Submit

12. What does the UNIFIED_AUDIT_TRAIL view provide compared to traditional audit views?

Explanation

UNIFIED_AUDIT_TRAIL brings audit records from multiple sources together in one view, including database activity and operating-system audit data. This provides a consolidated place to review audit events, unlike traditional views that may expose only specific types or sources of audit records.

Submit

13. Oracle Virtual Private Database (VPD) uses which mechanism to enforce security?

Explanation

Oracle VPD enforces fine-grained access control by attaching policy functions to database objects. These functions dynamically add WHERE-clause predicates to SQL statements, filtering which rows a user can see or modify based on their identity or access context. This happens transparently, without requiring changes to the application’s queries.

Submit

14. Oracle Label Security (OLS) uses which mechanism to control data access?

Explanation

Oracle Label Security controls access by assigning sensitivity labels to data and clearances to users. Access is granted when a user’s clearance permits the label level of the data, helping enforce fine-grained, label-based security policies.

Submit

15. Which privilege allows a user to grant privileges to other users?

Explanation

WITH GRANT OPTION lets a user who receives an object privilege pass that privilege on to other users. It is specified when granting the privilege and allows the recipient to grant it onward. ADMIN OPTION serves a similar purpose for roles or system privileges, but it is not the option used for object privileges.

Submit

16. The CREATE USER statement with IDENTIFIED BY GLOBALLY AS 'DN' enables which authentication?

Explanation

A distinguished name (DN) with global identification associates the database account with an identity presented through certificate-based security. The DN is commonly taken from an X.509 certificate, allowing the database to verify the user by matching the certificate identity rather than checking a database password, operating-system account, or RADIUS credentials.

Submit

17. Which privilege is required to view other users' audit records in DBA_AUDIT_TRAIL?

Explanation

SELECT ANY TABLE permits querying tables and views across schemas, allowing access to DBA_AUDIT_TRAIL and its audit records for other users. AUDIT SYSTEM and AUDIT ADMIN relate to configuring or administering auditing, not viewing this view. A direct SELECT grant would provide object-specific access if granted, but the expected privilege here is the broader system privilege.

Submit

18. Which parameter controls the retention period for audit records in the AUD$ table?

Explanation

AUDIT_TRAIL determines whether auditing is enabled and where audit records are written; with database auditing, records are stored in the AUD$ table. It does not itself set their retention period, which is managed through audit cleanup policies, such as DBMS_AUDIT_MGMT. Therefore, the question’s wording is imprecise.

Submit

19. Which system privilege allows a user to create tables in their own schema?

Explanation

The CREATE TABLE system privilege allows a user to create tables in their own schema. It does not grant permission to create tables in other users’ schemas; that requires CREATE ANY TABLE. The user must also have sufficient space quota on the relevant tablespace, since the privilege alone does not provide storage allocation.

Submit

20. Which Oracle authentication method uses a password file stored outside the database?

Explanation

Password file authentication uses a separate password file, stored outside the database, to authenticate users—typically administrators connecting with privileges such as SYSDBA or SYSOPER. This allows privileged access even when the database is not open.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the primary purpose of the AUDIT command in Oracle Database?
The AUDIT ALL command by default audits which statement types?
The DBA_AUDIT_TRAIL view contains audit records for which activities?
What does Transparent Data Encryption (TDE) protect?
Which initialization parameter specifies the location for unified...
Oracle's Database Vault protects against which type of threat?
Which parameter must be set to enable database auditing?
Which command disables all auditing for a specific user's SELECT...
Which audit option records all SELECT statements issued by a specific...
The IDENTIFIED BY EXTERNAL clause is used for which authentication...
Which view displays the privileges granted directly to a specific...
What does the UNIFIED_AUDIT_TRAIL view provide compared to traditional...
Oracle Virtual Private Database (VPD) uses which mechanism to enforce...
Oracle Label Security (OLS) uses which mechanism to control data...
Which privilege allows a user to grant privileges to other users?
The CREATE USER statement with IDENTIFIED BY GLOBALLY AS 'DN' enables...
Which privilege is required to view other users' audit records in...
Which parameter controls the retention period for audit records in the...
Which system privilege allows a user to create tables in their own...
Which Oracle authentication method uses a password file stored outside...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!