Courseiva

CCNA Security And Upgrades Questions

60 questions · Security And Upgrades topic · All types, answers revealed

1
Multi-Selectmedium

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

Select 3 answers
A.Apply the latest quarterly Release Update (RU)
B.Use Oracle Key Vault for TDE master key management
C.Enforce strong password profiles
D.Run database in NoArchiveLog mode for security
E.Disable all default schemas immediately
AnswersA, B, C

Regular patching mitigates known vulnerabilities.

Why this answer

Using Oracle Key Vault, enforcing password complexity, and applying the latest Release Updates are core hardening practices.

2
MCQhard

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

A.utlrp.sql
B.dbv
C.catupgrd.sql
D.preupgrade.jar
AnswerD

This is the pre-upgrade assessment tool.

Why this answer

The Pre-Upgrade Information Tool (preupgrade.jar) is mandatory for evaluating the source database.

3
MCQmedium

Which parameter ensures that the listener uses a wallet for SSL?

A.WALLET_LOCATION
B.SECURE_CONTROL_LISTENER
C.SSL_CIPHER_SUITES
D.SSL_SERVER_CERT_DN
AnswerA

This parameter points to the wallet file.

Why this answer

The listener.ora file must be configured with the SSL_CLIENT_AUTHENTICATION and WALLET_LOCATION parameters.

4
MCQmedium

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

A.srvctl
B.utlu122s.sql
C.catupgrd.sql
D.preupgrade_fixups.sql
AnswerD

This is the standard script for manual fixups.

Why this answer

AutoUpgrade performs fixups automatically, but you can also run them manually using the pre-upgrade fixup scripts.

5
MCQhard

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

A.Only performance is affected
B.The database will run in read-only mode
C.Data dictionary remains in old version format
D.The database will not start
AnswerC

The dictionary must be upgraded to match the engine version.

Why this answer

The data dictionary will be inconsistent, and many objects will be invalid, leading to database failure.

6
MCQeasy

Which action is required before applying a PSU (Patch Set Update) to a 23ai database?

A.Change the global name
B.Take a RMAN backup
C.Stop the database
D.Recompile all objects
AnswerB

Backups are essential for recovery if a patch fails.

Why this answer

It is critical to take a full backup of the database before applying any patches.

7
MCQmedium

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?

A.Virtual Private Database (VPD)
B.Data Redaction
C.Database Vault Realms
D.Label Security
AnswerC

Realms protect specific data structures from unauthorized privileged user access.

Why this answer

Database Vault Realms are specifically designed to restrict access to data by privileged users.

8
MCQeasy

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

A.Connection scaling
B.Security authentication
C.Data encryption
D.Audit trail management
AnswerA

It manages server process overhead efficiently.

Why this answer

DRCP reduces the memory footprint of a database by pooling server processes.

9
Multi-Selecthard

Which THREE tools can be used to manage security settings?

Select 3 answers
A.AutoUpgrade
B.Oracle Security Dashboard
C.RMAN
D.Enterprise Manager
E.SQL*Plus
AnswersB, D, E

Used for specialized security management.

Why this answer

SQL*Plus, EM, and the Oracle Security Dashboard are standard management tools.

10
Multi-Selecthard

Which TWO components must be secured to maintain database integrity?

Select 2 answers
A.User manual
B.Data files
C.Backup files
D.System logs
E.Client browser
AnswersB, C

Core data integrity.

Why this answer

The data files and the backup files must be secured to prevent tampering.

11
MCQeasy

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

A.To improve query performance
B.To encrypt backups
C.To prevent DBA access to sensitive data
D.To manage user passwords
AnswerC

This is the core purpose of Database Vault.

Why this answer

Database Vault restricts access to application data by privileged users like SYS.

12
MCQhard

You want to audit only the SELECT statements performed by a specific user on a specific table. How is this achieved?

A.Traditional audit
B.Unified Audit Policy with a WHEN clause
C.Flashback Data Archive
D.Database Trigger
AnswerB

This allows for precise conditional auditing.

Why this answer

Use a Unified Audit Policy with the 'WHEN' clause to filter the user and the 'OBJECT' clause for the table.

13
Multi-Selecthard

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

Select 3 answers
A.OPatchAuto
B.Fleet Patching and Provisioning (FPP)
C.OPatch
D.Data Pump Patching
E.SQL*Plus Patch
AnswersA, B, C

Automated tool for applying RUs to grid infrastructure and database homes.

Why this answer

OPatch, OPatchAuto, and Fleet Patching and Provisioning (FPP) are the standard methods for patching Oracle databases.

14
MCQeasy

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

A.Pre-Upgrade Information Tool
B.Cloud Pre-Migration Advisor Tool
C.Oracle Fleet Patching and Provisioning
D.DBUA
AnswerA

This tool identifies issues before the upgrade process starts.

Why this answer

The Pre-Upgrade Information Tool (preupgrade.jar) is the standard method for identifying parameter incompatibilities.

15
Multi-Selecteasy

Which TWO features help protect database availability during an upgrade?

Select 2 answers
A.Data Guard
B.TDE
C.Database Vault
D.Audit Vault
E.Flashback Database
AnswersA, E

Provides a standby instance.

Why this answer

Data Guard and Flashback Database are key for availability and recovery.

16
MCQeasy

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

A.To backup the database
B.To manage database users
C.To improve query performance
D.To store encryption keys and credentials
AnswerD

This is the definition of a wallet.

Why this answer

A wallet stores sensitive credentials like passwords and encryption keys.

17
MCQhard

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

A.Automatically converted
B.Stay in separate tables
C.Deleted automatically
D.Merged into the Unified Trail
AnswerB

They remain in their original locations.

Why this answer

Traditional audit records are not automatically migrated; you should clear them or archive them before switching to Unified Auditing.

18
MCQmedium

When migrating to 23ai, which method allows for the least amount of downtime?

A.Full Export/Import
B.Upgrade in-place
C.Manual Database Re-creation
D.Transportable Tablespaces
AnswerD

This allows for efficient bulk data movement with minimal downtime.

Why this answer

Transportable Tablespaces combined with Data Guard or GoldenGate typically offers the lowest downtime.

19
Multi-Selecthard

Which THREE things can prevent an AutoUpgrade process from starting?

Select 3 answers
A.Existing lock files
B.Expired passwords
C.Insufficient space
D.Incorrect permissions
E.Too many users
AnswersA, C, D

Indicates another process is running.

Why this answer

Insufficient space, incorrect permissions, or already running processes are common blockers.

20
MCQmedium

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

A.Oracle Audit Vault
B.Oracle Wallet
C.Oracle Key Vault
D.Oracle Data Guard
AnswerB

The wallet acts as the keystore for the master key.

Why this answer

A keystore (wallet) is required to hold the master encryption key for TDE.

21
MCQhard

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

A.V$ENCRYPTED_TABLESPACES
B.DBA_ENCRYPTED_COLUMNS
C.DBA_ENCRYPTION_KEYS
D.DBA_TABLESPACES
E.V$WALLET
AnswerA

This is the correct view for encryption status.

Why this answer

V$ENCRYPTED_TABLESPACES shows the encryption status of all tablespaces in the database.

22
MCQeasy

You are implementing Unified Auditing in an Oracle 23ai database. You need to capture all actions performed by a specific user 'APP_USER', regardless of the object accessed. Which SQL statement is correct?

A.AUDIT POLICY audit_app USER APP_USER;
B.CREATE AUDIT POLICY audit_app FOR APP_USER;
C.AUDIT ALL ACTIONS BY APP_USER;
D.CREATE AUDIT POLICY audit_app ACTIONS ALL BY APP_USER;
AnswerD

The 'ACTIONS ALL BY username' syntax is correct for auditing every action performed by that user.

Why this answer

CREATE AUDIT POLICY policy_name ACTIONS ALL BY APP_USER is the correct syntax for auditing all actions by a specific user.

23
MCQmedium

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

A.To improve performance
B.To protect sensitive data in non-production databases
C.To encrypt data in transit
D.To audit privileged users
AnswerB

This is the core purpose.

Why this answer

Data masking permanently obscures sensitive data in a non-production environment.

24
Multi-Selecthard

Which TWO files are modified to configure a secured listener?

Select 2 answers
A.listener.ora
B.spfile.ora
C.init.ora
D.tnsnames.ora
E.sqlnet.ora
AnswersA, E

Configures the listener endpoint.

Why this answer

listener.ora and sqlnet.ora are both typically involved in network security configuration.

25
MCQmedium

Which tool can be used to monitor the progress of an AutoUpgrade process?

A.ADRCI
B.AutoUpgrade Job Monitor
C.SQL*Plus
D.Enterprise Manager
AnswerB

This tool tracks the upgrade status.

Why this answer

The AutoUpgrade tool provides a job monitor output in the log file directory.

26
MCQeasy

Which command is used to start the AutoUpgrade process?

A.sqlplus / as sysdba
B.opatch
C.dbua
D.java -jar autoupgrade.jar
AnswerD

This is the correct command syntax.

Why this answer

The command is 'java -jar autoupgrade.jar -config <config_file>'.

27
Multi-Selectmedium

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

Select 2 answers
A.SQLNET.ENCRYPTION_TYPES_SERVER
B.TNS_ENCRYPTION_ENABLED
C.SQLNET.ENCRYPTION_SERVER
D.SQLNET.AUTHENTICATION_SERVICES
E.NETWORK_SECURE_MODE
AnswersA, C

This specifies the allowed encryption algorithms for the server.

Why this answer

SQLNET.ENCRYPTION_SERVER and SQLNET.ENCRYPTION_TYPES_SERVER are the primary parameters for configuring server-side network encryption.

28
MCQeasy

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

A.Simplified audit management and unified audit trail
B.Improved query performance for application tables
C.Increased storage capacity
D.Automatic data masking
AnswerA

This is the main purpose of the feature.

Why this answer

Unified Auditing provides a single, unified audit trail for all audit records from various sources.

29
Multi-Selecteasy

Which TWO are benefits of TDE?

Select 2 answers
A.Helps with compliance
B.Protects data at rest
C.Reduces disk space
D.Simplifies login
E.Increases performance
AnswersA, B

Required for many standards.

Why this answer

TDE provides security for data at rest and helps with regulatory compliance.

30
MCQeasy

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

A.Quick recovery after a failed upgrade
B.User authentication
C.Data migration
D.Performance tuning
AnswerA

This is the primary use during upgrades.

Why this answer

Flashback Database allows you to quickly revert to a point-in-time if the upgrade fails.

31
Multi-Selecteasy

Which THREE items are generally included in an Oracle Patch?

Select 3 answers
A.Application source code
B.Security updates
C.Bug fixes
D.Performance improvements
E.New hardware drivers
AnswersB, C, D

Essential for patching.

Why this answer

Patches typically contain bug fixes, security updates, and performance improvements.

32
Multi-Selectmedium

Which THREE tasks are performed after an upgrade is finished?

Select 3 answers
A.Create new users
B.Deinstall old version
C.Recompile invalid objects
D.Run timezone upgrade script
E.Gather dictionary statistics
AnswersC, D, E

Ensures code compatibility.

Why this answer

Post-upgrade, you must run the timezone script, recompile invalid objects, and gather dictionary statistics.

33
Multi-Selectmedium

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

Select 3 answers
A.Current patch levels
B.Sufficient temporary tablespace
C.Database backup
D.Table indexes
E.Application user passwords
AnswersA, B, C

Required for a supported path.

Why this answer

System resources, disk space, and patch levels are critical checks.

34
MCQmedium

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

A.Using Audit Vault
B.Using Database Vault
C.Using TDE
D.Using Native Network Encryption
AnswerD

NNE is for data-in-transit encryption.

Why this answer

Configuring Native Network Encryption (NNE) or TLS on the listener ensures encrypted traffic.

35
MCQmedium

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?

A.The databases must use the same tablespace names
B.The databases must be on the same physical host
C.A database link must exist between the databases
D.The source database must be in Read-Only mode
AnswerC

A DB link is required for the package to compare data across instances.

Why this answer

DBMS_COMPARISON requires a database link between the source and target databases.

36
MCQeasy

What is the default behavior of the Unified Audit trail in 23ai?

A.Not stored by default
B.Stored in the OS as XML files
C.Stored in the SYSTEM tablespace
D.Stored in the UNDO tablespace
AnswerC

Unified audit records are stored within the database.

Why this answer

Unified audit records are stored in a secure table in the SYSTEM tablespace.

37
MCQmedium

When using AutoUpgrade to move to 23ai, which file format is required for the configuration?

A.CFG
C.YAML
D.XML
AnswerA

The configuration file must end in .cfg.

Why this answer

AutoUpgrade uses a configuration file in a specific text-based key-value format (cfg file).

38
Multi-Selectmedium

Which THREE actions are part of the AutoUpgrade process?

Select 3 answers
A.Post-upgrade cleanup
B.Upgrading the database
C.Applying security patches
D.Rebuilding the OS
E.Pre-check analysis
AnswersA, B, E

Finalizes the upgrade.

Why this answer

AutoUpgrade handles the Pre-check, Upgrade, and Post-upgrade phases.

39
MCQmedium

Which view displays the list of active Unified Audit policies?

A.UNIFIED_AUDIT_TRAIL
B.DBA_AUDIT_POLICIES
C.DBA_PRIV_AUDIT_POLICIES
D.AUDIT_UNIFIED_POLICIES
AnswerD

This is the correct view for unified audit policies.

Why this answer

AUDIT_UNIFIED_POLICIES shows the policies defined in the database.

40
MCQhard

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

A.Create a Logon Trigger
B.Modify TNSNAMES.ORA
C.Use Profile limits
D.Revoke CONNECT role
AnswerA

Triggers allow for program-based access control.

Why this answer

You can use a login trigger to check the program name (e.g., 'sqlplus.exe') and reject connections.

41
MCQmedium

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

A.init.ora
B.tnsnames.ora
C.sqlnet.ora
D.listener.ora
AnswerC

The wallet location is defined here.

Why this answer

The sqlnet.ora file contains the WALLET_LOCATION parameter that must be updated.

42
Multi-Selecthard

Which THREE factors influence the duration of a database upgrade?

Select 3 answers
A.Number of database objects
B.System resources (CPU/IO)
C.The color of the server
D.Number of users
E.Database size
AnswersA, B, E

More objects take longer to process.

Why this answer

The number of objects, the amount of data, and system resources all impact performance.

43
Multi-Selectmedium

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

Select 2 answers
A.Reinstalling the OS
B.Reviewing log files
C.Querying V$VERSION
D.Running a test report
E.Checking user login
AnswersB, C

Primary verification method.

Why this answer

Checking the log files and querying the dictionary version are standard verification methods.

44
MCQmedium

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

A.V$TDE_STATUS
B.V$ENCRYPTION_WALLET
C.DBA_ENCRYPTION_STATUS
D.DBA_WALLET
AnswerB

This is the correct view.

Why this answer

V$ENCRYPTION_WALLET displays the status of the wallet used for TDE.

45
MCQhard

Your organization requires that all data stored in the 23ai database be encrypted at rest using Transparent Data Encryption (TDE). You have configured the Keystore. Which command correctly rotates the master encryption key without re-encrypting all existing data blocks immediately?

A.ALTER SYSTEM SET ENCRYPTION KEY;
B.ALTER TABLESPACE USERS REKEY;
C.ADMINISTER KEY MANAGEMENT SET KEY IDENTIFIED BY 'password' WITH BACKUP;
D.ALTER SYSTEM ROTATE MASTER KEY;
AnswerC

This is the standard command for rotating the TDE master key.

Why this answer

ADMINISTER KEY MANAGEMENT SET KEY IDENTIFIED BY 'password' WITH BACKUP rotates the master key, which is a metadata-only operation for TDE tablespaces.

46
MCQmedium

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

A.PASSWORD_VERIFY_FUNCTION
B.FAILED_LOGIN_ATTEMPTS
C.PASSWORD_LOCK_TIME
D.PASSWORD_LIFE_TIME
AnswerA

This enables custom complexity rules.

Why this answer

The PASSWORD_VERIFY_FUNCTION clause in the CREATE PROFILE statement allows for custom verification logic.

47
MCQmedium

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

A.To clear the redo logs
B.To reorganize the tables
C.To increase memory
D.To apply necessary updates to the dictionary
AnswerD

The dictionary must be upgraded.

Why this answer

Ensuring the binaries and the data dictionary match the desired target version.

48
MCQeasy

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

A.Enterprise Manager
B.OPatch
C.RMAN
D.AutoUpgrade
AnswerB

OPatch is the correct tool.

Why this answer

OPatch is the standard utility for applying patches to Oracle software.

49
MCQmedium

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

A.TCP
B.IPC
D.TCPS
AnswerD

TCPS provides SSL/TLS encryption.

Why this answer

TCPS (TCP with SSL/TLS) is required for encrypted listener communication.

50
MCQhard

How do you disable a Unified Audit policy?

A.ALTER POLICY DISABLE
B.DISABLE AUDIT POLICY
C.NOAUDIT POLICY
D.DROP POLICY
AnswerC

This is the correct syntax for disabling a policy.

Why this answer

The 'NOAUDIT POLICY' command is used to disable a policy.

51
MCQmedium

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

A.SYSDBA
B.DBA
C.AUDIT_ADMIN
D.SECURITY_ADMIN
AnswerC

This is the dedicated role for audit administration.

Why this answer

The AUDIT_ADMIN role is required for managing unified audit policies and data.

52
Multi-Selecthard

Which TWO audit trails can be enabled simultaneously?

Select 2 answers
A.Unified Audit
B.Standard Audit
C.Redo log audit
D.Memory audit
E.Tablespace audit
AnswersA, B

Can be enabled.

Why this answer

Unified and traditional audit trails can both be active, though it is not recommended.

53
Multi-Selectmedium

Which TWO statements about Unified Auditing are correct?

Select 2 answers
A.It replaces standard auditing
B.It requires manual setup for all events
C.It is only for Linux
D.It is enabled by default in 23ai
E.It only works with SYS user
AnswersA, D

It is the unified successor.

Why this answer

Unified auditing is enabled by default in some configurations and is the replacement for standard auditing.

54
MCQhard

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

A.Physical Standby Database
B.Active Data Guard
C.Oracle GoldenGate
D.Snapshot Standby
AnswerA

A physical standby is the foundation for a rolling upgrade.

Why this answer

A physical standby database is required to perform a rolling upgrade using transient logical standby or switchover methods.

55
MCQhard

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?

A.The Standby database instance
B.The observer node only
C.The Primary database instance
D.Both instances simultaneously
AnswerA

The standby is patched first to allow for a switchover, minimizing downtime.

Why this answer

In a rolling upgrade, the standby instance is patched first, then a switchover is performed, and finally the former primary is patched.

56
MCQhard

When migrating to 23ai, which file is used to specify the target home directory in AutoUpgrade?

A.init.ora
B.config.cfg
C.oratab
D.spfile.ora
AnswerB

The config file is where the target home is defined.

Why this answer

The AutoUpgrade .cfg file uses the 'target_home' parameter.

57
MCQhard

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

A.Unified Audit Policy
B.Fine-Grained Auditing (FGA)
C.Logon Trigger
D.Traditional Audit
AnswerA

This is the standard approach for system actions.

Why this answer

A Unified Audit Policy for system events or actions is used.

58
Multi-Selectmedium

Which THREE steps are required for a manual TDE configuration?

Select 3 answers
A.Create the keystore
B.Rebuild all tables
C.Encrypt the entire database
D.Set WALLET_LOCATION
E.Open the wallet
AnswersA, D, E

Required step.

Why this answer

Setting the location, creating the wallet, and opening the wallet are the required steps.

59
Multi-Selecthard

Which THREE components are involved in TDE master key management?

Select 3 answers
A.User profile
B.Oracle Wallet
C.Database Instance
D.Master Encryption Key
E.Audit policy
AnswersB, C, D

Stores the master key.

Why this answer

The keystore, the master key, and the database instance itself are the components.

60
Multi-Selecteasy

Which TWO are common audit types in Oracle?

Select 2 answers
A.Tablespace Auditing
B.Instance Auditing
C.Unified Auditing
D.Standard Auditing
E.Flashback Auditing
AnswersC, D

The current, recommended audit method.

Why this answer

Standard and Unified auditing are the two primary types.

Ready to test yourself?

Try a timed practice session using only Security And Upgrades questions.