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.
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.
You are reviewing security best practices for 23ai. Which THREE of the following represent recommended actions to harden a production instance?
Medium2You have a 19c database. Which tool must you run to ensure the database is ready for an upgrade to 23ai?
Hard3You 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?
Medium4Which utility is used to perform a 'fixup' during the AutoUpgrade process?
Medium5What is the consequence of not running the 'catupgrd.sql' script after a major version upgrade?
Hard6In 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?
Medium7What is the primary function of the Database Resident Connection Pooling (DRCP) in a 23ai environment?
Easy8Which TWO components must be secured to maintain database integrity?
Hard9What is the purpose of the 'Database Vault' option?
Easy10You 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?
Medium11You 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?
Medium12Which THREE of the following are valid methods to patch an Oracle 23ai database?
Hard13You 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?
Medium14You are upgrading from 19c to 23ai and need to identify incompatible parameters before the upgrade. Which tool should you use?
Easy15What is the purpose of the 'Wallet' in Oracle security?
Easy16What happens to a traditional audit record when you migrate to Unified Auditing in 23ai?
Hard17Which THREE things can prevent an AutoUpgrade process from starting?
Hard18Which component is required to implement Transparent Data Encryption (TDE) in 23ai?
Medium19Which view should you query to verify the encryption status of tablespaces in 23ai?
Hard20You 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.)
Medium21You 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?
Hard22What is the primary purpose of 'Data Masking' in the Oracle Data Masking and Subsetting Pack?
Medium23Which TWO files are modified to configure a secured listener?
Hard24You 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.)
Hard25Which command is used to start the AutoUpgrade process?
Easy26When configuring Oracle Network Encryption, which TWO of the following parameters in the sqlnet.ora file are used to specify encryption settings?
Medium27What is the primary benefit of using Unified Auditing in 23ai?
Easy28When upgrading a database, what is a 'Flashback Database' used for?
Easy29Which THREE items are generally included in an Oracle Patch?
Easy30Which THREE tasks are performed after an upgrade is finished?
Medium31Which THREE things should be checked before upgrading to 23ai?
Medium32What is the best way to ensure an encrypted connection between the application server and the database?
Medium33You 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?
Medium34Which THREE actions are part of the AutoUpgrade process?
Medium35You 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?
Hard36How do you ensure that a user cannot connect to the database via SQL*Plus but can connect via an application service?
Hard37Which file needs to be updated when you move the wallet location in 23ai?
Medium38Which THREE factors influence the duration of a database upgrade?
Hard39Which TWO methods are used to verify the success of an upgrade?
Medium40Which view can you use to check the status of TDE wallet encryption?
Medium41You 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.)
Hard42You want to enforce password complexity in 23ai using a profile. Which clause is used to reference a custom verification function?
Medium43What is the primary role of the 'Patching' phase in an upgrade?
Medium44What is the recommended tool to apply a bundle patch to a 23ai environment?
Easy45When configuring a secure listener in 23ai, which protocol is recommended for encrypted communication?
Medium46You 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?
Medium47You 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?
Easy48Your 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?
Medium49Which user is responsible for the management of the Unified Audit trail?
Medium50You need to perform a Rolling Upgrade using Data Guard. What is the minimum required configuration?
Hard51You 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?
Hard52In 23ai, if you want to audit 'CREATE TABLE' statements, which policy type should you use?
Hard53Which TWO are common audit types in Oracle?
EasyOther domains
All OCP exam domains
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.