AWS Monitoring Interview Questions and Answers: CloudWatch, CloudTrail, Config and Systems Manager (50 Questions)
This page has 50 new interview questions on monitoring, logging, auditing and operations in AWS, with full answers. These questions are very common for cloud support, DevOps, SRE and operations roles.
1. An everyday example: a hospital patient monitor
You cannot fix what you cannot see. In production, the first questions in an incident are "What changed?" and "Since when?". Interviewers want to know if you can answer them quickly with the right AWS tools.
Think of a hospital ICU. CloudWatch metrics are the heart rate and blood pressure numbers on the monitor. Alarms are the beeps when a number crosses a safe line. Logs are the nurse's notes about everything that happened. CloudTrail is the visitor register that records who entered and what they did. AWS Config is the photo album that shows how the room looked at every point in time. Systems Manager is the set of tools the doctor uses to treat the patient without opening the door.
How to use this page
- For each tool, remember the question it answers: CloudWatch = how is it doing, CloudTrail = who did what, Config = what changed and is it compliant.
- In scenario answers, always say how you would detect the problem next time.
- Try the read-only CLI and Logs Insights examples in a practice account.
2. Fresher level questions
Start here if you are a fresher or have less than two years of experience. Try to answer each question aloud first. Then open it and compare.
Q1. What is Amazon CloudWatch? Fresher
CloudWatch is AWS's monitoring and observability service.
It collects metrics (numbers over time, such as CPUUtilization), logs (text records from apps and services), and events. You can create alarms, dashboards and automatic actions.
Most AWS services send metrics to CloudWatch automatically. You can also send custom metrics and logs from your apps.
Everyday example: the dashboard of a car, which shows speed, fuel and warning lights.
Q2. When is EC2 detailed monitoring worth paying for, and what does it change? Fresher
Basic monitoring sends EC2 metrics to CloudWatch every 5 minutes at no extra cost.
Detailed monitoring sends them every 1 minute, for an extra charge.
Use detailed monitoring when you need faster alarms or faster Auto Scaling reactions, for example a production web tier.
For sub-minute data, publish high-resolution custom metrics, which can go down to 1-second resolution.
Q3. Which EC2 numbers can CloudWatch see from outside the OS, and how do you get the rest? Fresher
CloudWatch collects EC2 metrics from the hypervisor, outside your operating system. It can see CPU, network and disk operations, but it cannot see inside the OS, where memory use and filesystem free space are known.
To get memory and disk usage, install the CloudWatch agent on the instance. It reads these values from the OS and sends them as custom metrics, such as mem_used_percent and disk_used_percent.
You can install and configure the agent at scale with Systems Manager.
Q4. What actions can a CloudWatch alarm run when it changes state? Fresher
- OK: the metric is within the threshold.
- ALARM: the metric has crossed the threshold for the required number of periods.
- INSUFFICIENT_DATA: the alarm just started, the metric is not available, or there is not enough data to decide.
Actions can run on any state change, such as sending an SNS notification, an Auto Scaling action, an EC2 action like reboot or recover, or creating a Systems Manager OpsItem.
Q5. What is a CloudWatch log group and log stream? Fresher
A log stream is a sequence of log events from one source, such as one EC2 instance or one Lambda execution environment.
A log group is a collection of log streams that share settings, such as retention, encryption and access control. Example: /aws/lambda/order-validator.
You set retention at the log group level. By default, logs are kept forever, so set a retention like 30 or 90 days to control cost.
Q6. What is AWS CloudTrail? Fresher
CloudTrail records API calls and account activity in your AWS account.
Each event shows who made the call, which service and action, when, from which IP address, and the result.
Event history shows the last 90 days of management events for free in each Region. To keep events longer, or to record data events like S3 object reads, create a trail that delivers to S3 (and optionally CloudWatch Logs), or use CloudTrail Lake.
It is the main tool for security audits and "who changed this?" questions.
Q7. What is AWS Config? Fresher
AWS Config records the configuration of your AWS resources and how it changes over time.
Example: it can show that a security group allowed port 22 from anywhere on Tuesday at 3 PM, and who changed it (by linking to CloudTrail).
Config rules check if resources follow your policies, such as "all EBS volumes must be encrypted". Non-compliant resources are reported, and you can fix them automatically with remediation actions.
Q8. What is a CloudWatch dashboard? Fresher
A dashboard is a customisable page in the CloudWatch console that shows graphs and numbers for your metrics, logs queries and alarms in one place.
Dashboards can show data from multiple Regions and, with cross-account observability, from multiple accounts.
Example: a "shop-prod" dashboard with ALB request count, 5XX errors, target response time, ECS CPU, RDS connections and SQS queue age.
A good dashboard helps the on-call engineer see the health of a service in a few seconds.
Q9. What is the difference between a management event and a data event in CloudTrail? Fresher
Management events are control plane operations on resources, such as creating an EC2 instance, changing an IAM policy or deleting a bucket. They are recorded by default.
Data events are operations on the data inside resources, such as S3 GetObject and PutObject, Lambda Invoke, or DynamoDB item reads. They are high volume, so they are not recorded by default and have extra cost.
Turn on data events only for important resources, using advanced event selectors.
Q10. What is AWS Systems Manager? Fresher
Systems Manager is a set of tools to view and manage EC2 instances, on-premises servers and other resources.
Main features:
- Session Manager: shell access without SSH or open ports.
- Run Command: run scripts on many servers at once.
- Patch Manager: automate OS patching.
- Parameter Store: store configuration and secrets.
- Automation: run step-by-step runbooks.
- Inventory: list software installed on servers.
Instances need the SSM Agent and an IAM role with the right permissions.
Q11. Why does choosing the wrong dimension make a CloudWatch alarm watch the wrong thing? Fresher
A namespace is a container for metrics, such as AWS/EC2, AWS/ApplicationELB, or a custom one like ShopApp.
A dimension is a name-value pair that identifies a specific metric, such as InstanceId=i-0a1b2c3d4e5f60001 or LoadBalancer=app/shop-alb/1234abcd.
The same metric name with different dimensions is a different metric. That is why you must choose the right dimension when you create an alarm.
Q12. What is a CloudWatch metric filter? Fresher
A metric filter turns matching log lines into a CloudWatch metric.
Example: count lines that contain "ERROR" in the log group /shop/api, and publish them as the metric ApiErrorCount.
Then you can create an alarm when ApiErrorCount is above 10 in 5 minutes.
Metric filters only work on log events that arrive after you create the filter. They do not scan old logs.
Q13. How do you see recent alarms in the ALARM state with the CLI? Fresher
Use describe-alarms with a state filter.
aws cloudwatch describe-alarms --state-value ALARM --query "MetricAlarms[].{name:AlarmName,metric:MetricName,since:StateUpdatedTimestamp}" --output tableOutput:
----------------------------------------------------------------------
| DescribeAlarms |
+--------------------+--------------------+--------------------------+
| metric | name | since |
+--------------------+--------------------+--------------------------+
| HTTPCode_ELB_5XX | shop-alb-5xx-high | 2026-11-19T11:42:10Z |
+--------------------+--------------------+--------------------------+One alarm is firing for load balancer 5XX errors since 11:42 UTC, which is 17:12 IST. Start the investigation there.
Q14. What does the AWS Health Dashboard show? Fresher
The AWS Health Dashboard shows events that affect AWS services and your account.
The service health view shows the general status of AWS services in each Region.
Your account health view shows events that affect your own resources, such as scheduled EC2 retirements, EBS volume problems, or an issue in one AZ that affects your instances.
You can send AWS Health events to EventBridge to alert your team automatically.
Q15. What is AWS Trusted Advisor? Fresher
Trusted Advisor checks your account against AWS best practices and gives recommendations.
Categories include cost optimisation, performance, security, fault tolerance, service limits and operational excellence.
Examples: idle load balancers, underused EC2 instances, security groups open to the world, S3 buckets with open access, and services close to their quota.
All accounts get some core checks. Business, Enterprise On-Ramp and Enterprise Support plans get the full set of checks.
Q16. How do you count errors per five minutes with CloudWatch Logs Insights, and what does the query cost depend on? Fresher
Logs Insights is an interactive query tool for CloudWatch Logs.
fields @timestamp, @message
| filter @message like /ERROR/
| stats count(*) as errors by bin(5m)
| sort errors descOutput:
bin(5m) errors
2026-11-19 11:40:00 127
2026-11-19 11:45:00 98errors were highest in the 11:40 to 11:45 UTC window. You pay for the amount of data scanned, so choose a narrow time range and only the log groups you need.
Q17. What is an SNS notification for a CloudWatch alarm? Fresher
An alarm action can publish a message to an SNS topic when the alarm changes state.
Subscribers to that topic can be email addresses, SMS, Lambda functions, HTTPS endpoints, or chat tools through Amazon Q Developer in chat applications.
Example: the alarm "rds-cpu-high" goes to ALARM, SNS sends an email to the on-call team, and a Lambda function posts a message to the team chat.
Also add an OK action so the team knows when the problem is over.
3. Mid level questions
These questions check how you use the service in real projects. Interviewers expect the why, the how and one real example.
Q18. What does "datapoints to alarm" mean in a CloudWatch alarm? Mid level
An alarm looks at the last N periods (evaluation periods) and goes to ALARM when M of them breach the threshold (datapoints to alarm).
Example: period 1 minute, evaluation periods 5, datapoints to alarm 3. The alarm fires if any 3 of the last 5 minutes have CPU over 80 percent.
This "M out of N" setting reduces false alarms from short spikes, while still catching real problems quickly.
Q19. How should an alarm treat missing data? Mid level
You choose one option:
- missing (the default): missing points are not counted when the alarm decides. If every point is missing, the alarm goes to INSUFFICIENT_DATA.
- notBreaching: treat missing data as good.
- breaching: treat missing data as bad.
- ignore: keep the current state.
Pick based on meaning. For a heartbeat metric that should always arrive, missing data is bad, so use breaching. For an error count that is only published when errors happen, missing data means no errors, so use notBreaching.
Q20. What are composite alarms? Mid level
A composite alarm combines other alarms with a rule using AND, OR and NOT.
Example: alert the on-call engineer only if "5XX errors high" AND "latency high" are both in ALARM. This reduces noise from single noisy signals.
You can also use composite alarms to suppress alerts during maintenance windows, or to send one summary alert instead of many.
Composite alarms help with alert fatigue, which is a real problem in large systems.
Q21. What is CloudWatch anomaly detection? Mid level
Anomaly detection learns the normal pattern of a metric, including daily and weekly cycles, and creates an expected band.
You can create an alarm when the metric goes outside the band, instead of using a fixed number.
Example: an e-commerce site has high traffic in the evening and low at night. A fixed threshold would either miss night problems or fire every evening. Anomaly detection handles both.
It needs some history to learn, and you can exclude periods like sale events from training.
Q22. What is the embedded metric format (EMF)? Mid level
EMF is a JSON structure you write to logs. CloudWatch automatically extracts metrics from it.
Example from a Lambda function: one log line with orderId, amount and a metric "OrdersPlaced" with dimension "Country".
Benefits: you get custom metrics without calling the PutMetricData API, the call does not slow the function, and detailed context stays in the log for investigation.
Powertools for AWS Lambda has a metrics utility that writes EMF for you.
Q23. How do you send logs from many accounts to one central place? Mid level
Common options:
- CloudWatch cross-account observability: link source accounts to a monitoring account to view metrics, logs and traces centrally.
- Subscription filters: stream log groups to Firehose, then to S3 or OpenSearch in a central logging account.
- An organization CloudTrail trail to a central S3 bucket in a log archive account.
Protect the central account with strict access, S3 Object Lock if needed, and retention policies.
Q24. What is CloudTrail log file integrity validation? Mid level
When it is on, CloudTrail creates a digest file every hour. The digest contains hashes of the log files delivered in that hour and is signed.
Later you can run aws cloudtrail validate-logs to prove that log files were not changed or deleted after delivery.
This is important for audits and forensic investigations, because attackers may try to hide their activity by editing logs.
Q25. What are CloudTrail Insights events? Mid level
CloudTrail Insights watches write management events and detects unusual activity, such as a sudden spike in API call volume or error rates compared to normal.
Example: the normal rate of TerminateInstances is 2 per hour, and suddenly it is 200. Insights creates an event that you can alert on.
It is an extra-cost feature that you turn on for a trail or event data store. It helps detect automation bugs and compromised credentials.
Q26. What are AWS Config conformance packs and remediation? Mid level
A conformance pack is a collection of Config rules and remediation actions, deployed together, often based on a framework like CIS or an operational best practice.
Remediation uses Systems Manager Automation documents to fix non-compliant resources. It can be manual (a button) or automatic.
Example: rule "S3 buckets must block public access". Remediation runs an automation that turns Block Public Access on.
Use an aggregator to see compliance across all accounts and Regions.
Q27. What is AWS X-Ray used for? Mid level
X-Ray traces requests as they travel through your application, such as API Gateway, Lambda, DynamoDB and external HTTP calls.
It shows a service map and timelines, so you can see which part of a request is slow or failing.
Example: a checkout API takes 3 seconds. The trace shows 2.6 seconds are spent in a call to a payment provider.
Many teams now send traces using OpenTelemetry (for example with the AWS Distro for OpenTelemetry), and use CloudWatch Application Signals for service-level views.
Q28. What are CloudWatch Synthetics canaries? Mid level
A canary is a script that runs on a schedule to test your endpoints or user journeys from outside, like a real user.
Example: every 5 minutes, open the home page, search for a product, add it to cart, and check that each step works within 2 seconds.
Canaries create metrics, screenshots and logs. Alarms on canary success rate find problems before customers complain, even when traffic is low at night.
Q29. How do you run a command on 100 servers safely with Systems Manager? Mid level
Use Run Command with targets and rate controls.
aws ssm send-command --document-name "AWS-RunShellScript" --targets "Key=tag:Role,Values=web" --parameters commands="systemctl restart nginx" --max-concurrency "10%" --max-errors "2" --comment "nginx restart after config change"SSM runs the command on all instances tagged Role=web, 10 percent at a time, and stops if more than 2 fail. Output can be saved to S3 or CloudWatch Logs, and every run is logged in CloudTrail.
Q30. What is CloudWatch Contributor Insights? Mid level
Contributor Insights analyses log data or DynamoDB traffic and shows the top contributors to a metric.
Examples: the top 10 IP addresses causing 4XX errors in your API logs, or the most accessed partition keys in a DynamoDB table.
It helps you find "who or what is causing this", such as a noisy client, a bot, or a hot key, much faster than reading raw logs.
Q31. How do you control CloudWatch costs? Mid level
Main cost drivers are log ingestion, log storage, custom metrics, detailed monitoring, alarms and queries.
Ways to save:
- Set retention on every log group.
- Lower log levels in production, and avoid logging large payloads.
- Use the Infrequent Access log class for logs you rarely query.
- Remove unused custom metrics and dashboards.
- Keep high-cardinality dimensions, such as user IDs, out of metrics. Put them in logs instead.
- Narrow Logs Insights time ranges.
Track monitoring cost by account and service in Cost Explorer.
Q47. What is CloudWatch metric math? Mid level
Metric math lets you calculate new time series from existing metrics, in graphs and alarms.
Example: error rate percent = 100 × HTTPCode_Target_5XX_Count / RequestCount for an ALB.
An alarm on this error rate is better than an alarm on the raw error count, because 50 errors out of 100 requests is a disaster, while 50 out of 1 million is normal.
You can also use functions like SUM, AVG, FILL for missing data, and SEARCH to include many metrics at once.
Q48. What is a CloudWatch Logs subscription filter? Mid level
A subscription filter streams matching log events in near real time from a log group to a destination.
Destinations include Kinesis Data Streams, Amazon Data Firehose, Lambda, and OpenSearch Service, and you can send to another account through a destination.
Example: stream all ERROR lines from production log groups to a Lambda function that creates tickets, or stream everything to Firehose and then to S3 for long-term, low-cost storage.
Q49. How do you manage the CloudWatch agent configuration across many servers? Mid level
Store the agent configuration JSON in SSM Parameter Store, for example as AmazonCloudWatch-linux-web.
Then use Systems Manager to install and start the agent on many instances with the AmazonCloudWatch-ManageAgent document, pointing to that parameter.
When you change the config, update the parameter and run the document again. All servers get the same metrics and log settings.
The instance role needs the CloudWatchAgentServerPolicy and SSM permissions.
Q50. What is a Systems Manager Automation runbook? Mid level
An Automation runbook is a document with ordered steps that perform operational tasks, such as creating an AMI, restarting a service, or fixing a non-compliant resource.
AWS provides many ready runbooks, such as AWS-RestartEC2Instance, and you can write your own in YAML or JSON with steps that call AWS APIs, run scripts or wait for approval.
Runbooks can be started manually, by EventBridge rules, by Config remediation, or by alarms. Every run is logged, which is great for audits.
4. Senior level and scenario questions
These questions check design thinking and troubleshooting. Think aloud. Say what you check first, what you change, and how you prevent it next time.
Q32. Your website is down at 2 AM. Walk through your first 15 minutes. Senior
Stay calm and follow a sequence.
- Acknowledge the alert and tell the team an incident has started.
- Check user impact: synthetic canary, ALB 5XX and request count.
- Check what changed: recent deployments, CloudTrail for config changes, and the AWS Health Dashboard.
- Check each layer: load balancer target health, app logs, database metrics, queue age.
- Mitigate first: roll back a bad deployment, scale out, or fail over. Root cause can wait until users are back.
- Keep a timeline of actions, and update stakeholders every 15 to 30 minutes.
Afterwards, run a blameless post-incident review.
Q33. Someone deleted a production security group rule and nobody admits it. How do you find out who did it? Senior
Use CloudTrail.
- Search event history for RevokeSecurityGroupIngress with the security group ID in the time window.
- The event shows the userIdentity: IAM user, or role session name with the original identity for federated users and IAM Identity Center users.
- It also shows source IP, user agent (console, CLI, Terraform) and the exact rule removed.
- AWS Config shows the configuration before and after.
Then restore the rule, and prevent it in future with IaC, change reviews, and a Config rule or EventBridge alert on security group changes.
Q34. How do you design alerting so the on-call team is not flooded with alerts? Senior
Alert on symptoms, not on every cause.
- Page people only for user-impacting signals: error rate, latency, availability, based on SLOs.
- Send non-urgent alerts, such as disk at 70 percent, to a ticket queue, not a page.
- Use M-of-N datapoints, composite alarms and anomaly detection to reduce noise.
- Every page must have a runbook link and an owner.
- Review alerts monthly: delete or tune alerts that fired without action.
Good alerting improves sleep and response speed.
Q35. How would you set up centralised security logging for an organisation with 40 accounts? Senior
Build a log archive account and a security tooling account.
- Organization CloudTrail trail delivering to an S3 bucket in the log archive account, with KMS encryption, Object Lock and log file validation.
- AWS Config with an aggregator in the security account.
- VPC Flow Logs and other service logs sent to central S3.
- GuardDuty and Security Hub with a delegated administrator in the security account.
- Restrict who can read and nobody can delete logs. Use SCPs to stop member accounts disabling logging.
- Query with Athena or a SIEM.
Q36. An EC2-based application is slow but CPU is only 20 percent. What do you check? Senior
CPU is not the only bottleneck.
- Memory: check mem_used_percent from the CloudWatch agent and swap use.
- Disk: EBS queue length and latency, and burst balance on gp2 volumes.
- Network: packets dropped or allowances exceeded in ENA metrics.
- T-instance CPU credits: CPUCreditBalance at zero means throttled CPU.
- Downstream: database query time, external API calls. Use X-Ray traces.
- App level: thread pools, connection pools, locks and garbage collection pauses.
Look for the metric that changed at the same time the slowness began.
Q37. How do you detect configuration drift between environments? Senior
Use several layers.
- Infrastructure as code drift detection, such as CloudFormation drift detection or terraform plan, to compare live resources with code.
- AWS Config to record changes and evaluate rules across accounts.
- EventBridge alerts on manual console changes to important resources, by checking the CloudTrail userAgent or the principal.
- Policies that restrict manual changes in production, so changes come only from pipelines.
Then fix drift by updating the code or re-applying it, never by more manual changes.
Q38. Logs show many "ThrottlingException" errors from AWS APIs in your automation. What do you do? Senior
AWS APIs have request rate limits. Too many calls in a short time are throttled.
- Use the SDK's built-in retries with exponential backoff and jitter, and set an adaptive retry mode.
- Reduce calls: cache results, use batch APIs, and use pagination correctly instead of repeated full listings.
- Spread scheduled jobs so they do not all start at the same minute.
- Use events (EventBridge) instead of polling for changes.
- If the use is valid and steady, request a quota increase in Service Quotas where the limit is adjustable.
Use CloudTrail errorCode to find which callers are throttled.
Q39. How would you monitor a microservices system with 30 services? Senior
Standardise first.
- Every service emits structured logs with a request or trace ID.
- Every service publishes the same golden signals: request rate, error rate, latency and saturation.
- Distributed tracing with OpenTelemetry to X-Ray or Application Signals.
- SLOs per service, with alerts on error budget burn rate.
- A dashboard per service and one top-level dashboard.
- Central log search with Logs Insights or OpenSearch.
Templates in IaC make every new service get monitoring automatically.
Q40. Your AWS bill shows high CloudTrail costs. What could be the reason? Senior
The first copy of management events in each Region is free in a trail. Extra costs come from:
- Data events, especially for busy S3 buckets or Lambda functions.
- Multiple trails recording the same management events, because extra copies are charged.
- CloudTrail Insights and CloudTrail Lake ingestion and queries.
Fixes: use advanced event selectors to record data events only for important buckets or prefixes, remove duplicate trails, and check whether Lake retention matches your needs.
Q41. How do you make sure an EC2 instance recovers automatically from a hardware failure? Senior
Use automatic recovery.
- Many current instance types have simplified automatic recovery on by default. It recovers the instance when a system status check fails because of an underlying hardware problem.
- You can also create a CloudWatch alarm on StatusCheckFailed_System with the EC2 recover action.
- A recovered instance keeps its instance ID, private IP, Elastic IP and EBS data. Instance store data is lost.
For full high availability, an Auto Scaling group across AZs is still better than recovering one instance.
Q42. What would you put in a runbook for "database connections exhausted"? Senior
A runbook gives clear steps under pressure.
- Symptoms: app errors "too many connections", DatabaseConnections metric near max.
- Checks: which clients hold connections (pg_stat_activity or SHOW PROCESSLIST), recent deployments, Lambda concurrency spike, connection leaks.
- Immediate actions: kill idle connections, restart the leaking service, cap Lambda concurrency, or scale the database.
- Escalation: who to call and when.
- Long-term fixes: RDS Proxy, connection pool tuning, and an alarm at 80 percent of max connections.
Link the runbook from the alarm itself.
Q43. How do you prove to an auditor that all S3 buckets are encrypted and not public? Senior
Use continuous, evidence-based controls.
- AWS Config managed rules for S3 public access and encryption, evaluated across all accounts with an aggregator.
- Security Hub controls for S3 with a compliance score.
- IAM Access Analyzer findings for public or cross-account buckets.
- Account-level Block Public Access enforced by an SCP.
- Export reports, such as Config compliance history, as evidence.
Explain that new S3 objects are encrypted by default with SSE-S3, and say whether your policy needs SSE-KMS.
Q44. How do you correlate a spike in errors with a deployment? Senior
Make deployments visible in monitoring.
- Add deployment markers to dashboards, for example from the pipeline or CodeDeploy events.
- Include the version or commit ID in every log line and trace.
- Use Logs Insights to group errors by version: if all errors come from the new version, roll back.
- Use canary or linear deployments with alarms that roll back automatically.
This turns "is it the deployment?" from a guess into a quick fact.
Q45. How do you track and avoid hitting AWS service quotas in production? Senior
Quotas can cause outages, such as "cannot launch more instances" during a scale-out.
- Check Service Quotas for key limits: EC2 vCPUs, Lambda concurrency, EIPs, VPC limits, API rates.
- Many quotas publish usage metrics in CloudWatch. Create alarms at 80 percent of the quota.
- Trusted Advisor service limit checks help too.
- Request increases early, before launches and sale events.
- Add quota checks to new account templates.
Q46. How do you respond to a GuardDuty finding that an EC2 instance is mining cryptocurrency? Senior
Treat it as a security incident.
- Isolate the instance: change its security group to one with no inbound and no outbound rules, but keep it running for forensics.
- Take EBS snapshots for evidence.
- Check its IAM role activity in CloudTrail. If the role was misused, revoke its sessions.
- Find the entry point: an exposed port, a vulnerable app, or leaked keys.
- Rebuild from a clean AMI, patch, and rotate credentials.
- Automate the first containment steps with EventBridge and Lambda or Systems Manager Automation for next time.
5. Frequently asked questions
What is the one-line difference between CloudWatch, CloudTrail and Config?
CloudWatch watches performance and logs. CloudTrail records API activity: who did what, when and from where. Config records resource configuration over time and checks it against rules.
Do I need to know PromQL or Grafana for AWS interviews?
For DevOps and SRE roles, basic knowledge helps, because many teams use Amazon Managed Service for Prometheus and Amazon Managed Grafana. For cloud support roles, CloudWatch is usually enough.
How should I describe an incident I handled?
Use a short story: what alerted you, what you checked, the root cause, the fix, and what you changed so it would not happen again.
6. Quick revision
- EC2 memory and disk usage need the CloudWatch agent.
- Alarms have three states: OK, ALARM and INSUFFICIENT_DATA.
- CloudWatch Logs retention is "never expire" by default. Set it.
- CloudTrail event history keeps 90 days of management events. Use a trail for longer.
- Config rules plus automatic remediation keep resources compliant.
7. Related chapters
- Amazon CloudWatch Explained: Metrics, Namespaces, Alarms and SNS Email Alerts
- How to Send Logs from Multiple EC2 Instances to CloudWatch Logs (Agent, SSM, Logs Insights)
- How to Create a CloudWatch Dashboard for Multiple EC2 Instances
- AWS Config and CloudTrail: Compliance and API Audit Logs Explained
- AWS Systems Manager: Session Manager, Patch and Run Command Explained
- Serverless Observability: X-Ray, Powertools and Structured Logs
- AWS CLI CloudWatch Commands: Metrics, Alarms and Logs
This page is one part of a 500-question AWS interview set. Open the full list here: All 500 AWS interview questions.