CloudWatch

관리·거버넌스 연관 문항 60개

지표·로그·알람의 중앙 창구

이게 뭔가요? / What is this?

CloudWatch는 저장 장치가 아니라, AWS 자원들의 상태를 계속 지켜보고 이상이 생기면 알람을 울리는 관리형 관제실 서비스입니다. 건물 중앙 관제실의 계기판과 경보 시스템처럼, 수치(지표)를 실시간으로 보여주고 임계값을 넘으면 경보를 울리며 필요하면 자동으로 대응 조치까지 연결할 수 있습니다.

개요 / Overview

CloudWatch는 AWS 리소스의 지표를 수집하고 로그를 모으며 임계값을 넘으면 알람을 울립니다. Auto Scaling과 자동 대응의 방아쇠 역할을 합니다.

동작 원리 / How it works

CloudWatch는 지표(숫자 시계열), 로그(텍스트 스트림), 알람(지표 임계값 감시), 이벤트(EventBridge로 이관)를 다룹니다. AWS 서비스는 기본 지표를 자동으로 보내지만, 하이퍼바이저 밖에서 볼 수 없는 값(메모리 사용률, 디스크 여유 공간, 프로세스 상태)은 인스턴스 안의 CloudWatch 에이전트가 사용자 지정 지표로 올려야 합니다. 이 경계가 시험의 단골 함정입니다.

알람은 임계값을 넘으면 SNS 알림, Auto Scaling 정책 실행, EC2 작업(재부팅·종료·복구)을 트리거할 수 있습니다. 로그 그룹의 기본 보존 기간은 무기한이라, 비용 문제에서는 보존 정책 설정과 S3 내보내기가 정답이 됩니다.

시험은 무엇을 보는가 / What the exam is testing

시험은 CloudWatch를 두 방향으로 씁니다 — 무엇을 관측할 수 있는가(에이전트 필요 여부)와 관측 결과로 무엇을 자동화하는가(알람 → SNS·ASG·Lambda). CloudTrail과의 역할 구분(성능 vs 감사)도 반복 출제됩니다.

시험 포인트 / Exam points

메모리·디스크는 에이전트 필요

EC2의 CPU·네트워크는 기본 제공되지만 메모리 사용률과 디스크 여유 공간은 CloudWatch 에이전트를 설치해야 수집됩니다. 자주 나오는 함정입니다.

알람 → 자동 대응

알람이 SNS로 알리거나 Auto Scaling 정책을 실행하거나 EC2를 재부팅·종료할 수 있습니다. EventBridge와 조합하면 Lambda로 임의 조치도 가능합니다.

Logs Insights와 보존

로그 그룹의 보존 기간은 기본이 무기한이라 비용이 쌓입니다. 보존 정책을 설정하고 장기 보관은 S3로 내보내는 것이 비용 정답입니다.

자주 틀리는 함정 / Common traps

메모리 사용률 알람을 에이전트 없이 만들려는 선택지 — 기본 지표에 메모리는 없습니다.

"누가 이 리소스를 삭제했는가"를 CloudWatch로 답하는 것 — API 호출 기록은 CloudTrail입니다.

📝 이 개념 문제 풀기

Amazon CloudWatch

Management 60 related questions

The central place for metrics, logs, and alarms

이게 뭔가요? / What is this?

CloudWatch is not a storage device — it is a managed control-room service that continuously watches AWS resources and sounds an alarm when something goes wrong. Like a building central control room with gauges and alarm bells, it shows metrics in real time, alerts when a threshold is crossed, and can even trigger an automated response.

개요 / Overview

CloudWatch collects metrics, aggregates logs, and raises alarms on thresholds, acting as the trigger for auto scaling and automated response.

동작 원리 / How it works

CloudWatch handles metrics (numeric time series), logs (text streams), alarms (thresholds on metrics), and events (now EventBridge). AWS services publish base metrics automatically, but anything invisible from outside the hypervisor — memory utilisation, free disk space, process state — must be pushed as a custom metric by the CloudWatch agent inside the instance. That boundary is a recurring trap.

Alarms can notify SNS, execute an Auto Scaling policy, or take EC2 actions (reboot, terminate, recover). Log group retention defaults to never expire, so cost questions answer with setting retention and exporting to S3.

시험은 무엇을 보는가 / What the exam is testing

The exam uses CloudWatch two ways: what can be observed (does it need the agent?) and what the observation automates (alarm to SNS, ASG, or Lambda). The CloudTrail distinction — performance versus audit — also recurs.

시험 포인트 / Exam points

Memory and disk need the agent

CPU and network come free, but memory utilisation and disk space require the CloudWatch agent — a frequent trap.

Alarm to automated action

An alarm can notify SNS, execute an auto scaling policy, or reboot and terminate instances; combined with EventBridge it can run arbitrary Lambda remediation.

Logs Insights and retention

Log group retention defaults to never expire, so costs accumulate. Set a retention policy and export long-term archives to S3.

자주 틀리는 함정 / Common traps

Creating a memory-utilisation alarm without the agent — memory is not a default metric.

Answering "who deleted this resource" with CloudWatch — API call history is CloudTrail.

📝 Practice this concept

AWS SAA Hub Pro는 독립 학습 자료이며 Amazon Web Services, Inc.의 공식 서비스가 아닙니다. 시험 정책과 서비스 사양은 AWS 공식 문서를 기준으로 확인하세요.