CV0-004 Log-based metric Practice Question
An organization wants to receive notifications in a Slack channel when a new VM instance is created. Which combination of cloud services should be used?
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
✓
Logging service log-based metric and event-driven function with webhook
A logging service can trigger an event-driven function via a log-based metric when a VM is created, and the function sends a message to Slack via webhook.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Monitoring alert policy with Slack notification channel
Why it's wrong here
Monitoring alerts cannot directly trigger on resource creation; they use metrics.
- ✗
Scheduler and event-driven function
Why it's wrong here
Scheduler runs on a schedule, not event-driven.
- ✗
Pub/sub messaging service and container service
Why it's wrong here
Pub/Sub can deliver messages but needs a trigger from something like Cloud Logging.
- ✓
Logging service log-based metric and event-driven function with webhook
Why this is correct
A log entry for VM creation can trigger a Cloud Function via a log-based metric, which then posts to Slack.
Go deeper
Related to this question
About these practice questions
This CV0-004 question is part of Courseiva's 977-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 →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.