IBM Db2 Database Security 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
| Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. In Db2, the SYSADM authority provides which level of control?

Explanation

SYSADM is Db2’s highest-level administrative authority, granting broad control over the database system rather than access limited to queries, tables, or individual schemas. It enables administrators to manage system operations and resources, so it represents administrative control across the system.

Submit
Please wait...
About This Quiz
IBM Db2 Database Security Quiz - Quiz

This quiz evaluates your understanding of IBM Db2 database security fundamentals. It covers authentication mechanisms, authorization models, encryption techniques, and security best practices essential for protecting database systems. Designed for college-level learners, this assessment tests your knowledge of user roles, privileges, auditing, and compliance strategies used in enterprise Db2 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. True or False: Db2 audit logs can be encrypted to protect audit trail integrity.

Explanation

True. Db2 supports encrypting audit log data, making it harder for unauthorized users to read or manipulate stored records. This helps protect the audit trail’s trustworthiness, alongside access controls and secure log-file handling. Encryption is one safeguard and should be combined with appropriate permissions and monitoring to protect audit records.

Submit

3. Which Db2 feature enforces password complexity and expiration policies?

Explanation

A User Authentication Profile defines the rules used to verify user credentials, including password complexity requirements and expiration periods. Applying these policies helps ensure passwords meet security standards and are changed regularly, reducing the risk of unauthorized access.

Submit

4. True or False: In Db2, implicit privileges are automatically granted to all users for accessing public schemas.

Explanation

Db2 does not automatically grant every user privileges to access schemas. Schema privileges—such as using objects or creating objects—are controlled through authorization and grants. A privilege granted to the special PUBLIC authorization ID is available broadly, but it must be granted; it is not implicit for all schemas.

Submit

5. What does the DBADM authority in Db2 allow a user to do?

Explanation

DBADM (database administrator) authority grants broad control over a Db2 database, including managing database objects and carrying out administrative tasks. It is not limited to read-only queries or system catalog access, and it does not grant permission to modify operating system files.

Submit

6. In Db2, which audit policy level records schema changes and privilege modifications?

Explanation

AUDIT_ADMIN captures administrative changes that affect database structure and access control, including schema modifications and changes to user privileges. These activities can alter how data is organized or who can access it, so recording them supports security monitoring and accountability. AUDIT_BASIC and AUDIT_NONE provide less coverage, while AUDIT_ALL is not the specific level asked for.

Submit

7. True or False: Db2 supports multi-factor authentication for enhanced user security.

Explanation

Db2 can support multi-factor authentication through integration with external authentication services or identity providers that enforce additional verification steps, such as a one-time code or approval prompt. This adds a layer of protection beyond a password and helps reduce the risk of unauthorized access.

Submit

8. What is the primary function of the Db2 security label component?

Explanation

In Db2, the security label component supports label-based access control (LBAC). It assigns security classifications to users and data, then uses those labels to determine which rows or other protected resources each user may access. This helps enforce confidentiality policies and prevent unauthorized users from viewing sensitive information; it does not tune queries or manage system resources.

Submit

9. Which Db2 security feature allows masking of sensitive data in query results?

Explanation

Data Masking protects sensitive information by replacing or obscuring selected values in query results. This lets authorized users work with data while limiting what other users can see, based on security policies and access privileges.

Submit

10. True or False: Transparent Data Encryption (TDE) in Db2 encrypts data automatically without application changes.

Explanation

TDE encrypts database files and backups at rest, while Db2 handles encryption and decryption transparently as data is written or read. Because this process is managed by the database system, applications can continue accessing data without changes to their code or queries.

Submit

11. Which authentication method in IBM Db2 allows users to authenticate using external directory services like LDAP?

Explanation

LDAP authentication lets Db2 verify user credentials against an external Lightweight Directory Access Protocol directory service, such as an enterprise directory server. This centralizes identity management and allows users to use directory-managed accounts rather than credentials stored locally in Db2. SERVER_ENCRYPT protects passwords, while Kerberos is a separate authentication mechanism.

Submit

12. What is the purpose of row-level security (RLS) in Db2?

Explanation

Row-level security (RLS) restricts which rows a user can see or access based on their identity, roles, or other defined conditions. This helps enforce data access policies within Db2 without requiring separate tables or queries for each user.

Submit

13. Which command revokes privileges from a user in Db2?

Explanation

In Db2, `REVOKE` removes privileges that were previously granted to a user or another authorization ID. `DENY`, `REMOVE`, and `DELETE` are not the commands used to withdraw Db2 privileges.

Submit

14. True or False: Column-level security in Db2 can restrict which columns specific users can access.

Explanation

True. Db2 lets administrators grant privileges on individual columns, so a user can be allowed to access specific columns while being denied access to others. This helps protect sensitive information without preventing users from working with the parts of a table they are authorized to see.

Submit

15. In Db2, what does the GRANT statement do?

Explanation

GRANT provides specified users or roles with permissions to access or perform actions on Db2 objects, such as tables, views, or databases. These permissions control what operations they can perform. To remove privileges, Db2 uses the REVOKE statement.

Submit

16. Which Db2 audit facility records all database access and modifications?

Explanation

The Audit Log captures records of database activity, including access attempts and data modifications. These records help administrators monitor usage, investigate security incidents, and support compliance reviews. The Query Optimizer, Transaction Manager, and Buffer Pool serve other database functions rather than auditing activity.

Submit

17. What encryption standard does IBM Db2 support for data in transit?

Explanation

IBM Db2 supports SSL/TLS to encrypt data while it travels between clients and the database server, helping protect it from interception and unauthorized access.

Submit

18. True or False: In Db2, the PUBLIC role can execute all administrative commands by default.

Explanation

False. In Db2, PUBLIC does not automatically have authority to run all administrative commands. Such commands require specific administrative authority, such as SYSADM, SYSCTRL, SYSMAINT, or an appropriate database-level authority. PUBLIC’s default privileges are limited and can be further controlled by administrators.

Submit

19. Which Db2 privilege allows a user to modify table structures and indexes?

Explanation

The ALTER privilege permits a user to change the definition of an existing table, including its structure, and to make permitted changes to its indexes. SELECTIN provides read access to objects in a schema, while CREATEIN is for creating objects; neither grants alteration rights.

Submit

20. What is the primary purpose of role-based access control (RBAC) in Db2?

Explanation

RBAC groups permissions into roles that reflect users’ job responsibilities. In Db2, administrators assign roles to users, making access easier to manage and helping ensure users receive only the privileges they need.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
In Db2, the SYSADM authority provides which level of control?
True or False: Db2 audit logs can be encrypted to protect audit trail...
Which Db2 feature enforces password complexity and expiration...
True or False: In Db2, implicit privileges are automatically granted...
What does the DBADM authority in Db2 allow a user to do?
In Db2, which audit policy level records schema changes and privilege...
True or False: Db2 supports multi-factor authentication for enhanced...
What is the primary function of the Db2 security label component?
Which Db2 security feature allows masking of sensitive data in query...
True or False: Transparent Data Encryption (TDE) in Db2 encrypts data...
Which authentication method in IBM Db2 allows users to authenticate...
What is the purpose of row-level security (RLS) in Db2?
Which command revokes privileges from a user in Db2?
True or False: Column-level security in Db2 can restrict which columns...
In Db2, what does the GRANT statement do?
Which Db2 audit facility records all database access and...
What encryption standard does IBM Db2 support for data in transit?
True or False: In Db2, the PUBLIC role can execute all administrative...
Which Db2 privilege allows a user to modify table structures and...
What is the primary purpose of role-based access control (RBAC) in...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!