Oracle 1z0-148 Exam Practice Questions (P. 1)
- Full Access (75 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
The STUDENTS table exists in your schema.
Examine the DECLARE section of a PL/SQL block:

Which two blocks are valid?
Examine the DECLARE section of a PL/SQL block:

Which two blocks are valid?
- ABEGIN OPEN cursor3 FOR SELECT * FROM students; cursor1 :=cursor3; END;Most Voted
- BBEGIN OPEN stcur; cursor1 :=stcur; END;
- CBEGIN OPEN cursor1 FOR SELECT * FROM students; stcur :=cursor1; END;
- DBEGIN OPEN stcur; cursor3 :=stcur; END;
- EBEGIN OPEN cursor1 FOR SELECT * FROM students; cursor2 :=cursor1;Most Voted
Correct Answer:
DE
DE
send
light_mode
delete
Question #2
Examine the code:

Which two subprograms will be created successfully?

Which two subprograms will be created successfully?
- ACREATE FUNCTION p4 (y pkg.tab_typ) RETURN pkg.tab_typ IS BEGIN EXECUTE IMMEDIATE SELECT pdt_id, pdt_name FROM TABLE (:b) BULT COLLECT INTO pkg.x USING y; RETURN pkg.x; END p4;Most Voted
- BCREATE PROCEDURE p1 (y IN OUT pkg.tab_typ) IS BEGIN EXECUTE IMMEDIATE SELECT f (:b) FROM DUAL INTO y USING pkg.x; END p1;
- CCREATE PROCEDURE p2 (v IN OUT VARCHAR2) IS BEGIN EXECUTE IMMEDIATE SELECT f (:b) FROM DUAL INTO v USING pkg.x; END p2;Most Voted
- DCREATE FUNCTION p3 RETURN pkg. tab_typ IS BEGIN EXECUTE IMMEDIATE SELECT f (:b) FROM DUAL INTO pkg.x; END p3;
- ECREATE PROCEDURE p5 (y pkg. rec_typ) IS BEGIN EXECUTE IMMEDIATE SELECT pdt_name FROM TABLE (:b) BULK COLLECT INTO y USING pkg.x;
Correct Answer:
AC
AC
send
light_mode
delete
Question #3
Examine the section of code taken from a PL/SQL program:

PLSQL_OPTIMIZE_LEVEL PARAMETER is set to 3.
Which two statements are true?

PLSQL_OPTIMIZE_LEVEL PARAMETER is set to 3.
Which two statements are true?
- ACalls to TESTPROC will always be inlined as it is compiled with PLSQL_OPTIMIZE_LEVEL=3.
- BCalls to TESTPROC are never inlined in both lines commented as Call1 and Call 2.
- CCalls to TESTPROC are not inlined in the line commented as Call 1.Most Voted
- DCalls to TESTPROC are inlined in both lines commented as Call 1 and Call 2.
- ECalls to TESTPROC might be inlined in the line commented as Call 2.Most Voted
Correct Answer:
AE
Reference:
https://docs.oracle.com/cd/E18283_01/appdev.112/e17126/tuning.htm
AE
Reference:
https://docs.oracle.com/cd/E18283_01/appdev.112/e17126/tuning.htm
send
light_mode
delete
Question #4
Which statement is true about the DBMS_PARALLEL_EXECUTE package?
- ADBMS_PARALLEL_EXECUTE is a SYS-owned package and can be accessed only by a user with DBA privileges.
- BTo execute chunks in parallel, users must have CREATE JOB system privilege.Most Voted
- CNo specific system privileges are required to create or run parallel execution tasks.
- DOnly DBAs can create or run parallel execution tasks.
- EUsers with CREATE TASK privilege can create or run parallel execution tasks.
Correct Answer:
B
Reference -
https://docs.oracle.com/cd/E11882_01/appdev.112/e40758/d_parallel_ex.htm#ARPLS67331
(security model)
B
Reference -
https://docs.oracle.com/cd/E11882_01/appdev.112/e40758/d_parallel_ex.htm#ARPLS67331
(security model)
send
light_mode
delete
Question #5
Which two statements are true regarding edition-based redefinition (EBR)?
- AThere is no default edition defined in the database.
- BEBR does not let you upgrade the database components of an application while in use.
- CYou never use EBR to copy the database objects and redefine the copied objects in isolation.
- DEditions are non-schema objects.Most Voted
- EWhen you change an editioned object, all of its dependents remain valid.
- FTables are not editionable objects.Most Voted
Correct Answer:
EF
Reference:
https://docs.oracle.com/cd/E11882_01/appdev.112/e41502/adfns_editions.htm#BABEHGAF
EF
Reference:
https://docs.oracle.com/cd/E11882_01/appdev.112/e41502/adfns_editions.htm#BABEHGAF
send
light_mode
delete
All Pages