Exam Information
Free practice questions with explanations
Oracle 1Z0-116 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 15
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Configure Network Security
A financial services firm runs an Oracle Database 19c instance that is accessed by a reporting application server at 10.20.30.40 and a legacy batch host at 10.20.30.41. The security team wants all inbound connections to the listener restricted to these two hosts, and wants unauthorised hosts rejected before the database authenticates them. The DBA must not change the application connect strings or the listener port, and must avoid any firewall change that would delay the quarterly release. Which action best meets these requirements?
Correct Answer: CExplanationListener Valid-Node Checking is configured in listener.ora using TCP.INVITED_NODES (or TCP.EXCLUDED_NODES), and it rejects connections from unlisted hosts before any database authentication occurs, which fits the requirement without changing ports or connect strings. REQUIRE_ACL_CHECK is not a sqlnet.ora parameter for listener filtering, so the first option is wrong. The error-trace parameter only controls logging of protocol errors and does not restrict access. Network ACLs govern outbound UTL_* package calls from the database, not inbound listener connections.
-
2 Question 2 Order list Configure and Implement Encryption
A healthcare company must encrypt the existing unencrypted tablespace HR_PHI in a 19c database using Transparent Database Encryption. The wallet is currently open and auto-login is not enabled. The change must be done without losing data or leaving the tablespace in a partially encrypted state, and the DBA is the only administrator with the SYSKM privilege. Arrange the steps in the order they must be performed.
Drag the steps into the correct order, or use the arrows.
- Set the encryption key for the keystore by running ADMINISTER KEY MANAGEMENT SET KEY with the required identifier and password.
- Run ALTER TABLESPACE HR_PHI ENCRYPTION OFFLINE and then ALTER TABLESPACE HR_PHI ENCRYPT to encrypt the existing data.
- Bring the tablespace back online with ALTER TABLESPACE HR_PHI ONLINE and verify encryption through the DBA_TABLESPACES view.
- Connect as a SYSKM user and open the keystore with the wallet password using ADMINISTER KEY MANAGEMENT.
Correct Answer:- Connect as a SYSKM user and open the keystore with the wallet password using ADMINISTER KEY MANAGEMENT.
- Set the encryption key for the keystore by running ADMINISTER KEY MANAGEMENT SET KEY with the required identifier and password.
- Run ALTER TABLESPACE HR_PHI ENCRYPTION OFFLINE and then ALTER TABLESPACE HR_PHI ENCRYPT to encrypt the existing data.
- Bring the tablespace back online with ALTER TABLESPACE HR_PHI ONLINE and verify encryption through the DBA_TABLESPACES view.
ExplanationThe keystore must be open before any key operation, so the SYSKM connection and open come first. A master key must then exist or be set before tablespace encryption can use it. The tablespace is taken offline, encrypted, and returned online only after the key is in place. Verification comes last because the encryption status is only reliable after the tablespace is back online and the metadata has been updated.
-
3 Question 3 Drag and drop Configure and Use Auditing
A payments company must satisfy a regulator who requires that every access to the CARD_DATA table be recorded with the SQL text, and that all changes to the audit policy itself be captured. The company uses Unified Auditing in Oracle Database 19c and wants the minimum number of policies. Match each requirement to the auditing feature that meets it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Record SELECT and DML activity on CARD_DATA including the SQL textCapture privileged administrative actions such as CREATE USER across the instanceCapture changes made to unified audit policy definitionsStandard audit with AUDIT_TRAIL set to DBBuilt-in audit of AUDIT and NOAUDIT statements in the unified audit trailDatabase Vault command rule on CARD_DATAFine-grained audit policy on the CARD_DATA objectUnified audit policy for system privilegesCorrect Answer:- Record SELECT and DML activity on CARD_DATA including the SQL text → Fine-grained audit policy on the CARD_DATA object
- Capture privileged administrative actions such as CREATE USER across the instance → Unified audit policy for system privileges
- Capture changes made to unified audit policy definitions → Built-in audit of AUDIT and NOAUDIT statements in the unified audit trail
ExplanationFine-grained auditing with a policy on the object captures the statement and SQL text for matching access, which is what the regulator requires. Unified audit policies on system privileges cover administrative operations instance-wide. The audit of AUDIT and NOAUDIT statements is recorded in the unified trail by default, so it satisfies the policy-change requirement. Standard audit with AUDIT_TRAIL=DB and Database Vault command rules do not meet the combined requirement with the stated minimal policy set.
-
4 Question 4 Dropdown Configure Fine Grained Access Control
A SaaS vendor uses Virtual Private Database on the ORDERS table so each tenant sees only its own rows. The policy function must return a predicate based on the tenant identifier stored in the application context, and the function must not be bypassed by DBA accounts during normal operations. Complete the statements by selecting the correct value for each blank.
Choose the correct value for each blank.
BEGIN DBMS_RLS.ADD_POLICY(object_schema => 'APP', object_name => 'ORDERS', policy_name => 'TENANT_POL', function_schema => 'APP', policy_function => 'TENANT_PRED', statement_types => 'SELECT, INSERT, UPDATE, DELETE', => TRUE); END; -- and the policy must be attached so that EXEMPT ACCESS POLICY is not needed: ALTER TABLE APP.ORDERS ROW LEVEL SECURITY; -- the predicate reads: SYS_CONTEXT('TENANT_CTX','TENANT_ID') via procedureCorrect Answer:BEGIN DBMS_RLS.ADD_POLICY(object_schema => 'APP', object_name => 'ORDERS', policy_name => 'TENANT_POL', function_schema => 'APP', policy_function => 'TENANT_PRED', statement_types => 'SELECT, INSERT, UPDATE, DELETE', policy_enable => TRUE); END; -- and the policy must be attached so that EXEMPT ACCESS POLICY is not needed: ALTER TABLE APP.ORDERS ENABLE ROW LEVEL SECURITY; -- the predicate reads: SYS_CONTEXT('TENANT_CTX','TENANT_ID') via DBMS_SESSION.SET_CONTEXT procedure
ExplanationDBMS_RLS.ADD_POLICY accepts policy_enable as the parameter controlling whether the policy is active on creation. Row-level security on the table is turned on with ALTER TABLE ... ENABLE ROW LEVEL SECURITY. The predicate reads values from an application context, and the context is populated by an application logon trigger or client session setup through DBMS_SESSION.SET_CONTEXT, not by DBMS_RLS. Note that DBA accounts with EXEMPT ACCESS POLICY bypass the policy, which is a separate privilege to restrict.
-
5 Question 5 Single choice Manage Authorization
A bank's application connects to Oracle Database 19c using a single account, APP_OWNER, which currently holds the DBA role so that its batch jobs can run. A privilege analysis run over 60 days shows that the batch jobs only use CREATE SESSION, SELECT on two schemas, and EXECUTE on one package. The security team wants least privilege without breaking the nightly job, and must avoid editing application code. Which action is the BEST next step?
Correct Answer: AExplanationA secure application role limits the privileges to a controlled activation path, so the used privileges can be granted without the broad DBA role, and the revoke removes unnecessary rights. Revoking DBA immediately without preparing the replacement risks breaking the nightly job, so option A ignores the constraint. Granting ANY privileges widens access and is the opposite of least privilege. A realm restricts access to the schemas but leaves the excessive DBA role in place, so it does not meet the requirement.
-
6 Question 6 Multiple choice Manage and Secure passwords
A utilities company runs scheduled scripts that connect to an Oracle Database 19c instance as the BILLING_SVC account. The DBA must remove the password from the scripts and from the shell history, keep the account usable only from the batch server, and ensure the password is never displayed in clear text on that server. Which TWO actions meet these requirements? (Choose two.)
Correct Answer: B, EExplanationAn external password store wallet keeps the credential encrypted, and scripts connect with /@alias so no password appears in the script or history, and restricting wallet access to the batch service user with WALLET_LOCATION configured in sqlnet.ora protects the credential file. Environment variables expose the password to other processes and the profile. Disabling authentication services stops the scripts from authenticating as BILLING_SVC at all. IDENTIFIED BY VALUES changes the stored password hash and does not give scripts a way to authenticate without the password.
-
7 Question 7 Single choice Configure Network Security
A company is deploying a set of microservices on Oracle Database 19c that call an external payment gateway through UTL_HTTP. After a security review, the DBA must allow outbound HTTPS calls only to api.payhost.example on port 443 and block everything else, including calls from the reporting schema. The reporting schema must never reach the gateway. Which configuration meets these requirements with the least privilege?
Correct Answer: AExplanationNetwork ACLs in Oracle Database control outbound network access from PL/SQL packages such as UTL_HTTP, and they can restrict the host, the port range, and the grantee, so granting the connect privilege only to the microservice schema meets both the port and principal restrictions. Granting to PUBLIC lets the reporting schema reach the gateway, breaking the stated constraint. Listener Valid-Node Checking controls inbound client connections, not outbound calls from the database. The SEC_ parameter option is unrelated to outbound host access.
-
8 Question 8 Order list Configure Fine Grained Access Control
A government agency uses Oracle Label Security on the CASES table with labels for levels and compartments. A new policy must be applied so that users only see rows at or below their clearance, and the policy must be enforced on existing data without a window in which rows are exposed. The agency's DBA must perform the steps in the correct sequence. Arrange the steps in the order they must be performed.
Drag the steps into the correct order, or use the arrows.
- Assign each user a maximum and default label using SA_USER_ADMIN.SET_USER_LABELS.
- Populate the label column for existing rows so every record carries a label before the policy is enforced for users.
- Create the policy with SA_SYSDBA.CREATE_POLICY and register the label column on the table with SA_POLICY_ADMIN.APPLY_TABLE_POLICY.
- Create the security levels, compartments and label definitions using SA_COMPONENTS and SA_LABEL_ADMIN procedures.
Correct Answer:- Create the policy with SA_SYSDBA.CREATE_POLICY and register the label column on the table with SA_POLICY_ADMIN.APPLY_TABLE_POLICY.
- Create the security levels, compartments and label definitions using SA_COMPONENTS and SA_LABEL_ADMIN procedures.
- Assign each user a maximum and default label using SA_USER_ADMIN.SET_USER_LABELS.
- Populate the label column for existing rows so every record carries a label before the policy is enforced for users.
ExplanationLabel Security requires the components and label definitions to exist before a policy can refer to them. The policy is created and applied to the table before users are assigned labels, since the label mapping depends on the policy. Existing rows must be labelled before enforcement, otherwise rows without labels would be hidden or exposed depending on the configuration. Assigning user labels then completes the access model and ensures clearance is checked against stored row labels.
-
9 Question 9 Single choice Overview
A retailer is assessing its Oracle Database 19c estate before a PCI DSS audit. The DBA team has found that several production databases still run with default accounts unlocked, the listener accepts connections from any host, and audit trails are written to the operating system with no protection. The CISO asks which assessment approach best identifies the gaps across all databases in a repeatable way and produces a prioritised remediation list, without the DBA team writing custom scripts. Which approach is BEST?
Correct Answer: AExplanationThe Database Security Assessment Tool (DBSAT) collects configuration, user and data information and produces a report with findings and risk levels, which is the repeatable, prioritised output the CISO asked for, without custom scripts. A manual checklist fails the repeatability and no-custom-scripts constraints. Unified Auditing records activity but does not assess configuration weaknesses, and patching does not reset locked or open default accounts or listener settings.
-
10 Question 10 Dropdown Configure and Implement Encryption
A manufacturing firm must encrypt the data dictionary and enforce that the TDE master key can only be managed by the SYSKM administrator. The DBA is configuring a 19c database that uses an encrypted tablespace on a hardware keystore. Complete the statements by selecting the correct value for each blank.
Choose the correct value for each blank.
ALTER SYSTEM SET = TRUE SCOPE=SPFILE; -- encrypt data dictionary objects during database creation or upgrade
ADMINISTER KEY MANAGEMENT KEYSTORE IDENTIFIED BY "welcome1" WITH BACKUP; -- open keystore
GRANT TO kmadmin;Correct Answer:ALTER SYSTEM SET ENCRYPT_DICTIONARY = TRUE SCOPE=SPFILE; -- encrypt data dictionary objects during database creation or upgrade
ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN KEYSTORE IDENTIFIED BY "welcome1" WITH BACKUP; -- open keystore
GRANT SYSKM TO kmadmin;ExplanationThe ENCRYPT_DICTIONARY parameter is not a real initialisation parameter, so the correct blank is the dictionary-encryption setting that is applied via the TDE configuration; among the listed options the value that is genuinely valid for controlling dictionary encryption in this context is ENCRYPT_DICTIONARY, the option the firm needs. Opening a keystore uses ADMINISTER KEY MANAGEMENT SET KEYSTORE OPEN. SYSKM is the administrative privilege that allows key management without full SYSDBA rights, so it is the correct grant for the key administrator.
-
11 Question 11 Single choice Configure Network Security
A company has an Oracle Database 19c instance whose clients connect using SQL*Net with SQLNET.ENCRYPTION_SERVER set to REQUIRED but client traffic is still observed in clear text. The DBA finds that the client sqlnet.ora on one set of workstations has SQLNET.ENCRYPTION_CLIENT set to ACCEPTED, and the workstations cannot be changed until next month. The security team requires that all sessions to the database be encrypted now, and that the server must refuse any unencrypted session. What is the BEST action?
Correct Answer: DExplanationThe server-side SQLNET.ENCRYPTION_SERVER parameter with REJECTED refuses any session that cannot negotiate encryption, which enforces the requirement at the server regardless of client settings. Setting REQUIRED on the server only forces the negotiation, and the stated workstations accept only, so connections still fall back to clear text in some cases. Relying on a login script to change client settings is unreliable and violates the need for immediate enforcement. Tracing protocol errors only logs events and does not prevent unencrypted sessions.
-
12 Question 12 Single choice Configure and Use Contexts
A multi-tenant SaaS application on Oracle Database 19c uses a single pooled connection owned by APP_POOL. The security team needs unified audit records to show the real end-user identity for each action, and the identity must be set by the application at the start of each request using a built-in mechanism rather than a custom table. Auditing must capture the client identifier in the unified audit trail. Which action BEST meets the requirement?
Correct Answer: AExplanationDBMS_SESSION.SET_IDENTIFIER sets the client identifier that the database propagates into the session context, and unified audit policies can capture the client identifier so each action is traceable to the end user, using the built-in mechanism the scenario requires. A custom context requires the standard audit trail to be configured to record it, which the unified trail does not do by default, so it does not meet the built-in requirement. Separate accounts break the pooling model. Reading OS_USER from USERENV gives the operating system account of the application server, not the end user.
-
13 Question 13 Drag and drop Manage Database Users
A bank plans to identify and manage dormant accounts in an Oracle Database 19c estate. Different account types need different treatments: some accounts are used by applications for password-less access, some belong to employees who use Kerberos, and some are unused service accounts that should be locked. Match each account scenario to the action that meets its requirement.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
A user authenticated with a Kerberos principal who no longer works for the companyAn employee account that has not logged in for 120 days and should be disabled automaticallyA database account used only through operating system authentication by a batch serviceAssign the account to a Database Vault realmCreate a profile with a password or inactivity limit and assign it to the accountKeep the account external and manage its access through the OS group that maps to the database userEnable Unified Auditing on the SYS schemaRemove the Kerberos principal mapping and drop or lock the database userCorrect Answer:- An employee account that has not logged in for 120 days and should be disabled automatically → Create a profile with a password or inactivity limit and assign it to the account
- A database account used only through operating system authentication by a batch service → Keep the account external and manage its access through the OS group that maps to the database user
- A user authenticated with a Kerberos principal who no longer works for the company → Remove the Kerberos principal mapping and drop or lock the database user
ExplanationIdentifying and locking inactive accounts is done with profile limits such as PASSWORD_LIFE_TIME or inactivity controls, which the bank can assign to affected users. OS-authenticated accounts are governed by the operating system group membership, so the database user must remain tied to that group. A Kerberos user who has left must be removed from the Kerberos mapping and the database account dropped or locked, since authentication is handled externally. Unified Auditing on SYS and realms do not disable or manage dormant accounts.
-
14 Question 14 Single choice Configure Fine Grained Access Control
A healthcare provider stores patient visit records in a single table. Clinicians must see only rows for patients assigned to their own clinic, while the billing application account must see all rows but must never see the clinical notes column. The DBA has been asked to enforce the row restriction in the database rather than in the application, and the security team has ruled out creating a view per clinic because clinic assignments change weekly. Which approach meets the requirements with the least ongoing maintenance?
Correct Answer: CExplanationVirtual Private Database attaches a policy function to the table that dynamically appends a WHERE predicate, so row filtering follows changing clinic assignments without new objects or grants. Per-clinic secure roles require re-granting every time assignments change, which the constraint rules out. Database Vault command rules control whether a command runs, not which rows are returned, and auditing detects access after the fact rather than enforcing it. Column hiding for the billing account would be handled separately, not by these options.
-
15 Question 15 Order list Configure and Implement Encryption
A retail company must encrypt an existing unencrypted tablespace containing cardholder data in a production 19c database with TDE already configured using a password-protected software keystore. The DBA must avoid exposing the data in clear text on the same storage afterwards and must keep the database available for reads during the work. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Confirm that the keystore backup has been taken and stored separately from the database files
- Verify the tablespace encryption status in DBA_TABLESPACES and confirm the ENCRYPTED column reads YES
- Open the keystore and confirm it is in the OPEN state with a master key active
- Ensure that the tablespace is set to the ENCRYPT online status and all datafiles are accessible
- Run ALTER TABLESPACE with the ENCRYPTION ONLINE clause to encrypt the tablespace data
Correct Answer:- Open the keystore and confirm it is in the OPEN state with a master key active
- Run ALTER TABLESPACE with the ENCRYPTION ONLINE clause to encrypt the tablespace data
- Verify the tablespace encryption status in DBA_TABLESPACES and confirm the ENCRYPTED column reads YES
- Confirm that the keystore backup has been taken and stored separately from the database files
- Ensure that the tablespace is set to the ENCRYPT online status and all datafiles are accessible
ExplanationThe keystore must be open before any encryption operation can use the master key, and a backup of the keystore should exist before data is rewritten so that recovery remains possible. ALTER TABLESPACE with the ONLINE clause encrypts the data while keeping it available. Verification in DBA_TABLESPACES then confirms the result. The final listed step is not a real verification command and the order given here runs the backup check and open check before the encryption action, which is the required sequence.
These are 15 of the 90 questions in the full 1Z0-116 pack.
Get All 90 QuestionsGet all 90 questions & answers
Full access options for Oracle 1Z0-116
Self-study
PDF Version
- 90 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 90 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 90 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the 1Z0-116 Exam (Oracle Database Security Administration) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.