Courseiva
Performance Tuning And DiagnosticseasyMultiple ChoiceObjective-mapped

OCP Performance Tuning And Diagnostics Practice Question

An administrator has been tasked with reducing the overhead of AWR snapshot collection. What is the most effective way to modify the snapshot interval?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use the DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS procedure.

The DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS procedure is the official method to adjust snapshot frequency and retention policies.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Edit the SPFILE to change the statistics_level to 'BASIC'.

    Why it's wrong here

    Setting statistics_level to BASIC disables AWR entirely, which is not the same as modifying the interval.

  • Use the DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS procedure.

    Why this is correct

    This is the correct administrative interface for AWR configuration.

  • Update the SGA_TARGET parameter.

    Why it's wrong here

    SGA_TARGET manages memory allocation, not diagnostic repository intervals.

  • Manually delete old records from the DBA_HIST_SNAPSHOT view.

    Why it's wrong here

    Modifying AWR tables directly is unsupported and dangerous; use provided PL/SQL packages.

About these practice questions

This OCP question is part of Courseiva's 312-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Oracle exam blueprint

This OCP practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the OCP exam.