VMware vRealize Automation 8.x (2022) — Question 20
Which two statements are correct regarding Spring Boot 2.x Actuator Metrics? (Choose two.)
Answer options
- A. An external monitoring system must be used with Actuator.
- B. The metrics endpoint /actuator/metrics is exposed over HTTP by default.
- C. Timer measures both the number of timed events and the total time of all events timed.
- D. Custom metrics can be measured using Meter primitives such as Counter, Gauge, Timer, and DistributionSummary.
- E. A metric must be created with one or more tags.
Correct answer: C, D
Explanation
Option C is correct because Timer indeed tracks both the count of events and their total duration. Option D is also correct as it accurately describes how custom metrics can be created using Meter primitives. Options A and B are incorrect; an external monitoring system is not mandatory, and while the metrics endpoint is exposed, it's not necessarily available over HTTP by default unless configured. Option E is misleading as metrics can be created without tags.