Oracle Database 12c Installation and Administration

Here you have the best Oracle 1z0-062 practice exam questions

  • You have 282 total questions to study from
  • Each page has 5 questions, making a total of 57 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on October 29, 2024
Question 1 of 282

Examine the parameters for your database instance:

You execute the following command:

SQL> ALTER TABLESPACE undotbs1 RETENTION NOGUARANTEE;

Which statement is true in this scenario?

    Correct Answer: D

    When the UNDO_RETENTION parameter is set to 1200 seconds, the database attempts to retain inactive undo data for 1200 seconds. However, if the UNDO_TABLESPACE is configured with RETENTION NOGUARANTEE, there is no assurance that the inactive undo data will be retained for the entire 1200 seconds if space is needed for new transactions. This means that while the database will try to retain the undo data for the specified period, it may overwrite the undo data before 1200 seconds have elapsed if this space is required for active transactions.

Question 2 of 282

A user establishes a connection to a database instance by using an Oracle Net connection. You want to ensure the following:

1. The user account must be locked after five unsuccessful login attempts.

2. Data read per session must be limited for the user.

3. The user cannot have more than three simultaneous sessions.

4. The user must have a maximum of 10 minutes session idle time before being logged off automatically.

How would you accomplish this?

    Correct Answer: D

    To address the requirements mentioned, Oracle user profiles are the appropriate tool. Profiles allow for the implementation of password management policies, such as locking an account after a number of failed login attempts. They also enable the restriction of resources such as limiting the amount of data read per session, limiting the number of simultaneous sessions, and enforcing session idle time limits. Hence, assigning a profile to the user accomplishes all the specified objectives.

Question 3 of 282

As a user of the ORCL database, you establish a database link to the remote HQ database such that all users in the ORCL database may access tables only from the SCOTT schema in the HQ database. SCOTT’s password is TIGER. The service mane "HQ" is used to connect to the remote HQ database.

Which command would you execute to create the database link?

    Correct Answer: C

    To ensure that all users in the ORCL database can access tables in the SCOTT schema of the HQ database, a public database link needs to be created. The option that correctly uses the public database link keyword, specifies the SCOTT user, the TIGER password, and the HQ service name is: CREATE PUBLIC DATABASE LINK HQ CONNECT TO scott IDENTIFIED BY tiger USING 'HQ'.

Question 4 of 282

What happens if a maintenance window closes before a job that collects optimizer statistics completes?

    Correct Answer: D

    The stop_on_window_close attribute is set to TRUE by default, which means that when the maintenance window closes, any running jobs, including the one that collects optimizer statistics, are terminated. The statistics for any remaining objects will be collected during the next maintenance window. This ensures that resources are properly managed and system performance is not adversely affected by jobs running outside of their designated maintenance window.

Question 5 of 282

You plan to create a database by using the Database Configuration Assistant (DBCA), with the following specifications:

Applications will connect to the database via a middle tier.

The number of concurrent user connections will be high.

The database will have mixed workload, with the execution of complex BI queries scheduled at night.

Which DBCA option must you choose to create the database?

    Correct Answer: C

    Given that the applications will connect to the database via a middle tier and the number of concurrent user connections will be high, it is essential to optimize memory and resource management. Additionally, since the database will handle a mixed workload that includes complex BI queries at night, utilizing a General Purpose database template with shared server mode and enabling Automatic Memory Management (AMM) is the best option. This setup will allow for efficient handling of multiple connections and dynamic allocation of memory resources, making it suitable for both transactional and analytical workloads.