CGOA practice question 12 of 15
You want to route alerts from Prometheus to Slack in your GitOps workflow. Which tool can you use to achieve this?
Full set: 60 questionsPrometheus itself only generates alert notifications; the component that actually processes those alerts and ships them to external services such as Slack is Alertmanager. Alertmanager groups and deduplicates incoming alerts and then routes them to one or more “receivers” defined in its configuration file—Slack, PagerDuty, e-mail, etc. Therefore, to forward Prometheus alerts to a Slack channel in a GitOps pipeline, you configure a Slack receiver in Alertmanager and commit that configuration to your Git repository.
B. Slack – Acts only as the message recipient; it cannot ingest, group, or forward Prometheus alerts on its own.
C. Prometheus – Generates alerts but lacks built-in mechanisms to send them to external services; relies on Alertmanager for routing.
D. Jenkins X – Automates CI/CD with GitOps but provides no native functionality for processing or routing Prometheus alerts to messaging services.
1. Prometheus Project Documentation, “Alertmanager,” Section: Overview – “Alertmanager handles alerts … and routes them to the correct receiver integration such as … Slack.” (https://prometheus.io/docs/alerting/latest/alertmanager/)
2. Prometheus Project Documentation, “Configuration → Receivers → Slack.” (https://prometheus.io/docs/alerting/latest/configuration/#slackconfig)
3. Linux Foundation Course LFS241 “Monitoring Systems and Services with Prometheus,” Chapter 5.2 “Alertmanager and Routing,” pp. 5-6: explains configuring Slack as a receiver in Alertmanager.
Keep practicing
Take the free CGOA practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CGOA practice questions
- Question 1When are progressive delivery patterns useful in software development and deployment?
- Question 2You are deploying a new version of your application using the Blue-Green deployment patte…
- Question 3Which method(s) of accessing the Desired State store does GitOps support?
- Question 4In GitOps, how is the Desired State stored?
- Question 5In a GitOps-managed workflow, what is the correct way to initiate rollback?
- Question 6Which of these is an advantage of using a declarative configuration for your Desired Stat…
