Oracle 1z0-146 Exam Practice Questions (P. 1)
- Full Access (117 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
Which two statements are true about the inlining of PL/SQL subprograms? (Choose two.)
- AOnly local subroutines can be inlinedMost Voted
- BInlining always reduces the execution time of a PL/SQL program unit
- CPLSQL_OPTIMIZE_LEVEL must be set to a value greater than or equal to 2Most Voted
- DThe PL/SQL programs that make use of relatively large helper subroutines are good candidates for inlining
Correct Answer:
AC
AC
send
light_mode
delete
Question #2
Which three statements are true about hierarchical profiling? (Choose three.)
- AIt reduces function-level summaries
- BIt produces an aggregated report of the SQL and PL/SQL execution times
- CIt is useful for understanding the structure and control flow of complex programs
- DIt can be used to identify hotspots and tuning opportunities in PL/SQL applications
Correct Answer:
ACD
ACD
send
light_mode
delete
Question #3
Which three actions can be performed by using the DBMS_ASSERT package to prevent SQL injection? (Choose three.)
- ADetect a wrong user
- BCheck input string length
- CVerify qualified SQL names
- DValidate TNS connect strings
- EVerify an existing schema name
- FEnclose string literals within double quotations marks
Correct Answer:
CEF
CEF
send
light_mode
delete
Question #4
Identify the method that is used by fine-grained access(FGA).
- AUsing policy functions to generate predicates dynamically
- BCreating triggers on corresponding tables to generate dynamic predicates
- CModifying the existing application code to include a predicate for all SQL statements
- DCreating views with necessary predicates and then creating synonyms with the same name as the tables
Correct Answer:
A
A
send
light_mode
delete
Question #5
See the Exhibit and examine the PL/SQL code for the following table:

Which statement is true about the compilation and execution of the function?

Which statement is true about the compilation and execution of the function?
- AThe function retrieves the metadata in Extensible Markup Language (XML) format for creating the TIMECARDS table in the HR schema
- BThe compilation produces an error because DBMS_METADATA.SET_FILTER(h,'SCHEMA','HR') is not placed in the correct order
- CThe function retrieves the metadata as a data definition language (DDL) statement for creating the TIMECARDS table in the HR schema
- DThe execution of the function produces an error because multiple objects are fetched and DBMS_METADATA.FETCH_CLOB is not called in a LOOP
Correct Answer:
C
C
send
light_mode
delete
All Pages