Cloud Alerting Lab
Monitoring gives you visibility. Alerting turns that visibility into action when something requires attention.
Welcome to Lab 20 of the CompTIA Cloud+ practical lab sequence.
In the previous labs, you built:
Cloud Resources βMetrics βMonitoring βLogs βAudit Trails βInvestigationYou can now observe infrastructure and investigate what happened.
But there is still a major operational problem.
Imagine:
02:00Database Storage = 92%
02:30Database Storage = 96%
03:00Database Storage = 100%
03:05Application FailsThe monitoring system collected every metric.
The dashboard clearly showed the problem.
But:
Nobody was looking at the dashboard.
A production cloud environment needs to detect important conditions automatically.
You will therefore move from:
Engineer βChecks Dashboard βFinds Problemto:
Cloud Environment βMetric / Event / Log βAlert Rule βCondition Detected βNotification βEngineer βInvestigation βResponseπ― Mission Information
Section titled βπ― Mission Informationβ| Item | Details |
|---|---|
| Lab | 20 β Cloud Alerting Lab |
| Difficulty | Intermediate |
| Estimated Time | 120β180 Minutes |
| Certification Alignment | CompTIA Cloud+ |
| Primary Focus | Cloud Monitoring, Alerting & Operational Response |
| Previous Lab | 19 β Cloud Logging and Audit Trail Lab |
| Career Alignment | Cloud Administrator, Cloud Engineer, Cloud Operations Engineer, Security Analyst |
| Major Skills | Alert Rules, Thresholds, Severity, Notifications, Escalation, Testing |
| Deliverable | Cloud Alerting Strategy + Tested Alert Rules + Alert Response Report |
π’ Scenario
Section titled βπ’ ScenarioβYour organization operates:
Users β Load Balancer / \ β β Web VM 1 Web VM 2 \ / β β Application β Database β StorageThe monitoring environment collects:
-
CPU utilization
-
memory utilization
-
disk usage
-
network activity
-
load-balancer health
-
application latency
-
HTTP errors
-
database connections
-
storage capacity
-
backup status
However, engineers currently discover problems by manually checking dashboards.
Management wants proactive detection for conditions such as:
CPU > 90%
Disk > 85%
Healthy Backends < Expected
HTTP 5xx Increasing
Database Connections Near Maximum
Application Unavailable
Backup FailedYour mission is to design and test an alerting strategy that detects meaningful operational problems without overwhelming engineers with unnecessary notifications.
π― Lab Objectives
Section titled βπ― Lab ObjectivesβBy completing this lab, you should be able to:
-
explain cloud alerting
-
distinguish monitoring from alerting
-
understand alert conditions
-
configure metric-based alerts
-
understand log-based alerts
-
understand availability alerts
-
define thresholds
-
understand static thresholds
-
understand dynamic thresholds
-
configure evaluation windows
-
understand alert duration
-
classify alert severity
-
configure notification channels
-
understand alert routing
-
understand escalation
-
create actionable alerts
-
understand false positives
-
understand false negatives
-
understand alert fatigue
-
use suppression appropriately
-
understand deduplication
-
understand maintenance windows
-
test alert rules
-
validate alert recovery
-
document operational response
-
build an alert-response workflow
01 β Understand Cloud Alerting
Section titled β01 β Understand Cloud AlertingβAlerting automatically identifies predefined conditions requiring attention.
Conceptually:
Telemetry βCondition βEvaluation βAlert βNotification βResponseFor example:
CPU Utilization βCPU > 90% βFor 10 Minutes βAlert02 β Monitoring vs Alerting
Section titled β02 β Monitoring vs AlertingβMonitoring provides:
visibility
Alerting provides:
notification of conditions requiring attention
Think:
Monitoring=Observe
Alerting=Detect + Notify03 β Why Monitoring Alone Is Not Enough
Section titled β03 β Why Monitoring Alone Is Not EnoughβA dashboard may show:
Disk Usage99%But if nobody is watching:
Dashboard βNo Human Attention βNo ResponseAlerting changes this to:
Disk Usage99% βAlert βEngineer Notified04 β Understand the Alert Lifecycle
Section titled β04 β Understand the Alert LifecycleβA typical lifecycle is:
NORMAL βCondition Detected βEvaluation βAlert Triggered βNotification βAcknowledgement βInvestigation βRemediation βRecovery βAlert Resolved05 β Understand Alert Rules
Section titled β05 β Understand Alert RulesβAn alert rule normally defines:
Resource
Signal
Condition
Threshold
Evaluation Window
Severity
Notification
ResponseExample:
Resource:cloudplus-web-01
Metric:CPU Utilization
Condition:Greater Than
Threshold:90%
Duration:10 Minutes
Severity:High06 β Identify Alert Signals
Section titled β06 β Identify Alert SignalsβAlerts can be generated from different telemetry sources.
Examples:
Metrics
Logs
Events
Availability Checks
Application Signals
Security Events07 β Understand Metric-Based Alerts
Section titled β07 β Understand Metric-Based AlertsβMetric alerts evaluate numerical measurements.
Example:
CPU > 90%or:
Disk Usage > 85%or:
Healthy Backends < 208 β Understand Log-Based Alerts
Section titled β08 β Understand Log-Based AlertsβSometimes the important condition is contained in logs.
Example:
Application Log β"Database connection failed" βRepeated 20 Times βAlert09 β Understand Event-Based Alerts
Section titled β09 β Understand Event-Based AlertsβAdministrative or system events can also trigger alerts.
Example:
Production VM Deleted βAlertor:
Critical Firewall Changed βAlert10 β Understand Availability Alerts
Section titled β10 β Understand Availability AlertsβAvailability monitoring asks:
Can users reach the service?
Example:
Monitoring Probe βApplication URL βHTTP Request βExpected Response?If:
HTTP CheckFAILEDthe monitoring platform can generate an availability alert.
11 β Build Your Alert Inventory
Section titled β11 β Build Your Alert InventoryβIdentify important resources.
| Resource | Signal |
|---|---|
| Web VM | CPU |
| Web VM | Memory |
| Web VM | Disk |
| Load Balancer | Healthy Backends |
| Application | Response Time |
| Application | Availability |
| Application | HTTP 5xx |
| Database | Connections |
| Database | Storage |
| Backup | Job Status |
12 β Understand Thresholds
Section titled β12 β Understand ThresholdsβA threshold defines the boundary at which an alert condition becomes true.
Example:
CPU > 90%Here:
90%is the threshold.
13 β Thresholds Require Context
Section titled β13 β Thresholds Require ContextβDo not blindly configure:
CPU > 50%=CriticalA system may normally operate at:
50β70%Use:
Baseline+Business Impact+Capacity+Durationwhen selecting thresholds.
14 β Use Your Previous Baseline
Section titled β14 β Use Your Previous BaselineβFrom Lab 18, you established normal operating behavior.
Example:
Normal CPU:20β40%
Peak:60β70%Therefore:
CPU > 90%for a sustained period may represent a meaningful deviation.
15 β Understand Static Thresholds
Section titled β15 β Understand Static ThresholdsβStatic thresholds use fixed values.
Example:
Disk Usage > 85%Advantages:
-
simple
-
predictable
-
easy to understand
Limitations:
- may not adapt to workload patterns
16 β Understand Dynamic Thresholds
Section titled β16 β Understand Dynamic ThresholdsβDynamic alerting attempts to identify abnormal behavior relative to historical patterns.
Conceptually:
Normal Pattern βLearned Baseline βSignificant Deviation βAlertThis can be useful for workloads with variable behavior.
17 β Understand Duration
Section titled β17 β Understand DurationβCompare:
CPU > 90%for30 Secondswith:
CPU > 90%for15 MinutesThese conditions have very different operational significance.
18 β Understand Evaluation Windows
Section titled β18 β Understand Evaluation WindowsβAn evaluation window determines how much recent telemetry is considered.
Example:
Evaluate:Last 5 Minutes
Every:1 MinuteConceptually:
Metric Samples βEvaluation Window βCondition βAlert Decision19 β Why Evaluation Windows Matter
Section titled β19 β Why Evaluation Windows MatterβA single spike:
20%20%98%22%20%may not require intervention.
But:
92%94%96%95%93%may indicate sustained saturation.
20 β Create Your First CPU Alert
Section titled β20 β Create Your First CPU AlertβSelect:
cloudplus-web-01Create an alert conceptually using:
Metric:CPU Utilization
Condition:Greater Than
Threshold:80β90%
Evaluation:Several MinutesUse values appropriate for your lab environment.
21 β Name Alerts Clearly
Section titled β21 β Name Alerts ClearlyβAvoid:
Alert1Prefer:
CloudPlus-Web-High-CPUor:
PROD-Web-CPU-HighThe name should tell engineers:
Environment
Resource
Condition22 β Configure Severity
Section titled β22 β Configure SeverityβExample model:
| Severity | Meaning |
|---|---|
| Critical | Major service/business impact |
| High | Serious degradation requiring prompt action |
| Medium | Operational issue requiring investigation |
| Low | Informational or low-impact condition |
The exact model should follow organizational standards.
23 β Assign CPU Alert Severity
Section titled β23 β Assign CPU Alert SeverityβFor the lab:
High CPU=Medium / Highdepending on duration and business impact.
24 β Configure Notification
Section titled β24 β Configure NotificationβPossible notification mechanisms include:
Email
SMS
Push Notification
Chat / Collaboration Platform
Ticket
Incident Management Platform
Webhook
AutomationAvailability depends on your monitoring platform.
25 β Build the Notification Flow
Section titled β25 β Build the Notification FlowβAlert Rule βNotification Group βCloud Operations Team26 β Test the CPU Alert
Section titled β26 β Test the CPU AlertβGenerate controlled CPU load on your isolated lab VM.
For Linux:
yes > /dev/null &Monitor:
CPUuntil the configured condition is satisfied.
Stop the test afterward:
pkill yes27 β Observe Alert State
Section titled β27 β Observe Alert StateβExpected:
NORMAL βCPU Increases βThreshold Exceeded βEvaluation Window Met βALERT28 β Record Detection Time
Section titled β28 β Record Detection TimeβDocument:
Load Started:
Threshold Crossed:
Alert Triggered:
Notification Received:29 β Calculate Alert Detection Delay
Section titled β29 β Calculate Alert Detection DelayβConceptually:
Alert Trigger Time-Threshold Crossing Time=Detection DelayThis delay may be influenced by:
-
collection frequency
-
evaluation interval
-
evaluation window
-
notification delivery
30 β Stop the CPU Test
Section titled β30 β Stop the CPU TestβStop the workload.
Observe:
CPU βReturns to Baseline31 β Observe Alert Recovery
Section titled β31 β Observe Alert RecoveryβExpected:
ALERT βCondition Clears βEvaluation βRESOLVED32 β Record Recovery
Section titled β32 β Record RecoveryβDocument:
Condition Cleared:
Alert Resolved:
Recovery Delay:33 β Create a Disk Capacity Alert
Section titled β33 β Create a Disk Capacity AlertβExample:
Metric:Disk Usage
Threshold:> 85%
Severity:HighDisk capacity alerts are important because full filesystems can cause:
Application Failure
Logging Failure
Database Failure
Update Failure34 β Use Multiple Disk Thresholds
Section titled β34 β Use Multiple Disk ThresholdsβInstead of one alert:
Disk > 90%consider:
Disk > 75%Warning
Disk > 85%High
Disk > 95%Criticalwhere appropriate.
35 β Understand Progressive Severity
Section titled β35 β Understand Progressive SeverityβConceptually:
70%Normal β75%Warning β85%High β95%Critical β100%Failure36 β Create a Memory Alert
Section titled β36 β Create a Memory AlertβWhere memory telemetry is available:
Memory > 85%for10 MinutesMemory alerts can help identify:
-
leaks
-
undersized instances
-
abnormal workload
-
application problems
37 β Create a Load-Balancer Alert
Section titled β37 β Create a Load-Balancer AlertβMonitor:
Healthy Backend CountExample:
Expected:2
Alert:Healthy Backends < 238 β Understand Backend Health Alerts
Section titled β38 β Understand Backend Health AlertsβThis is often more operationally useful than simply monitoring:
VM Runningbecause:
VM Runningdoes not guarantee:
Application Healthy39 β Create an HTTP Error Alert
Section titled β39 β Create an HTTP Error AlertβMonitor:
HTTP 5xxPossible rule:
5xx Rate>Expected Baselineor a suitable fixed threshold for your lab.
40 β Avoid Poor HTTP Alert Design
Section titled β40 β Avoid Poor HTTP Alert DesignβPoor:
Any HTTP 500=Critical AlertOne isolated application error may not represent a major incident.
Better:
Error Rate+Volume+Duration+Business Impact41 β Create an Application Latency Alert
Section titled β41 β Create an Application Latency AlertβExample:
Normal:100β200 ms
Alert:Latency > 500 msfor5 MinutesAdjust to your application baseline.
42 β Create an Availability Alert
Section titled β42 β Create an Availability AlertβConfigure a synthetic or endpoint check where supported.
Monitor:
Application URLExpected:
HTTP 20043 β Understand Availability Alert Logic
Section titled β43 β Understand Availability Alert LogicβExample:
Probe 1FAILED
Probe 2FAILED
Probe 3FAILED βAvailability AlertUsing multiple failures can help reduce false positives caused by transient network problems.
44 β Create a Database Connection Alert
Section titled β44 β Create a Database Connection AlertβExample:
Maximum:100
Warning:80
High:90
Critical:95+Use actual service limits and operational requirements in real environments.
45 β Create a Database Storage Alert
Section titled β45 β Create a Database Storage AlertβExample:
Database Free Storage<Defined Safety Thresholdor:
Storage Utilization>85%46 β Create a Backup Failure Alert
Section titled β46 β Create a Backup Failure AlertβThis is critical.
Condition:
Backup Job=FAILEDThe alert should notify the responsible team.
47 β Why Backup Alerts Matter
Section titled β47 β Why Backup Alerts MatterβWithout alerting:
Backup Fails βNobody Notices βDisaster Occurs βRecovery Point MissingThis connects directly to:
Lab 16 β Cloud Backup and Restore Lab
and:
Lab 17 β RTO and RPO Disaster Recovery Lab
48 β Understand Alert Severity by Impact
Section titled β48 β Understand Alert Severity by ImpactβSeverity should reflect:
impact
not simply:
technical metric value.
Example:
CPU 95%onDevelopment VMmay be less severe than:
Application Availability FailedonCustomer Payment Service49 β Build a Severity Matrix
Section titled β49 β Build a Severity Matrixβ| Condition | Example Severity |
|---|---|
| Production Application Down | Critical |
| Database Unavailable | Critical |
| All Backends Unhealthy | Critical |
| One Backend Unhealthy | High |
| Disk > 90% | High |
| CPU > 90% Sustained | High |
| CPU Brief Spike | Low/None |
| Backup Failure | High/Critical |
| Development VM CPU High | Low |
Customize according to business context.
50 β Understand Notification Routing
Section titled β50 β Understand Notification RoutingβNot every alert should notify every engineer.
Example:
Database Alert βDatabase / Cloud Operations
Security Event βSecurity Operations
Application Alert βApplication Team51 β Build an Alert Routing Matrix
Section titled β51 β Build an Alert Routing Matrixβ| Alert | Primary Team | Secondary Team |
|---|---|---|
| VM CPU | Cloud Operations | Application |
| Disk Capacity | Cloud Operations | Application |
| Database | Database/Cloud | Application |
| HTTP 5xx | Application | Cloud Operations |
| Backup Failure | Cloud Operations | Business Continuity |
| Security Change | Security | Cloud Operations |
52 β Understand Escalation
Section titled β52 β Understand EscalationβIf an alert remains unresolved:
Alert βEngineer βNo Resolution βEscalation βSenior Engineer / Incident Lead53 β Build an Escalation Model
Section titled β53 β Build an Escalation ModelβExample:
Critical Alert βOn-Call Engineer βNo Acknowledgement βEscalation βIncident Lead βService Owner54 β Understand Alert Acknowledgement
Section titled β54 β Understand Alert AcknowledgementβAcknowledgement means:
someone has taken ownership of investigating the alert.
It does not mean:
the problem is resolved.
55 β Understand Alert States
Section titled β55 β Understand Alert StatesβA simplified model:
Normal
Triggered
Acknowledged
Investigating
Resolved56 β Build the Response Workflow
Section titled β56 β Build the Response WorkflowβALERT βACKNOWLEDGE βVALIDATE βASSESS IMPACT βINVESTIGATE βREMEDIATE βVERIFY βRESOLVE57 β Understand Actionable Alerts
Section titled β57 β Understand Actionable AlertsβAn alert should help the engineer answer:
What happened?
Where?
How severe?
When?
What should I check?58 β Poor Alert Example
Section titled β58 β Poor Alert ExampleβWARNING:Threshold exceeded.This provides very little context.
59 β Better Alert Example
Section titled β59 β Better Alert ExampleβHIGH β Web CPU Utilization
Resource:cloudplus-web-01
Condition:CPU > 90%
Duration:10 Minutes
Environment:Production
Dashboard:CloudPlus Operations
Response:Review traffic, processes and scaling state.60 β Add Runbook Context
Section titled β60 β Add Runbook ContextβWhere supported, alerts should reference:
Troubleshooting Procedure
Dashboard
Resource
Owner
Escalation PathThis reduces investigation time.
61 β Understand False Positives
Section titled β61 β Understand False PositivesβA false positive occurs when:
Alert Triggeredbut:
No Meaningful Problem ExistsExample:
CPU > 90%for5 Secondsduring a normal scheduled task.
62 β Understand False Negatives
Section titled β62 β Understand False NegativesβA false negative occurs when:
Real Problem Existsbut:
No Alert TriggeredThis can be more dangerous than noisy alerting.
63 β Understand Alert Fatigue
Section titled β63 β Understand Alert FatigueβAlert fatigue occurs when engineers receive:
AlertAlertAlertAlertAlertAlertuntil alerts become:
background noise.
64 β Why Alert Fatigue Is Dangerous
Section titled β64 β Why Alert Fatigue Is DangerousβEventually:
Critical Alert βEngineer Assumes Noise βIgnored βService Impact65 β Identify Noisy Alerts
Section titled β65 β Identify Noisy AlertsβReview:
Which Alerts Trigger Most Often?
Which Are Ignored?
Which Never Require Action?
Which Duplicate Other Alerts?66 β Tune Noisy Alerts
Section titled β66 β Tune Noisy AlertsβPossible improvements:
Adjust Threshold
Increase Duration
Change Evaluation Window
Change Severity
Add Correlation
Remove Redundant Alert67 β Understand Alert Deduplication
Section titled β67 β Understand Alert DeduplicationβSuppose:
Web VM 1 CPU High
Web VM 2 CPU High
App Latency High
HTTP 5xx High
Load Balancer Errors Highall originate from the same underlying incident.
Without deduplication:
One Incident βFive Notifications68 β Understand Correlated Alerting
Section titled β68 β Understand Correlated AlertingβAdvanced monitoring may correlate:
CPU β+Latency β+HTTP Errors βinto a more meaningful incident context.
69 β Understand Suppression
Section titled β69 β Understand SuppressionβSometimes alerts should be temporarily suppressed.
Example:
Scheduled Maintenancewhere known disruption is expected.
70 β Understand Maintenance Windows
Section titled β70 β Understand Maintenance WindowsβExample:
Maintenance:Sunday02:00β04:00During this period:
Expected Restart Alertsmay be suppressed appropriately.
71 β Do Not Disable Monitoring During Maintenance
Section titled β71 β Do Not Disable Monitoring During MaintenanceβPrefer:
MonitoringACTIVE
Alert HandlingAdjustedrather than losing operational visibility entirely.
72 β Understand Dependency-Aware Alerting
Section titled β72 β Understand Dependency-Aware AlertingβConsider:
Database Down βApplication Errors βWeb ErrorsYou may receive:
Database Alert
Application Alert
Web AlertThe database may be the:
root problem
while others are symptoms.
73 β Build a Dependency Map
Section titled β73 β Build a Dependency MapβUsers βLoad Balancer βWeb βApplication βDatabaseUse this during alert investigation.
74 β Prioritize Root-Cause Signals
Section titled β74 β Prioritize Root-Cause SignalsβIf:
DatabaseDOWNand:
ApplicationERRORinvestigate the upstream dependency first.
75 β Understand Alert Correlation with Logs
Section titled β75 β Understand Alert Correlation with LogsβAn alert tells you:
02:14Application UnavailableLogs help explain:
02:13Database configuration changedTherefore:
Alert βMetrics βLogs βAudit Trail βInvestigation76 β Understand Alert Correlation with Metrics
Section titled β76 β Understand Alert Correlation with MetricsβExample:
Alert:Application Latency HighReview:
CPU
Memory
Storage Latency
Network
DB Connections
HTTP Errorsaround the same timestamp.
77 β Create an Alert Investigation Timeline
Section titled β77 β Create an Alert Investigation Timelineβ| Time | Signal | Event |
|---|---|---|
| 14:00 | Traffic | Normal |
| 14:05 | DB Connections | Increased |
| 14:07 | Latency | Increased |
| 14:09 | Alert | Latency Alert Triggered |
| 14:10 | HTTP 5xx | Increased |
| 14:12 | Engineer | Investigation Started |
78 β Measure Mean Time to Detect
Section titled β78 β Measure Mean Time to DetectβA useful operational measurement is:
MTTD β Mean Time to Detect
Conceptually:
Problem Begins βDetectionThe shorter this interval, the sooner investigation can begin.
79 β Understand Mean Time to Acknowledge
Section titled β79 β Understand Mean Time to AcknowledgeβAnother useful measure:
Alert Triggered βEngineer AcknowledgesThis helps evaluate operational response.
80 β Understand Mean Time to Resolve
Section titled β80 β Understand Mean Time to ResolveβConceptually:
Incident Begins βInvestigation βRemediation βService RestoredOrganizations may measure this using different operational definitions.
81 β Build an Alert Test Plan
Section titled β81 β Build an Alert Test PlanβFor every important alert define:
Alert Name:
Condition:
How Will We Trigger It?
Expected Severity:
Expected Notification:
Expected Recovery:
Pass / Fail:82 β Test CPU Alert
Section titled β82 β Test CPU AlertβGenerate controlled CPU utilization.
Expected:
CPU β βThreshold βAlert βNotification83 β Test Availability Alert
Section titled β83 β Test Availability AlertβIn an isolated lab, temporarily stop the test web service.
For example:
sudo systemctl stop nginxif Nginx is your lab service.
Observe:
Endpoint βUnavailable βAlertRestore:
sudo systemctl start nginx84 β Validate Recovery Detection
Section titled β84 β Validate Recovery DetectionβConfirm:
Application Restored βAvailability Check Passes βAlert Resolves85 β Test Backend Health Alert
Section titled β85 β Test Backend Health AlertβIn a controlled environment:
Load Balancer βTemporarily Remove/Stop One BackendExpected:
Healthy Backend Count2 β 1 βAlertRestore the backend after validation.
86 β Test Log-Based Alert
Section titled β86 β Test Log-Based AlertβGenerate a harmless lab event that matches your configured test query.
Example conceptual application log:
LAB_TEST_DATABASE_CONNECTION_FAILUREVerify:
Log βQuery Match βAlert87 β Test Backup Alert
Section titled β87 β Test Backup AlertβWhere the platform supports safe test notification mechanisms, validate that backup-failure events are routed correctly.
Do not intentionally damage required backups.
88 β Record Alert Test Results
Section titled β88 β Record Alert Test Resultsβ| Alert | Triggered | Notification | Resolved | Result |
|---|---|---|---|---|
| CPU | ||||
| Availability | ||||
| Backend Health | ||||
| Log-Based | ||||
| Backup |
89 β Troubleshooting Scenario β Alert Never Fires
Section titled β89 β Troubleshooting Scenario β Alert Never FiresβCheck:
Metric Exists? βCorrect Resource? βCorrect Threshold? βEvaluation Window? βAlert Enabled? βPermissions?90 β Troubleshooting Scenario β Notification Never Arrives
Section titled β90 β Troubleshooting Scenario β Notification Never ArrivesβCheck:
Alert Triggered? βNotification Group? βRecipient? βChannel Configuration? βDelivery Failure?91 β Troubleshooting Scenario β Alert Fires Constantly
Section titled β91 β Troubleshooting Scenario β Alert Fires ConstantlyβReview:
Baseline
Threshold
Duration
Evaluation Window
Workload Pattern92 β Troubleshooting Scenario β CPU Alert Flaps
Section titled β92 β Troubleshooting Scenario β CPU Alert FlapsβFlapping looks like:
ALERT
RESOLVED
ALERT
RESOLVED
ALERTPossible improvements:
Longer Evaluation
Recovery Threshold
Hysteresis
Better Baselinewhere supported.
93 β Understand Hysteresis
Section titled β93 β Understand HysteresisβInstead of:
Trigger:CPU > 80%
Resolve:CPU < 80%you might conceptually use:
Trigger:CPU > 80%
Resolve:CPU < 70%This reduces repeated state changes around a single threshold.
94 β Troubleshooting Scenario β Alert Arrives Too Late
Section titled β94 β Troubleshooting Scenario β Alert Arrives Too LateβInvestigate:
Metric Collection Frequency
Evaluation Interval
Evaluation Window
Notification Delay95 β Troubleshooting Scenario β Too Many Teams Receive Alert
Section titled β95 β Troubleshooting Scenario β Too Many Teams Receive AlertβReview:
Ownership
Routing
Severity
EscalationAlerts should reach people who can:
take meaningful action.
96 β Troubleshooting Scenario β Every Alert Is Critical
Section titled β96 β Troubleshooting Scenario β Every Alert Is CriticalβThis defeats severity classification.
If everything is:
CRITICALthen:
Nothing Is Prioritized97 β Troubleshooting Scenario β Disk Alert Fires at 99%
Section titled β97 β Troubleshooting Scenario β Disk Alert Fires at 99%βThe alert may technically work but provide:
too little response time.
Review earlier thresholds and growth rate.
98 β Troubleshooting Scenario β Application Down but No Infrastructure Alert
Section titled β98 β Troubleshooting Scenario β Application Down but No Infrastructure AlertβThis demonstrates why you need:
Application Availability
Synthetic Monitoring
Application Metricsnot only infrastructure metrics.
99 β Troubleshooting Scenario β VM CPU High but Application Healthy
Section titled β99 β Troubleshooting Scenario β VM CPU High but Application HealthyβDetermine:
Duration
Baseline
Business Impact
Scaling Statebefore treating the condition as a major incident.
100 β Troubleshooting Scenario β Backup Failed Yesterday but Nobody Knew
Section titled β100 β Troubleshooting Scenario β Backup Failed Yesterday but Nobody KnewβThis represents:
Monitoring / Alerting GapAdd:
Backup Status βFailure Alert βResponsible Team101 β Troubleshooting Scenario β Alert Triggered During Planned Maintenance
Section titled β101 β Troubleshooting Scenario β Alert Triggered During Planned MaintenanceβUse:
Maintenance Window+Suppressionwhere appropriate.
102 β Troubleshooting Scenario β Engineer Receives Alert Without Resource Name
Section titled β102 β Troubleshooting Scenario β Engineer Receives Alert Without Resource NameβThis is a poor alert.
Improve it with:
Resource
Environment
Condition
Severity
Timestamp
Dashboard
Runbook103 β Troubleshooting Scenario β Five Alerts Describe One Failure
Section titled β103 β Troubleshooting Scenario β Five Alerts Describe One FailureβInvestigate:
Dependencies
Correlation
Deduplication
Root Cause104 β Build the Alert Troubleshooting Framework
Section titled β104 β Build the Alert Troubleshooting FrameworkβUse:
ALERT βVALIDATE CONDITION βASSESS IMPACT βCHECK METRICS βCHECK DEPENDENCIES βCHECK LOGS βCHECK AUDIT EVENTS βIDENTIFY ROOT CAUSE βREMEDIATE βVERIFY RECOVERY βRESOLVE105 β Build the Alert Catalogue
Section titled β105 β Build the Alert CatalogueβCreate a formal catalogue.
| Alert | Condition | Severity | Owner | Response |
|---|---|---|---|---|
| Web CPU High | CPU > Threshold | High | Cloud Ops | Review Load |
| Disk Capacity | Disk > Threshold | High | Cloud Ops | Review Capacity |
| Backend Unhealthy | Healthy < Expected | High | Cloud Ops | Check Backend |
| App Down | Availability Failed | Critical | App/Cloud | Restore Service |
| HTTP 5xx | Error Rate High | High | App Team | Review Application |
| DB Connections | Near Maximum | High | DB/Cloud | Review Connections |
| Backup Failure | Failed Job | High | Cloud Ops | Investigate Backup |
106 β Perform Alert Coverage Review
Section titled β106 β Perform Alert Coverage ReviewβVerify:
[ ] Compute alerts configured[ ] Memory alerts considered[ ] Disk alerts configured[ ] Network alerts considered[ ] Load-balancer alerts configured[ ] Application availability monitored[ ] Application latency monitored[ ] HTTP errors monitored[ ] Database alerts configured[ ] Storage alerts configured[ ] Backup failures monitored[ ] Critical administrative events considered107 β Perform Alert Quality Review
Section titled β107 β Perform Alert Quality ReviewβFor each alert ask:
Is It Actionable?
Is Severity Correct?
Is Threshold Appropriate?
Is Duration Appropriate?
Does It Identify the Resource?
Does It Reach the Correct Team?
Does It Link to Useful Context?
Has It Been Tested?108 β Perform Notification Review
Section titled β108 β Perform Notification ReviewβVerify:
[ ] Primary owner defined[ ] Secondary owner defined[ ] Notification channel works[ ] Escalation defined[ ] Critical alerts receive prompt attention[ ] Low-priority events do not create unnecessary noise109 β Perform Alert Security Review
Section titled β109 β Perform Alert Security ReviewβAlerts themselves may expose operational information.
Ensure notification systems do not unnecessarily expose:
Credentials
Secrets
Tokens
Sensitive Customer Data
Detailed Security Information110 β Build the Findings Register
Section titled β110 β Build the Findings Registerβ| Finding | Risk | Recommendation | Priority |
|---|---|---|---|
| No Application Availability Alert | Outage Detected by Users | Add Endpoint Monitoring | Critical |
| Disk Alert at 99% | Insufficient Response Time | Lower Threshold | High |
| Every Alert Critical | Poor Prioritization | Implement Severity Model | High |
| No Backup Failure Alert | Recovery Risk | Alert on Backup Failure | Critical |
| CPU Alert Too Sensitive | Alert Fatigue | Tune Duration/Threshold | Medium |
| No Alert Owner | Slow Response | Define Ownership | High |
| No Escalation | Critical Alert Unhandled | Define Escalation | High |
| Alerts Not Tested | Unknown Reliability | Implement Alert Testing | High |
| Generic Alert Messages | Slow Investigation | Add Context | Medium |
111 β Build the Final Alerting Architecture
Section titled β111 β Build the Final Alerting Architectureβ Cloud Environment | +--------------+--------------+ | | | v v v Metrics Logs Events | | | +--------------+--------------+ | v Alert Rules | +----------+----------+ | | v v Severity Routing | | +----------+----------+ | v Notification | v Engineer | v Investigation | +----------+----------+ | | v v Metrics Logs | | +----------+----------+ | v Root Cause | v Remediation | v Recovery112 β Create the Alert Response Report
Section titled β112 β Create the Alert Response ReportβUse:
Lab:Cloud Alerting Lab
Environment:
Monitoring Platform:
Alerts Configured:
CPU Alert:
Memory Alert:
Disk Alert:
Load Balancer Alert:
Application Availability Alert:
HTTP Error Alert:
Database Alert:
Backup Alert:
Severity Model:
Notification Channels:
Alert Owners:
Escalation Process:
CPU Test:
Availability Test:
Backend Test:
Log Alert Test:
Detection Time:
Notification Time:
Recovery Time:
False Positives:
Noisy Alerts:
Alerting Gaps:
Findings:
Recommendations:
Lessons Learned:π§ͺ Final Validation Checklist
Section titled βπ§ͺ Final Validation Checklistβ| Validation | Status |
|---|---|
| Cloud alerting understood | |
| Monitoring vs alerting understood | |
| Alert lifecycle understood | |
| Metric alerts understood | |
| Log alerts understood | |
| Event alerts understood | |
| Availability alerts understood | |
| Static thresholds understood | |
| Dynamic thresholds understood | |
| Evaluation windows understood | |
| Alert duration understood | |
| Severity model created | |
| CPU alert configured | |
| CPU alert tested | |
| CPU recovery validated | |
| Memory alert considered | |
| Disk alert configured | |
| Load-balancer alert configured | |
| HTTP error alert configured | |
| Latency alert considered | |
| Availability alert configured | |
| Database alert configured | |
| Backup failure alert configured | |
| Notification channel configured | |
| Alert routing defined | |
| Alert ownership defined | |
| Escalation defined | |
| False positives understood | |
| False negatives understood | |
| Alert fatigue understood | |
| Suppression understood | |
| Maintenance windows understood | |
| Alert catalogue created | |
| Alert coverage reviewed | |
| Alert quality reviewed | |
| Findings documented |
π― Certification Connection
Section titled βπ― Certification ConnectionβA Cloud+ scenario may say:
CPU occasionally reaches 95% for several seconds during normal workload, generating repeated alerts.
Think:
Threshold+Duration+Evaluation Windowneed tuning.
Another:
A production disk reaches 100% before engineers receive a capacity alert.
Think:
The threshold is too late to provide useful response time.
Another:
Engineers receive hundreds of alerts and begin ignoring them.
Think:
Alert fatigue.
Another:
A backup job fails but nobody discovers the failure until disaster recovery is required.
Think:
Backup failure alerting is required.
Another:
The VM is running normally, but customers cannot access the application.
Think:
Application availability monitoring is required.
Another:
A known maintenance window causes dozens of expected alerts.
Think:
Appropriate alert suppression or maintenance-window handling.
π€ Interview Questions
Section titled βπ€ Interview QuestionsβPractice without notes.
1. What is cloud alerting?
Section titled β1. What is cloud alerting?β2. Monitoring vs alerting?
Section titled β2. Monitoring vs alerting?β3. What is an alert threshold?
Section titled β3. What is an alert threshold?β4. Static vs dynamic thresholds?
Section titled β4. Static vs dynamic thresholds?β5. Why does alert duration matter?
Section titled β5. Why does alert duration matter?β6. What is an evaluation window?
Section titled β6. What is an evaluation window?β7. What is a metric-based alert?
Section titled β7. What is a metric-based alert?β8. What is a log-based alert?
Section titled β8. What is a log-based alert?β9. What is an availability alert?
Section titled β9. What is an availability alert?β10. How would you choose alert severity?
Section titled β10. How would you choose alert severity?β11. What is alert routing?
Section titled β11. What is alert routing?β12. What is escalation?
Section titled β12. What is escalation?β13. What makes an alert actionable?
Section titled β13. What makes an alert actionable?β14. What is a false positive?
Section titled β14. What is a false positive?β15. What is a false negative?
Section titled β15. What is a false negative?β16. What is alert fatigue?
Section titled β16. What is alert fatigue?β17. How would you reduce noisy alerts?
Section titled β17. How would you reduce noisy alerts?β18. What is alert suppression?
Section titled β18. What is alert suppression?β19. What is a maintenance window?
Section titled β19. What is a maintenance window?β20. What is alert deduplication?
Section titled β20. What is alert deduplication?β21. Why should alerts be tested?
Section titled β21. Why should alerts be tested?β22. What is alert flapping?
Section titled β22. What is alert flapping?β23. How can hysteresis help?
Section titled β23. How can hysteresis help?β24. How would you investigate a high-CPU alert?
Section titled β24. How would you investigate a high-CPU alert?β25. Why should backup failures generate alerts?
Section titled β25. Why should backup failures generate alerts?βπ¨ Scenario Interview Question 1
Section titled βπ¨ Scenario Interview Question 1βCPU briefly reaches 95% several times every day, but application performance remains normal.
Do not immediately:
scale the infrastructure.
Review:
Baseline+Duration+Application Impact+Workload Patternπ¨ Scenario Interview Question 2
Section titled βπ¨ Scenario Interview Question 2βApplication response time increases and HTTP 5xx errors rise at the same time.
Correlate:
Latency+Errors+Compute+Database+Dependenciesπ¨ Scenario Interview Question 3
Section titled βπ¨ Scenario Interview Question 3βThe application becomes unavailable, but all VMs remain in a running state.
Investigate:
Load Balancer βApplication βDatabase βDependenciesand use:
application availability monitoring.
π¨ Scenario Interview Question 4
Section titled βπ¨ Scenario Interview Question 4βEngineers receive 500 low-value alerts every day.
The solution is not:
adding more engineers.
Review:
Thresholds
Duration
Severity
Deduplication
Alert Valueπ¨ Scenario Interview Question 5
Section titled βπ¨ Scenario Interview Question 5βA critical alert is delivered only to an engineer who is on leave.
The organization has:
alert routing and escalation weaknesses.
π¨ Scenario Interview Question 6
Section titled βπ¨ Scenario Interview Question 6βA production backup fails overnight.
A strong alert workflow is:
Backup Failure βHigh/Critical Alert βResponsible Team βInvestigation βBackup Restored βRecovery Point Validatedπ¨ Scenario Interview Question 7
Section titled βπ¨ Scenario Interview Question 7βCPU fluctuates between 79% and 81%, repeatedly triggering and resolving an 80% alert.
This is:
alert flapping.
Consider:
Duration+Hysteresis+Threshold Tuningπ¨ Scenario Interview Question 8
Section titled βπ¨ Scenario Interview Question 8βA database has a maximum of 100 connections and the alert triggers only when 100 connections are reached.
The alert provides:
little proactive warning.
Configure earlier thresholds based on normal workload and capacity requirements.
π¨ Scenario Interview Question 9
Section titled βπ¨ Scenario Interview Question 9βA database failure causes 15 downstream application alerts.
Start with:
dependency correlation and root-cause identification
rather than treating every alert as an independent incident.
π¨ Scenario Interview Question 10
Section titled βπ¨ Scenario Interview Question 10βAn alert says only βThreshold exceeded.β
Improve it by including:
Environment
Resource
Metric
Threshold
Severity
Timestamp
Operational Context
Runbookπ§ Alert Investigation Framework
Section titled βπ§ Alert Investigation FrameworkβRemember:
ALERT βACKNOWLEDGE βVALIDATE βBUSINESS IMPACT βMETRICS βDEPENDENCIES βLOGS βAUDIT TRAIL βROOT CAUSE βREMEDIATE βVERIFY βRESOLVE βTUNEπ¬ Interview Tip
Section titled βπ¬ Interview TipβAvoid:
βI would configure CPU and memory alerts.β
A stronger answer is:
βI would first identify business-critical services and establish normal performance baselines. I would then create actionable alerts for availability, saturation, capacity, errors, backup failures, and important service dependencies using appropriate thresholds, durations, and evaluation windows. I would classify alerts by business impact, route them to the responsible teams, define escalation paths, test both trigger and recovery behavior, correlate alerts with metrics and logs during investigations, and periodically tune noisy or ineffective rules to reduce alert fatigue.β
That demonstrates Cloud Operations Engineer thinking.
π Portfolio Deliverables
Section titled βπ Portfolio DeliverablesβKeep sanitized versions of:
1. Alerting Architecture
Section titled β1. Alerting ArchitectureβTelemetry βAlert Rules βSeverity βRouting βNotification βResponse2. Alert Catalogue
Section titled β2. Alert CatalogueβDocument:
Alert
Resource
Condition
Threshold
Duration
Severity
Owner
Response3. Severity Matrix
Section titled β3. Severity MatrixβShow:
Critical
High
Medium
Lowwith example operational conditions.
4. Alert Test Report
Section titled β4. Alert Test ReportβDocument:
Trigger βDetection βNotification βAcknowledgement βRecovery5. Alert Investigation Timeline
Section titled β5. Alert Investigation TimelineβShow:
Metric Change βAlert βInvestigation βRoot Cause βRecovery6. Alert Coverage Review
Section titled β6. Alert Coverage ReviewβInclude:
-
compute
-
storage
-
network
-
load balancer
-
application
-
database
-
backups
7. Findings Register
Section titled β7. Findings RegisterβDocument:
-
finding
-
risk
-
alerting impact
-
recommendation
-
priority
π Resume Examples
Section titled βπ Resume ExamplesβInstead of:
Configured cloud alerts.
Use:
Designed and tested cloud alerting rules for compute utilization, storage capacity, application availability, load-balancer health, database capacity, HTTP errors, and backup failures using severity-based notification and escalation workflows.
Or:
Built an operational alerting strategy using performance baselines, thresholds, evaluation windows, notification routing, escalation, and alert testing to improve proactive detection of cloud infrastructure issues.
Or:
Investigated and tuned cloud alerts by correlating metrics, logs, service dependencies, and application health while reducing false positives, alert flapping, and operational alert fatigue.
β Job-Readiness Check
Section titled ββ Job-Readiness CheckβYou should now be able to:
-
explain cloud alerting
-
distinguish monitoring from alerting
-
configure metric-based alerts
-
understand log-based alerts
-
understand availability alerts
-
define meaningful thresholds
-
understand evaluation windows
-
understand alert duration
-
classify severity
-
configure notification workflows
-
define alert ownership
-
design escalation paths
-
create actionable alert messages
-
identify false positives
-
identify false negatives
-
explain alert fatigue
-
tune noisy alerts
-
understand suppression
-
understand maintenance windows
-
understand alert deduplication
-
test alert triggers
-
validate alert recovery
-
correlate alerts with metrics
-
correlate alerts with logs
-
investigate dependencies
-
build an alert catalogue
-
perform alert coverage reviews
-
document operational findings
π Mission Complete
Section titled βπ Mission CompleteβYou have progressed from:
Cloud Environment βDashboard βEngineer Must Lookto:
Cloud Environment βTelemetry βAlert Rule βAutomatic Detection βSeverity βNotification βEngineer βInvestigation βResponseYou now understand an important operational principle:
A good alert is not simply a notification that a metric crossed a threshold. A professional alert identifies a meaningful condition, reaches the right people with enough context to act, and provides sufficient time to prevent or reduce business impact.
π Whatβs Next?
Section titled βπ Whatβs Next?βYou now have:
Metrics +Logs +Audit Trails +AlertsThis provides strong operational visibility.
The next step is understanding whether your cloud environment is also being operated:
Efficientlybecause cloud engineering is not only about:
Performance
Availability
SecurityIt also requires:
Cost Visibility
Resource Utilization
Rightsizing
Waste Reduction
Capacity EfficiencyIn the next lab, you will work with:
-
cloud cost visibility
-
billing analysis
-
resource utilization
-
idle resources
-
overprovisioning
-
rightsizing
-
unused storage
-
unused public IPs
-
unnecessary snapshots
-
scaling efficiency
-
storage-tier optimization
-
tagging
-
budgets
-
cost allocation
-
optimization recommendations
-
cost-versus-performance decisions
-
FinOps fundamentals
You will move from:
Is the environment healthy?to:
Is the environment healthyANDfinancially efficient?β‘οΈ Next: Lab 21 β Cloud Cost Optimization Lab