1Z0-1067-25 practice question 8 of 15

You have created several block volumes in the us-phoenix-1 region in a specific compart-ment. The compartment can be identified by the following…

Full set: 93 questions
You have created several block volumes in the us-phoenix-1 region in a specific compart-ment. The compartment can be identified by the following Oracle Cloud Infrastructure (OCI) unique identifier, or ocid1.compartment.oc1.phx..exampleuniquelD Your manager has asked you to leverage the OCI monitoring service and write a metric query showing all read IOPS at a one-minute interval, filtered to this compartment and aggregated for the maximum. Which metric query will you create?
Answer options
A: IopsRead[lm]{compartmentId = 'odd1.compartment.ocl.phx..exampleuniquelD'}.grouping().mean()
B: IopsRead[lm]{compartmentId='ocldl.compartment.ocl.phx..exampleuniquelD'}.max()
C: Iop-sWrite[lm]{compartmentId=Hocidl.compartment.ocl.phx..exampleuniquelD'}.mean()
D: Iop-sRead[lm{compartmentId='ocidl.compartment.ocl.phx..exampleuniquelD'}.grouplng().max() Correct answer
Correct Answer:
D. Iop-sRead[lm{compartmentId='ocidl.compartment.ocl.phx..exampleuniquelD'}.grouplng().max()
Explanation

The question requires a Monitoring Query Language (MQL) query to show the maximum read IOPS for all block volumes in a specific compartment at a one-minute interval. The correct metric is IopsRead. The interval is specified as [1m]. Filtering by compartment is done with {compartmentId = '...'}. To aggregate all results from the compartment into a single line showing the maximum value, the grouping() function (with no dimensions specified) is used, followed by the .max() aggregator. This combination correctly fulfills all requirements.

Why Incorrect

A. This query uses the mean() aggregator, which calculates the average, not the maximum as required by the question.
B. This query is missing the grouping() function. While some simple queries might work without it, the standard MQL syntax for aggregating multiple time series into one is to use grouping().
C. This query uses the IopsWrite metric, which tracks write operations, not the required read operations. It also incorrectly uses the mean() aggregator.

References

1. Oracle Cloud Infrastructure Documentation, "Monitoring Query Language (MQL) Reference", Section: Query Structure. (This section details the components of an MQL query: Metric[interval]{dimensionkey="dimensionvalue"}.grouping().statistic()).

2. Oracle Cloud Infrastructure Documentation, "Block Volume Metrics", Section: ociblockstorage Metrics. (This page lists IopsRead as the metric for "Read operations per second").

Scroll to Top