CertsPoint
See all results for ""
Exams About Us
Sign In Get Started
Exam Overview
Exam Code 1z0-071
Exam Name Oracle Database 12c SQL Exam
Vendor Oracle
Total Questions 380
Last Updated 26-Oct, 2026
Why CertsPoint?
  • Latest & Verified Questions
  • Detailed Explanations
  • Regular Updates
  • Full-Length Practice Tests
  • Boost Your Exam Confidence

PDF Study Materials

Downloadable guides and resources

Practice Tests

Full-length tests with real exam experience

Progress Tracking

Monitor your performance and improvement

Study Anywhere

Access on desktop, tablet, and mobile

Excellent
4.6 (398 Up Votes)
Secure Payment Privacy Protected Money Back Guarantee

Free 1z0-071 Practice Questions

Explore 5 free practice questions for the Oracle 1z0-071 exam and review the answers and explanations to support your preparation.

  1. Question 1

    Drag & Drop

    Which three statements are true about time zones, date data types, and timestamp data types in an Oracle database?

    A.

    The DBTIMEZONE function can return an offset from Universal Coordinated Time (UTC)

    B.

    A TIMESTAMP WITH LOCAL TIMEZONE data type column is stored in the database using the time zone of the session that inserted the row

    C.

    A TIMESTAMP data type column contains information about year, month, and day

    D.

    The SESSIONTIMEZONE function can return an offset from Universal Coordinated Time (UTC)

    E.

    The CURRENT_TIMESTAMP function returns data without time zone information

    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer

    A,B,D

    Explanation

    A: True . The DBTIMEZONE function returns the database ' s time zone offset from UTC (Coordinated Universal Time). In Oracle 12c, DBTIMEZONE can return the time zone of the database in terms of a region name or as a numeric offset from UTC. This is stated in the Oracle documentation for managing time zones.

    B: True . TIMESTAMP WITH LOCAL TIME ZONE is a data type that adjusts the data stored in the database to the time zone of the session that is querying or inserting the data. When data is stored, Oracle converts it from the session time zone to UTC, and upon retrieval, it converts it back to the session time zone. This is a feature designed to allow the same data to be viewed in different time zones automatically, making it highly useful in global applications.

    D: True . SESSIONTIMEZONE function returns the time zone offset of the current session from UTC. This is useful for understanding and managing data conversions in applications that are used across different time zones. The time zone can be displayed as an offset from UTC or as a named region depending on the environment settings.

  2. Question 2

    Drag & Drop

    In the PROMOTIONS table, the PROMO_BEGTN_DATE column is of data type DATE and the default date format is DD-MON-RR.

    Which two statements are true about expressions using PROMO_BEGIN_DATE contained in a query?

    A.

    TO_NUMBER(PROMO_BEGIN_DATE)-5 will return number

    B.

    TO_DATE(PROMO_BEGIN_DATE * 5) will return a date

    C.

    PROMO_BEGIN_DATE-SYSDATE will return a number.

    D.

    PROMO_BEGIN_DATE-5 will return a date.

    E.

    PROMO_BEGIN_DATE-SYSDATE will return an error.

    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer

    C,D

    Explanation

    A. This statement is incorrect because TO_NUMBER expects a character string as an argument, not a date. Directly converting a date to a number without an intermediate conversion to a character string would result in an error. B. This statement is incorrect. Multiplying a date by a number does not make sense in SQL, and attempting to convert such an expression to a date will also result in an error. C. This statement is correct. Subtracting two dates in Oracle SQL results in the number of days between those dates, hence the result is a number. D. This statement is correct. Subtracting a number from a date in Oracle SQL will subtract that num ber of days from the date, returning another date. E. This statement is incorrect. As stated in C, subtracting a date from SYSDATE correctly returns the number of days between those two dates, not an error.

    These concepts are explained in the Oracle Database SQL Language Reference, which details date arithmetic in SQL.

  3. Question 3

    Drag & Drop

    Which two statements are true about date/time functions in a session where NLS_DATE_PORMAT is set to DD-MON-YYYY SH24:MI:SS

    A.

    SYSDATE can be used in expressions only if the default date format is DD-MON-RR.

    B.

    CURRENT_TIMESTAMP returns the same date as CURRENT_DATE.

    C.

    CURRENT_DATE returns the current date and time as per the session time zone

    D.

    SYSDATE and CURRENT_DATE return the current date and time set for the operating system of the database server.

    E.

    CURRENT_TIMESTAMP returns the same date and time as SYSDATE with additional details of functional seconds.

    F.

    SYSDATE can be queried only from the DUAL table.

    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer

    C,D

    Explanation

    In Oracle Database 12c SQL, regarding date/time functions and considering a session where NLS_DATE_FORMAT is set to DD-MON-YYYY SH24:MI:SS:

      C. CURRENT_DATE returns the current date and time as per the session time zone. This is correct as CURRENT_DATE returns the current date and time in the time zone of the current SQL session, as set by the ALTER SESSION command.

      D. SYSDATE and CURRENT_DATE return the current date and time set for the operating system of the database server. This is partially correct. SYSDATE returns the current date and time from the operating system of the database server. However, CURRENT_DATE returns the date and time set for the client ' s operating system environment, adjusted to the session time zone.

    Options A, B, E, and F are incorrect based on Oracle ' s documentation:

      A is incorrect because SYSDATE is independent of the NLS_DATE_FORMAT setting.

      B is incorrect because CURRENT_TIMESTAMP includes time zone information, which can differ from CURRENT_DATE .

      E is incorrect because CURRENT_TIMESTAMP differs from SYSDATE by including fractional seconds and time zone.

      F is incorrect as SYSDATE can be queried in any SELECT statement, not just from DUAL.

    [Reference: Oracle Database SQL Language Reference, 12c Release 1 (12.1), , ]
  4. Question 4

    Drag & Drop

    Which three are true about system and object privileges

    A.

    WITH GRANT OPTION can be used when granting an object privilege to both users and roles

    B.

    WITH GRANT OPTION cannot be used when granting an object privilege to PUBLIC

    C.

    Revoking a system privilege that was granted with the WITH ADMIN OPTION has a cascading effect.

    D.

    Revoking an object privilege that was granted with the WITH GRANT OPTION clause has a cascading effect

    E.

    Adding a primary key constraint to an existing table in another schema requires a system privilege

    F.

    Adding a foreign key constraint pointing to a table in another schema requires the REFERENCEs object privilege

    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer

    A,D,F

    Explanation

    A: True . The WITH GRANT OPTION allows the grantee to grant the object privileges they received to another user or role. This can be used for both system and object privileges, thereby extending the privilege chain.

    D: True . When an object privilege granted with the WITH GRANT OPTION is revoked, it also revokes the privileges that the grantee had re-granted to others. This is referred to as a cascading effect, which can impact multiple users and roles depending on the extent of re-granting.

    F: True . To add a foreign key constraint that references a table in another schema, the user must have the REFERENCES object privilege on the target table in the other schema. This privilege is specific and necessary for the integrity constraints involving foreign keys.

  5. Question 5

    Single answer

    You execute this query:

    SELECT TO CHAR (NEXT_DAY(LAST_DAY(SYSDATE),’MON’ ),’ dd“Monday for” fmMonth rrr’) FROM DUAL;

    What is the result?

    • Option A:

      It executes successfully but does not return any result.

      Correct
    • Option B:

      It returns the date for the first Monday of the next month.

      Correct
    • Option C:

      It generates an error.

      Correct
    • Option D:

      It returns the date for the last Monday of the current month.

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: B

    Explanation

    The query uses TO_CHAR and NEXT_DAY functions to format and determine dates:

      B. It returns the date for the first Monday of the next month: The function NEXT_DAY(LAST_DAY(SYSDATE), ' MON ' ) finds the next Monday after the last day of the current month, effectively giving the first Monday of the next month. The TO_CHAR formatting is used to return this in a readable format.