Courseiva

OCP · domain

Security And Upgrades

This domain covers Oracle Database 23ai security and upgrade mechanics: Transparent Data Encryption wallet relocation, AutoUpgrade job execution, and post-upgrade dictionary maintenance. Questions test concrete file paths, command syntax, and the operational consequences of skipping required upgrade steps during major version transitions.

53 questions11 easy25 medium17 hard

Focused practice

Practice Security And Upgrades questions

Scored sessions drawing only from this domain — pick a length below.

Start 20-question practice test →

What this domain covers

What to know about Security And Upgrades

Be able to relocate a TDE wallet by editing sqlnet.ora, start AutoUpgrade with the correct java -jar command, and explain why catupgrd.sql must run after a major upgrade. The critical point: the wallet path lives in sqlnet.ora, not in the wallet itself.

Updating sqlnet.ora ENCRYPTION_WALLET_LOCATION when relocating the TDE wallet

Launching AutoUpgrade with java -jar autoupgrade.jar -config <config>

Running catupgrd.sql or the parallel catctl.pl after a major version upgrade

Factors affecting upgrade duration: data volume, component count, and parallelism settings

Watch out for

Common Security And Upgrades exam traps

  • ▸Editing the wallet files themselves instead of the sqlnet.ora parameter that points Oracle to the new wallet directory.
  • ▸Assuming AutoUpgrade runs automatically; it requires an explicit java -jar invocation with a valid config file.
  • ▸Skipping catupgrd.sql, leaving the data dictionary inconsistent and the database unusable or partially upgraded.

Question index

All Security And Upgrades questions (53)

Click any question to see the full explanation, or start a practice session above.

1

You are reviewing security best practices for 23ai. Which THREE of the following represent recommended actions to harden a production instance?

Medium
2

You have a 19c database. Which tool must you run to ensure the database is ready for an upgrade to 23ai?

Hard
3

You are preparing to upgrade a 19c non-CDB database to Oracle Database 23ai using the AutoUpgrade utility. Before running the upgrade, you must create the AutoUpgrade configuration file with the correct parameters. Which file format does AutoUpgrade require for its configuration file?

Medium
4

Which utility is used to perform a 'fixup' during the AutoUpgrade process?

Medium
5

What is the consequence of not running the 'catupgrd.sql' script after a major version upgrade?

Hard
6

In Oracle 23ai, you want to use Database Vault to prevent highly privileged users (like SYS) from accessing sensitive application data. Which component must be enabled and configured to achieve this separation of duty?

Medium
7

What is the primary function of the Database Resident Connection Pooling (DRCP) in a 23ai environment?

Easy
8

Which TWO components must be secured to maintain database integrity?

Hard
9

What is the purpose of the 'Database Vault' option?

Easy
10

You are upgrading a 19c database to Oracle Database 23ai. The database uses a password-protected software keystore for TDE. During the upgrade, you need to ensure that the keystore remains accessible. Which command should you use to open the keystore automatically after the upgrade, without manual intervention?

Medium
11

You are the lead DBA for a 23ai production database. Company policy requires that all administrative actions performed by DBAs be recorded in the Unified Audit Trail. You have already created an audit policy named DBA_ACTIONS that captures the relevant actions, but you need to ensure that it is enforced. Which action must you perform?

Medium
12

Which THREE of the following are valid methods to patch an Oracle 23ai database?

Hard
13

You are implementing Transparent Data Encryption (TDE) in a 23ai database. You have configured the wallet and set the encryption key. You need to ensure that the data in the USERS tablespace is encrypted. Which statement correctly describes the process to encrypt the USERS tablespace?

Medium
14

You are upgrading from 19c to 23ai and need to identify incompatible parameters before the upgrade. Which tool should you use?

Easy
15

What is the purpose of the 'Wallet' in Oracle security?

Easy
16

What happens to a traditional audit record when you migrate to Unified Auditing in 23ai?

Hard
17

Which THREE things can prevent an AutoUpgrade process from starting?

Hard
18

Which component is required to implement Transparent Data Encryption (TDE) in 23ai?

Medium
19

Which view should you query to verify the encryption status of tablespaces in 23ai?

Hard
20

You are implementing Transparent Data Encryption (TDE) in Oracle Database 23ai. You have already configured the keystore and created the master encryption key. Now you need to encrypt several existing tablespaces and columns. Which two actions must you perform to ensure that the data is encrypted and accessible? (Choose two.)

Medium
21

You are upgrading an Oracle Database 19c non-CDB to Oracle Database 23ai. The database uses a custom application that relies on the DBMS_LOB package and has a large amount of PL/SQL code. You have chosen the AutoUpgrade utility to perform the upgrade. During the upgrade, you encounter an error related to the DBMS_LOB package. Which action should you take to resolve the issue?

Hard
22

What is the primary purpose of 'Data Masking' in the Oracle Data Masking and Subsetting Pack?

Medium
23

Which TWO files are modified to configure a secured listener?

Hard
24

You are upgrading a 19c container database (CDB) to Oracle Database 23ai using AutoUpgrade. As part of the upgrade, you need to ensure that the database is in the correct state and that all prerequisites are met. Which two actions should you perform before starting the upgrade? (Choose two.)

Hard
25

Which command is used to start the AutoUpgrade process?

Easy
26

When configuring Oracle Network Encryption, which TWO of the following parameters in the sqlnet.ora file are used to specify encryption settings?

Medium
27

What is the primary benefit of using Unified Auditing in 23ai?

Easy
28

When upgrading a database, what is a 'Flashback Database' used for?

Easy
29

Which THREE items are generally included in an Oracle Patch?

Easy
30

Which THREE tasks are performed after an upgrade is finished?

Medium
31

Which THREE things should be checked before upgrading to 23ai?

Medium
32

What is the best way to ensure an encrypted connection between the application server and the database?

Medium
33

You are migrating to 23ai and need to use the 'DBMS_COMPARISON' package to verify data integrity between the old and new instances. What is the prerequisite for this operation?

Medium
34

Which THREE actions are part of the AutoUpgrade process?

Medium
35

You are managing an Oracle Database 23ai environment with Transparent Data Encryption (TDE) enabled. A security audit requires that you rotate the master encryption key for the database. You have already taken a backup of the keystore. Which command should you use to rotate the master key?

Hard
36

How do you ensure that a user cannot connect to the database via SQL*Plus but can connect via an application service?

Hard
37

Which file needs to be updated when you move the wallet location in 23ai?

Medium
38

Which THREE factors influence the duration of a database upgrade?

Hard
39

Which TWO methods are used to verify the success of an upgrade?

Medium
40

Which view can you use to check the status of TDE wallet encryption?

Medium
41

You are upgrading a 19c multitenant container database (CDB) to Oracle Database 23ai using AutoUpgrade. The source CDB contains three pluggable databases (PDBs). After running the upgrade, you need to verify that the upgrade was successful and that no manual intervention is required. Which two actions should you perform? (Choose two.)

Hard
42

You want to enforce password complexity in 23ai using a profile. Which clause is used to reference a custom verification function?

Medium
43

What is the primary role of the 'Patching' phase in an upgrade?

Medium
44

What is the recommended tool to apply a bundle patch to a 23ai environment?

Easy
45

When configuring a secure listener in 23ai, which protocol is recommended for encrypted communication?

Medium
46

You are administering an Oracle Database 23ai environment with Unified Auditing enabled. A new security policy requires that all failed logon attempts be audited. Which action should you take to meet this requirement?

Medium
47

You are preparing to upgrade a 19c database to 23ai using the AutoUpgrade utility. You have created the configuration file and run the upgrade in analyze mode. The analysis completes successfully. What is the next step you should perform according to best practices?

Easy
48

Your organization is migrating a critical 19c database to Oracle Database 23ai. The business requires that the cutover downtime be minimized, ideally under 10 minutes. You have a large database (20 TB) and a high transaction rate. Which migration method should you use to achieve the least downtime?

Medium
49

Which user is responsible for the management of the Unified Audit trail?

Medium
50

You need to perform a Rolling Upgrade using Data Guard. What is the minimum required configuration?

Hard
51

You are applying an Oracle Release Update (RU) in a Data Guard environment. Following the 'Rolling Upgrade' methodology, which instance should be patched first to ensure continuous availability?

Hard
52

In 23ai, if you want to audit 'CREATE TABLE' statements, which policy type should you use?

Hard
53

Which TWO are common audit types in Oracle?

Easy

Frequently asked questions

What does the Security And Upgrades domain cover on the OCP exam?
Be able to relocate a TDE wallet by editing sqlnet.ora, start AutoUpgrade with the correct java -jar command, and explain why catupgrd.sql must run after a major upgrade. The critical point: the wallet path lives in sqlnet.ora, not in the wallet itself.
How many questions are in this domain?
This page lists all 53 Security And Upgrades questions in the OCP question bank. The actual exam draws from this domain proportionally to its weighting in the official exam blueprint.
What is the best way to practise this domain?
Start with a short focused session (10 questions) to identify gaps, then work through explanations. Repeat with a longer session once the weak areas feel solid.
Can I practise only Security And Upgrades questions?
Yes — the session launcher on this page filters questions to this domain only. Choose any session length for inline explanations and scoring.
Oracle Database 23ai Administrator Professional (OCP, 1Z0-183) (OCP) Security And Upgrades Practice Questions