Split View: AWS SysOps Administrator Associate (SOA-C02) 실전 모의고사 65문제
AWS SysOps Administrator Associate (SOA-C02) 실전 모의고사 65문제
시험 개요
AWS SysOps Administrator Associate(SOA-C02)는 AWS 플랫폼에서 시스템을 배포, 관리, 운영하는 능력을 검증하는 자격증입니다.
| 항목 | 내용 |
|---|---|
| 시험 코드 | SOA-C02 |
| 시험 시간 | 180분 |
| 문제 수 | 65개 (MCQ + 실기 labs) |
| 합격 점수 | 720점 / 1000점 |
| 시험 언어 | 영어, 일본어, 한국어, 중국어 간체 |
도메인별 출제 비율
| 도메인 | 내용 | 비율 |
|---|---|---|
| 1 | Monitoring, Logging and Remediation | 20% |
| 2 | Reliability and Business Continuity | 16% |
| 3 | Deployment, Provisioning and Automation | 18% |
| 4 | Security and Compliance | 16% |
| 5 | Networking and Content Delivery | 18% |
| 6 | Cost and Performance Optimization | 12% |
SysOps 핵심 운영 개념 요약
CloudWatch 핵심 지표
- 표준 지표: EC2 CPU, 네트워크, 디스크 I/O (5분 간격)
- 세부 모니터링: 1분 간격 데이터 수집 (추가 비용)
- 사용자 정의 지표: 메모리, 디스크 사용률 등 직접 퍼블리시
- Logs Insights: CloudWatch Logs에 대한 대화형 쿼리
- Contributor Insights: 상위 기여자 분석 (예: 요청이 많은 IP)
고가용성 패턴
- Multi-AZ: 동일 리전 내 여러 가용 영역 — RDS 자동 장애 조치
- Multi-Region: 여러 리전 배포 — 재해 복구, 지연 시간 최소화
- RTO vs RPO: RTO(복구 시간 목표), RPO(복구 시점 목표)
CloudFormation 핵심
- 스택 정책: 스택 업데이트 시 리소스 보호
- 롤백 트리거: 스택 생성/업데이트 실패 시 자동 롤백
- 드리프트 감지: 스택과 실제 리소스 차이 감지
실전 연습 문제 65문제
도메인 1: 모니터링, 로깅 및 수정
Q1. 운영팀이 EC2 인스턴스의 메모리 사용률을 CloudWatch에서 모니터링하려 합니다. 기본 CloudWatch 지표에는 메모리 사용률이 없습니다. 어떻게 해야 합니까?
A) CloudWatch 세부 모니터링을 활성화한다 B) CloudWatch 에이전트를 설치하고 사용자 정의 지표를 퍼블리시한다 C) AWS Systems Manager를 사용하여 메모리를 자동으로 추적한다 D) CloudTrail을 활성화하여 메모리 지표를 수집한다
정답: B
설명: EC2의 메모리 및 디스크 사용률은 CloudWatch 기본 지표에 포함되지 않습니다. CloudWatch 에이전트를 EC2 인스턴스에 설치하면 OS 수준의 지표를 사용자 정의 지표(Custom Metrics)로 CloudWatch에 퍼블리시할 수 있습니다.
Q2. CloudWatch 알람이 INSUFFICIENT_DATA 상태입니다. 이 상태가 의미하는 것은 무엇입니까?
A) 알람 임계값이 위반되었다 B) 알람을 평가하기에 충분한 데이터가 없다 C) 지표 데이터가 정상 범위에 있다 D) CloudWatch 서비스에 장애가 발생했다
정답: B
설명: INSUFFICIENT_DATA는 알람이 방금 생성되었거나, 지표가 사용 가능하지 않거나, 알람을 결정하기에 충분한 데이터가 수집되지 않은 상태입니다. ALARM(임계값 초과), OK(정상), INSUFFICIENT_DATA 세 가지 상태가 있습니다.
Q3. AWS Config를 사용하여 S3 버킷의 퍼블릭 액세스가 활성화될 때마다 자동으로 차단하려 합니다. 가장 적절한 방법은?
A) CloudTrail 이벤트를 Lambda 함수에 연결한다 B) AWS Config 규칙과 SSM Automation을 이용한 자동 수정(Auto-Remediation)을 설정한다 C) S3 버킷 정책에 퍼블릭 액세스 차단 조건을 추가한다 D) GuardDuty 알림을 SNS로 전송하고 Lambda로 처리한다
정답: B
설명: AWS Config는 규칙 위반 시 SSM Automation 문서를 통해 자동 수정(Remediation)을 실행할 수 있습니다. s3-bucket-public-read-prohibited 관리형 규칙과 AWS-DisableS3BucketPublicReadWrite 자동화 문서를 연결하면 됩니다.
Q4. CloudTrail에서 관리 이벤트(Management Events)와 데이터 이벤트(Data Events)의 차이점은 무엇입니까?
A) 관리 이벤트는 무료이고, 데이터 이벤트는 유료다 B) 관리 이벤트는 AWS 리소스에 대한 제어 플레인 작업이고, 데이터 이벤트는 리소스 내의 데이터 작업이다 C) 관리 이벤트는 IAM 작업만 기록하고, 데이터 이벤트는 모든 서비스를 기록한다 D) 관리 이벤트는 리전별로 다르고, 데이터 이벤트는 글로벌이다
정답: B
설명: 관리 이벤트(Control Plane)는 EC2 인스턴스 생성, IAM 정책 변경 등 AWS 리소스 관리 작업입니다. 데이터 이벤트(Data Plane)는 S3 객체 GetObject/PutObject, Lambda 함수 호출 등 리소스 내의 데이터 작업입니다. 데이터 이벤트는 볼륨이 크므로 별도 활성화가 필요합니다.
Q5. CloudWatch Contributor Insights를 사용하는 가장 적절한 시나리오는?
A) EC2 인스턴스의 CPU 사용률 임계값 알람 설정 B) 가장 많은 오류를 발생시키는 상위 IP 주소 식별 C) 여러 리전의 로그를 집계하여 단일 대시보드 표시 D) CloudTrail 로그를 S3에 자동으로 아카이브
정답: B
설명: CloudWatch Contributor Insights는 로그 데이터를 분석하여 시스템 성능에 영향을 미치는 상위 기여자(Contributor)를 식별합니다. 예를 들어 가장 많은 404 오류를 발생시키는 IP 주소나 가장 많은 요청을 보내는 사용자를 찾는 데 적합합니다.
Q6. 회사의 EC2 인스턴스가 매일 특정 시간에 CPU 사용률이 급증합니다. 이 패턴을 시각화하고 분석하는 가장 좋은 도구는?
A) AWS Trusted Advisor B) CloudWatch 대시보드와 지표 수식(Metric Math) C) AWS Cost Explorer D) AWS Personal Health Dashboard
정답: B
설명: CloudWatch 대시보드를 사용하면 여러 지표를 시각화하고, 지표 수식(Metric Math)으로 복합 계산을 수행할 수 있습니다. 시계열 데이터를 통해 일별 패턴을 분석하는 데 적합합니다.
Q7. AWS Systems Manager의 Patch Manager를 사용하여 EC2 인스턴스를 패치할 때, 패치가 적용되기 전에 어떤 정보를 먼저 정의해야 합니까?
A) 인스턴스의 AMI ID와 스냅샷 B) 패치 기준선(Patch Baseline)과 유지 관리 창(Maintenance Window) C) VPC 보안 그룹과 서브넷 D) CloudWatch 로그 그룹과 알람
정답: B
설명: Patch Manager를 사용하려면 패치 기준선(어떤 패치를 적용할지 정의)과 유지 관리 창(언제 패치를 적용할지 정의)을 설정해야 합니다. 패치 그룹(Patch Group)으로 인스턴스를 논리적으로 그룹화할 수도 있습니다.
Q8. CloudWatch Logs Insights 쿼리에서 "filter @message like /ERROR/"가 하는 일은?
A) ERROR 수준 이상의 모든 로그를 삭제한다 B) 메시지에 "ERROR" 문자열이 포함된 로그 이벤트를 필터링한다 C) ERROR 타입의 CloudWatch 알람을 생성한다 D) ERROR 이벤트를 S3로 자동 내보낸다
정답: B
설명: CloudWatch Logs Insights의 filter 명령은 조건에 맞는 로그 이벤트를 필터링합니다. like /ERROR/는 정규표현식을 사용하여 메시지에 "ERROR"가 포함된 이벤트를 선택합니다.
Q9. AWS Personal Health Dashboard와 AWS Service Health Dashboard의 차이점은?
A) Personal Health Dashboard는 유료이고, Service Health Dashboard는 무료다 B) Personal Health Dashboard는 내 AWS 리소스에 영향을 주는 이벤트를 보여주고, Service Health Dashboard는 모든 AWS 서비스의 전반적인 상태를 보여준다 C) Personal Health Dashboard는 글로벌 서비스만 표시하고, Service Health Dashboard는 리전별 서비스를 표시한다 D) 두 서비스는 동일한 정보를 제공하지만 UI가 다르다
정답: B
설명: AWS Personal Health Dashboard는 내 계정의 특정 리소스에 영향을 미치는 이벤트(예: 내 EC2가 있는 가용 영역의 장애)를 보여줍니다. Service Health Dashboard는 모든 AWS 서비스와 리전의 전반적인 상태를 공개적으로 보여줍니다.
Q10. CloudTrail Insights는 무엇을 감지합니까?
A) S3 버킷의 비정상적인 퍼블릭 액세스 B) API 호출 볼륨의 비정상적인 활동 C) EC2 인스턴스의 비정상적인 CPU 사용률 D) IAM 사용자의 비밀번호 변경
정답: B
설명: CloudTrail Insights는 계정의 AWS 관리 이벤트에서 비정상적인 API 활동(예: 갑작스러운 API 호출 급증)을 자동으로 감지합니다. 이를 통해 보안 침해 또는 운영 이슈를 조기에 식별할 수 있습니다.
도메인 2: 신뢰성 및 비즈니스 연속성
Q11. RDS Multi-AZ 배포에서 기본 인스턴스가 장애를 겪을 때 어떤 일이 발생합니까?
A) 애플리케이션을 수동으로 재구성해야 한다 B) AWS가 DNS를 자동으로 스탠바이 인스턴스로 전환한다 C) 읽기 전용 복제본이 기본 인스턴스로 승격된다 D) 가용 영역에 새로운 RDS 인스턴스가 자동 생성된다
정답: B
설명: RDS Multi-AZ에서 기본 인스턴스 장애 시, AWS는 자동으로 DNS 레코드를 스탠바이 인스턴스의 엔드포인트로 전환합니다. 일반적으로 60-120초 내에 장애 조치가 완료됩니다. 애플리케이션은 동일한 DNS 엔드포인트를 사용하므로 코드 변경이 불필요합니다.
Q12. Amazon EBS 스냅샷에 대한 올바른 설명은?
A) 스냅샷은 항상 증분 방식으로 저장되지만 복원 시 전체 볼륨을 복구한다 B) 스냅샷은 전체 복사로 저장되어 많은 스토리지를 사용한다 C) 스냅샷은 동일 리전 내에서만 사용할 수 있다 D) 스냅샷을 삭제하면 이전 스냅샷의 데이터도 함께 삭제된다
정답: A
설명: EBS 스냅샷은 증분(Incremental) 방식으로 저장됩니다. 첫 번째 스냅샷은 전체 볼륨을 저장하고, 이후 스냅샷은 변경된 블록만 저장합니다. 하지만 AWS가 내부적으로 관리하므로 각 스냅샷을 독립적으로 복원할 수 있습니다. 스냅샷은 다른 리전에 복사도 가능합니다.
Q13. Amazon Data Lifecycle Manager(DLM)의 주요 용도는?
A) S3 객체의 수명 주기 정책 관리 B) EBS 스냅샷 및 AMI의 자동 생성, 보존, 삭제 자동화 C) RDS 자동 백업 일정 설정 D) CloudWatch 로그의 보존 기간 관리
정답: B
설명: Amazon Data Lifecycle Manager(DLM)는 EBS 스냅샷 및 EBS 지원 AMI의 생성, 보존, 삭제를 자동화합니다. 정책을 생성하여 스케줄에 따라 스냅샷을 자동으로 생성하고 지정된 기간 후 삭제할 수 있습니다.
Q14. Route 53 장애 조치(Failover) 라우팅 정책을 설정할 때 필수 요소는?
A) 여러 리전의 리소스와 가중치 설정 B) 기본(Primary)과 보조(Secondary) 레코드, 그리고 상태 확인(Health Check) C) 지리적 위치 기반 라우팅 규칙 D) CloudFront 배포와 연결된 오리진 설정
정답: B
설명: Route 53 장애 조치 라우팅은 Primary와 Secondary 레코드로 구성됩니다. Primary에 연결된 상태 확인이 실패하면 자동으로 Secondary로 트래픽이 전환됩니다. 상태 확인은 HTTP, HTTPS, TCP 중 하나를 사용할 수 있습니다.
Q15. RDS 포인트 인 타임 복구(Point-in-Time Recovery)의 최대 복구 가능 기간은?
A) 7일 B) 14일 C) 35일 D) 90일
정답: C
설명: RDS 자동 백업을 활성화하면 최대 35일간의 포인트 인 타임 복구(PITR)가 가능합니다. 트랜잭션 로그는 5분 간격으로 S3에 저장됩니다. 기본 백업 보존 기간은 7일이며, 최대 35일까지 설정 가능합니다.
Q16. 글로벌 사용자를 위한 웹 애플리케이션에서 특정 리전이 완전히 중단되었을 때도 서비스를 유지하려 합니다. 가장 적합한 아키텍처는?
A) Multi-AZ RDS와 Auto Scaling 그룹 B) Route 53 장애 조치 + 다른 리전의 예비 인프라 C) CloudFront 배포와 오리진 그룹(Origin Group) D) B와 C를 결합한 멀티 리전 아키텍처
정답: D
설명: 리전 전체 장애에 대비하려면 멀티 리전 아키텍처가 필요합니다. Route 53 장애 조치로 DNS 레벨에서 다른 리전으로 전환하고, CloudFront 오리진 그룹으로 오리진 장애 시 백업 오리진으로 자동 전환할 수 있습니다. 두 메커니즘을 결합하면 가장 강력한 가용성을 제공합니다.
Q17. EBS 볼륨의 스냅샷을 다른 AWS 계정과 공유하려 합니다. 가능한 방법은?
A) S3 버킷에 스냅샷을 복사한 후 버킷 정책으로 공유한다 B) 스냅샷 권한 설정에서 특정 AWS 계정 ID를 추가한다 C) IAM 역할을 교차 계정으로 위임하여 스냅샷에 접근한다 D) AWS Organizations를 통해서만 스냅샷을 공유할 수 있다
정답: B
설명: EBS 스냅샷은 특정 AWS 계정 ID와 공유하거나 공개(Public)로 설정할 수 있습니다. 스냅샷 권한 수정 메뉴에서 공유할 계정 ID를 직접 추가합니다. 암호화된 스냅샷을 공유할 때는 KMS 키도 함께 공유해야 합니다.
Q18. Amazon Route 53 상태 확인(Health Check)에서 "Calculated Health Check"는 무엇입니까?
A) 리소스의 응답 시간을 계산하여 임계값과 비교하는 확인 B) 여러 상태 확인의 결과를 결합하여 상위 상태 확인을 만드는 기능 C) 자동으로 RTT를 계산하여 최적 엔드포인트를 선택하는 기능 D) CloudWatch 알람 상태를 기반으로 동작하는 상태 확인
정답: B
설명: Calculated Health Check는 여러 개의 자식 상태 확인(Child Health Check)을 결합하여 단일 상태 확인을 만드는 기능입니다. 예를 들어 웹 서버, DB, 캐시 서버의 상태 확인을 결합하여 전체 시스템의 건강 상태를 하나의 확인으로 표현할 수 있습니다.
Q19. 다음 중 RTO(Recovery Time Objective)에 대한 올바른 설명은?
A) 재해 발생 시 허용 가능한 최대 데이터 손실량 B) 재해 발생 후 시스템이 정상 운영을 재개하는 데 걸리는 최대 허용 시간 C) 백업 데이터를 복원하는 데 실제로 소요되는 시간 D) 재해 대비 시스템 구축에 투자하는 최대 비용
정답: B
설명: RTO(Recovery Time Objective)는 재해 발생 후 서비스를 복구하는 데 걸리는 최대 허용 시간입니다. RPO(Recovery Point Objective)는 허용 가능한 최대 데이터 손실 시점입니다. RTO가 낮을수록 더 많은 비용이 필요합니다.
Q20. AWS Backup을 사용하여 EC2, EBS, RDS, DynamoDB를 통합 관리하려 합니다. AWS Backup의 가장 큰 장점은?
A) 각 서비스의 백업 비용을 50% 절감한다 B) 여러 AWS 서비스의 백업을 중앙에서 정책 기반으로 관리한다 C) 자동으로 최적의 백업 간격을 결정한다 D) 백업 데이터를 자동으로 암호화하고 다른 계정으로 전송한다
정답: B
설명: AWS Backup은 EC2, EBS, RDS, Aurora, DynamoDB, EFS, Storage Gateway 등 여러 AWS 서비스의 백업을 중앙에서 정책(백업 계획) 기반으로 통합 관리할 수 있게 합니다. 규정 준수 및 감사를 위한 백업 활동 보고서도 제공합니다.
도메인 3: 배포, 프로비저닝 및 자동화
Q21. CloudFormation 스택 업데이트 중 리소스 교체(Replacement)가 발생하는 경우는?
A) EC2 인스턴스 유형 변경 B) S3 버킷 이름 변경 C) EC2 태그 변경 D) CloudWatch 알람 임계값 변경
정답: B
설명: CloudFormation에서 일부 속성 변경은 리소스 교체(기존 삭제 후 새 리소스 생성)를 유발합니다. S3 버킷 이름은 불변 속성이므로 변경 시 기존 버킷이 삭제되고 새 버킷이 생성됩니다. EC2 인스턴스 유형과 태그는 중단 없이 업데이트됩니다.
Q22. CloudFormation 스택 정책(Stack Policy)의 목적은?
A) CloudFormation 스택을 배포할 수 있는 IAM 사용자를 제한한다 B) 스택 업데이트 중 특정 리소스의 수정을 방지한다 C) 스택의 최대 리소스 수를 제한한다 D) 프로덕션 환경의 스택을 삭제로부터 보호한다
정답: B
설명: CloudFormation 스택 정책은 스택 업데이트 중 특정 리소스에 대한 업데이트 작업(Update, Delete, Replace)을 제어합니다. 프로덕션 데이터베이스나 중요 리소스를 실수로 수정하거나 삭제하는 것을 방지하는 데 사용됩니다.
Q23. AWS Systems Manager Session Manager의 주요 이점은?
A) 인스턴스에 IAM 역할 없이도 SSH 접근이 가능하다 B) SSH 포트(22번)를 열거나 배스천 호스트 없이 EC2 인스턴스에 안전하게 접근할 수 있다 C) RDP와 SSH 모두 단일 포트로 접속할 수 있다 D) 인스턴스의 OS를 원격으로 자동 업그레이드한다
정답: B
설명: Session Manager는 인바운드 포트를 열거나 배스천 호스트를 운영하지 않고도 EC2 인스턴스에 안전하게 접속할 수 있게 합니다. 모든 세션 활동은 CloudTrail 및 CloudWatch Logs에 기록됩니다. 인스턴스에 SSM 에이전트와 적절한 IAM 역할이 필요합니다.
Q24. CloudFormation 드리프트 감지(Drift Detection)란?
A) CloudFormation 스택의 배포 시간을 측정한다 B) 스택 리소스가 CloudFormation 템플릿에서 정의된 예상 설정과 다른지 감지한다 C) 스택 간의 의존성을 자동으로 분석한다 D) 자동으로 템플릿을 최신 버전으로 업데이트한다
정답: B
설명: 드리프트 감지는 CloudFormation 스택의 실제 리소스 설정이 템플릿에서 정의된 예상 설정과 얼마나 다른지 감지합니다. 콘솔이나 CLI를 통해 수동으로 변경된 리소스를 찾아내어 인프라 구성의 일관성을 유지하는 데 도움이 됩니다.
Q25. AWS OpsWorks는 주로 어떤 용도로 사용됩니까?
A) EC2 인스턴스의 비용 최적화 B) Chef 또는 Puppet을 사용하여 서버 구성을 자동화 C) 서버리스 애플리케이션의 배포 자동화 D) 컨테이너 오케스트레이션
정답: B
설명: AWS OpsWorks는 Chef 및 Puppet을 사용하는 관리형 구성 관리 서비스입니다. OpsWorks Stacks는 Chef recipes를 사용하여 서버 구성을 자동화합니다. OpsWorks for Chef Automate와 OpsWorks for Puppet Enterprise는 완전 관리형 서버를 제공합니다.
Q26. EC2 Auto Scaling에서 "스케일 인(Scale-in) 보호"를 인스턴스에 적용하면 어떤 효과가 있습니까?
A) 인스턴스가 Auto Scaling 그룹에서 제거되지 않는다 B) 인스턴스의 스펙이 자동으로 업그레이드된다 C) 스케일 인 이벤트 시 해당 인스턴스가 먼저 종료된다 D) 인스턴스의 헬스 체크를 비활성화한다
정답: A
설명: 스케일 인 보호(Scale-in Protection)를 인스턴스에 적용하면, Auto Scaling 그룹이 스케일 인(인스턴스 수 감소)할 때 해당 인스턴스가 종료되지 않습니다. 중요한 배치 작업을 처리 중인 인스턴스나 특정 상태를 가진 인스턴스를 보호하는 데 유용합니다.
Q27. AWS Service Catalog의 주요 사용 사례는?
A) AWS 서비스의 비용을 비교하고 최적화한다 B) 조직이 승인한 IT 서비스 포트폴리오를 셀프 서비스 형태로 사용자에게 제공한다 C) 타사 소프트웨어를 AWS 마켓플레이스에서 자동 구매한다 D) 여러 계정의 AWS 서비스 사용량을 통합 대시보드로 모니터링한다
정답: B
설명: AWS Service Catalog는 조직이 IT 팀이 승인한 제품(CloudFormation 템플릿 기반)을 포트폴리오로 구성하고, 최종 사용자(개발팀 등)가 승인된 리소스를 셀프 서비스로 프로비저닝할 수 있게 합니다. 거버넌스를 유지하면서도 사용자 자율성을 부여합니다.
Q28. Systems Manager Automation의 "실행 문서(Runbook)"는 무엇입니까?
A) 시스템 장애 대응 절차를 문서화한 PDF B) 일련의 자동화 작업을 정의한 SSM 문서 C) EC2 인스턴스의 OS 부팅 스크립트 D) CloudFormation 스택의 매개변수 파일
정답: B
설명: SSM Automation 문서(Runbook)는 YAML 또는 JSON 형식으로 작성된 일련의 자동화 단계를 포함합니다. AMI 생성, 인스턴스 중지/시작, 패치 적용 등의 운영 작업을 자동화하는 데 사용됩니다. AWS 관리형 문서와 사용자 정의 문서를 사용할 수 있습니다.
Q29. CloudFormation 변경 세트(Change Set)의 목적은?
A) 스택 변경 사항을 GitOps 방식으로 관리한다 B) 스택 업데이트 전에 어떤 리소스가 어떻게 변경될지 미리 확인한다 C) 여러 리전에 동시에 스택 변경을 배포한다 D) 변경 사항을 자동으로 테스트하고 롤백한다
정답: B
설명: 변경 세트(Change Set)를 사용하면 CloudFormation 스택을 실제로 업데이트하기 전에 어떤 리소스가 추가, 수정, 삭제될지 미리 확인할 수 있습니다. 의도하지 않은 리소스 교체나 삭제를 방지하는 데 중요한 안전 메커니즘입니다.
Q30. 대규모 EC2 플릿의 OS 업데이트를 중단 없이 자동화하려 합니다. 가장 적절한 방법은?
A) 모든 인스턴스를 동시에 종료하고 새 AMI로 재시작한다 B) Systems Manager Patch Manager와 유지 관리 창(Maintenance Window)을 사용하여 단계적으로 패치를 적용한다 C) CloudFormation으로 모든 인스턴스를 새로 배포한다 D) Lambda 함수를 사용하여 각 인스턴스에 SSH로 접속하여 패치를 적용한다
정답: B
설명: Systems Manager Patch Manager는 대규모 EC2 플릿에 패치를 자동으로 적용합니다. 유지 관리 창을 사용하면 비업무 시간에 패치를 수행하고, 패치 비율(Rate Control)로 한 번에 패치할 인스턴스 수를 제한하여 서비스 중단을 최소화할 수 있습니다.
도메인 4: 보안 및 규정 준수
Q31. IAM 권한 경계(Permission Boundary)의 역할은?
A) IAM 사용자가 접근할 수 있는 AWS 리전을 제한한다 B) IAM 엔터티(사용자, 역할)가 가질 수 있는 최대 권한을 정의한다 C) MFA 없이 접근할 수 있는 서비스를 제한한다 D) 루트 계정의 권한을 일반 사용자와 동일하게 제한한다
정답: B
설명: 권한 경계는 IAM 엔터티에 연결된 관리형 정책으로, 엔터티가 가질 수 있는 최대 권한을 설정합니다. 실제 권한은 권한 경계와 자격 증명 기반 정책의 교집합입니다. 예를 들어 개발자가 새 IAM 역할을 만들 수 있지만, 권한 경계를 초과하는 권한을 부여하지 못하도록 제한할 수 있습니다.
Q32. Amazon Macie의 주요 기능은?
A) EC2 인스턴스의 취약점을 스캔한다 B) S3에 저장된 민감한 데이터(PII 등)를 자동으로 검색하고 보호한다 C) VPC 내 비정상적인 네트워크 트래픽을 탐지한다 D) IAM 정책의 과도한 권한을 자동으로 수정한다
정답: B
설명: Amazon Macie는 기계 학습을 사용하여 S3 버킷에 저장된 민감한 데이터(PII, 신용카드 번호, 의료 정보 등)를 자동으로 검색합니다. S3 버킷 보안 설정(퍼블릭 접근, 암호화 상태 등)도 평가합니다.
Q33. AWS Organizations에서 SCP(서비스 제어 정책)는 어디에 적용됩니까?
A) AWS 루트 계정에만 적용된다 B) 관리 계정을 제외한 모든 멤버 계정에 적용된다 C) 특정 IAM 사용자나 역할에만 적용된다 D) 마켓플레이스 구매에만 적용된다
정답: B
설명: SCP는 AWS Organizations의 루트(Root), OU(조직 단위), 또는 개별 계정에 적용됩니다. 단, 관리 계정(Management Account, 구 마스터 계정)에는 SCP가 적용되지 않습니다. SCP는 허용 목록(Allowlist) 또는 거부 목록(Denylist) 방식으로 사용할 수 있습니다.
Q34. Amazon GuardDuty는 어떤 소스에서 데이터를 분석합니까?
A) EC2 인스턴스의 애플리케이션 로그만 분석한다 B) VPC Flow Logs, DNS 로그, CloudTrail 이벤트 로그를 분석한다 C) S3 버킷의 모든 객체를 스캔한다 D) IAM 정책과 사용자 행동 패턴을 분석한다
정답: B
설명: GuardDuty는 VPC Flow Logs, DNS 쿼리 로그, AWS CloudTrail 관리 이벤트 및 S3 데이터 이벤트를 분석하여 위협을 탐지합니다. 기계 학습, 이상 탐지, 위협 인텔리전스를 결합하여 사이버 공격, 크립토마이닝 등의 위협을 식별합니다.
Q35. AWS KMS에서 키 교체(Key Rotation)를 자동으로 활성화하면 어떤 일이 발생합니까?
A) 기존 키가 즉시 삭제되고 새 키가 생성된다 B) 매년 새로운 암호화 키 재료(Key Material)가 생성되고, 기존 키로 암호화된 데이터는 자동으로 재암호화된다 C) 매년 새로운 KMS 키가 생성되고, 기존 키는 비활성화된다 D) 새로운 키 재료가 생성되지만, 기존 데이터의 재암호화는 수동으로 진행해야 한다
정답: D
설명: KMS 자동 키 교체를 활성화하면 매년(또는 설정한 기간마다) 새로운 암호화 키 재료가 생성됩니다. 중요한 점은 기존에 암호화된 데이터는 자동으로 재암호화되지 않습니다. KMS가 이전 키 재료를 유지하므로 기존 데이터 복호화는 계속 가능합니다.
Q36. IAM Access Analyzer는 어떤 문제를 식별합니까?
A) IAM 사용자의 비밀번호 복잡도 미달 B) 외부 엔터티(다른 계정, 인터넷)와 의도치 않게 공유된 리소스 C) 과도한 권한을 가진 IAM 역할 D) MFA를 사용하지 않는 IAM 사용자
정답: B
설명: IAM Access Analyzer는 S3 버킷, IAM 역할, KMS 키, SQS 큐, Lambda 함수 등이 외부 엔터티(다른 AWS 계정, IAM 사용자, 인터넷)와 공유될 수 있는 정책을 분석하여 의도치 않은 접근을 식별합니다.
Q37. AWS Security Hub의 주요 기능은?
A) 보안 규정 준수 감사를 위한 외부 감사자 액세스 제공 B) GuardDuty, Macie, Inspector 등 여러 AWS 보안 서비스의 발견 사항을 중앙에서 집계 C) EC2 인스턴스의 보안 패치를 자동으로 적용 D) VPC 네트워크 트래픽을 실시간으로 차단
정답: B
설명: AWS Security Hub는 GuardDuty, Amazon Inspector, Amazon Macie, AWS Firewall Manager 등 여러 AWS 보안 서비스의 보안 발견 사항을 중앙에서 집계하고 우선순위를 매깁니다. CIS AWS Foundations Benchmark, AWS Foundational Security Best Practices 등의 표준 기반 보안 검사도 수행합니다.
Q38. Amazon Inspector는 어떤 서비스를 스캔합니까?
A) S3 버킷의 퍼블릭 공개 설정 B) EC2 인스턴스와 컨테이너 이미지(ECR)의 소프트웨어 취약점 C) IAM 정책의 과도한 권한 D) CloudTrail 로그의 이상 활동
정답: B
설명: Amazon Inspector는 EC2 인스턴스와 Amazon ECR에 저장된 컨테이너 이미지의 소프트웨어 취약점(CVE) 및 의도하지 않은 네트워크 노출을 자동으로 검색합니다. Inspector v2는 SSM 에이전트를 통해 에이전트 없이도 스캔이 가능합니다.
Q39. AWS CloudHSM과 AWS KMS의 주요 차이점은?
A) CloudHSM은 소프트웨어 기반 암호화이고, KMS는 하드웨어 기반 암호화다 B) CloudHSM은 전용 하드웨어 보안 모듈을 제공하고, KMS는 관리형 서비스로 키를 공유 인프라에서 관리한다 C) CloudHSM은 무료이고, KMS는 유료다 D) CloudHSM은 리전별 서비스이고, KMS는 글로벌 서비스다
정답: B
설명: AWS CloudHSM은 고객 전용 하드웨어 보안 모듈(HSM) 장치에서 암호화 키를 관리합니다. FIPS 140-2 Level 3 인증을 받은 전용 하드웨어를 사용합니다. KMS는 멀티테넌트 관리형 서비스로 더 간편하지만, 엄격한 규정 준수(예: PCI DSS)에서는 CloudHSM이 필요할 수 있습니다.
Q40. AWS Organizations SCP에서 "명시적 허용 없음(Implicit Deny)"과 "명시적 거부(Explicit Deny)"의 차이점은?
A) SCP에서는 두 가지가 동일하게 작동한다 B) 명시적 거부는 자격 증명 기반 정책의 허용을 무효화하지만, 명시적 허용 없음은 단순히 SCP에서 허용되지 않은 것이다 C) 명시적 허용 없음은 다른 SCP에서 허용하면 무효화되고, 명시적 거부는 어떤 정책으로도 무효화할 수 없다 D) 명시적 거부는 루트 계정에도 적용되고, 명시적 허용 없음은 멤버 계정에만 적용된다
정답: C
설명: SCP에서 명시적 허용 없음은 단순히 해당 SCP에서 허용되지 않은 것입니다. 부모 OU나 루트에서 허용되면 이를 무효화할 수 있습니다. 반면 명시적 거부(Explicit Deny)는 어떤 다른 정책에서 허용하더라도 절대적으로 우선합니다.
도메인 5: 네트워킹 및 콘텐츠 전송
Q41. VPC 피어링(VPC Peering)의 제한 사항은?
A) 다른 리전 간 VPC 피어링은 불가능하다 B) 피어링된 VPC 간에는 전이적 라우팅(Transitive Routing)이 지원되지 않는다 C) VPC 피어링은 최대 5개의 VPC까지만 연결할 수 있다 D) 피어링된 VPC는 CIDR 범위가 동일해야 한다
정답: B
설명: VPC 피어링은 전이적 라우팅을 지원하지 않습니다. VPC A가 VPC B와 피어링되고, VPC B가 VPC C와 피어링되어도, VPC A에서 VPC C로 직접 통신할 수 없습니다. 여러 VPC 간의 전이적 연결이 필요한 경우 AWS Transit Gateway를 사용해야 합니다.
Q42. AWS Transit Gateway의 주요 이점은?
A) 여러 VPC와 온프레미스 네트워크를 중앙 허브를 통해 연결한다 B) 인터넷 트래픽을 가속화하기 위해 AWS 글로벌 네트워크를 사용한다 C) VPC 내 서브넷 간 라우팅을 자동화한다 D) 퍼블릭 인터넷 없이 AWS 서비스에 프라이빗으로 접근한다
정답: A
설명: AWS Transit Gateway는 VPC와 온프레미스 네트워크를 중앙 허브에 연결하는 네트워크 전송 허브입니다. VPC 피어링의 복잡한 메쉬 구조 대신, 모든 VPC가 Transit Gateway에 연결되어 전이적 라우팅을 지원합니다. 수천 개의 VPC까지 확장 가능합니다.
Q43. CloudFront 캐시 무효화(Cache Invalidation)를 사용해야 하는 상황은?
A) CloudFront 배포의 오리진 서버를 변경할 때 B) S3에 새로운 버전의 파일을 업로드했지만 CloudFront가 아직 이전 버전을 캐시하고 있을 때 C) CloudFront의 가격 클래스(Price Class)를 변경할 때 D) CloudFront 배포에 새로운 사용자 정의 도메인을 추가할 때
정답: B
설명: CloudFront 캐시 무효화는 TTL이 만료되기 전에 캐시에서 특정 파일을 제거합니다. 파일 경로(예: /images/*)를 지정하여 무효화할 수 있습니다. 단, 캐시 키 버전 관리(파일명에 버전 번호 포함)가 더 효율적이고 비용 효율적인 방법입니다.
Q44. Route 53 가중치 기반 라우팅(Weighted Routing)의 주요 사용 사례는?
A) 사용자의 지리적 위치에 따라 가장 가까운 엔드포인트로 라우팅 B) 카나리 배포나 A/B 테스트를 위해 트래픽을 여러 엔드포인트에 분산 C) 주 엔드포인트 장애 시 자동으로 대체 엔드포인트로 전환 D) 가장 응답이 빠른 엔드포인트로 자동 라우팅
정답: B
설명: 가중치 기반 라우팅은 각 레코드에 가중치(0-255)를 설정하여 트래픽 비율을 조절합니다. 예를 들어 새 버전 배포 시 10%의 트래픽만 새 버전으로 보내는 카나리 배포나, A/B 테스트에 활용됩니다. 가중치 0은 해당 레코드로 트래픽을 보내지 않습니다.
Q45. NAT 게이트웨이(NAT Gateway)와 인터넷 게이트웨이(Internet Gateway)의 차이점은?
A) NAT 게이트웨이는 퍼블릭 서브넷에 위치하고, 인터넷 게이트웨이는 프라이빗 서브넷에 위치한다 B) 인터넷 게이트웨이는 VPC와 인터넷 간 양방향 통신을 제공하고, NAT 게이트웨이는 프라이빗 서브넷에서 인터넷으로의 아웃바운드 연결만 허용한다 C) NAT 게이트웨이는 모든 가용 영역을 커버하고, 인터넷 게이트웨이는 단일 가용 영역에만 적용된다 D) 인터넷 게이트웨이는 EC2에만 사용 가능하고, NAT 게이트웨이는 모든 AWS 서비스에 사용 가능하다
정답: B
설명: 인터넷 게이트웨이는 VPC와 인터넷 간 양방향 통신을 가능하게 합니다(퍼블릭 서브넷의 리소스가 고정 퍼블릭 IP나 EIP를 가져야 함). NAT 게이트웨이는 프라이빗 서브넷의 리소스가 인터넷에 아웃바운드 연결을 할 수 있게 하지만, 인터넷에서의 인바운드 연결은 차단합니다.
Q46. VPC 엔드포인트(VPC Endpoint)의 두 가지 유형은?
A) 퍼블릭 엔드포인트와 프라이빗 엔드포인트 B) 게이트웨이 엔드포인트(S3, DynamoDB)와 인터페이스 엔드포인트(PrivateLink 기반) C) HTTP 엔드포인트와 HTTPS 엔드포인트 D) 리전 엔드포인트와 글로벌 엔드포인트
정답: B
설명: VPC 엔드포인트에는 두 가지 유형이 있습니다. 게이트웨이 엔드포인트는 라우팅 테이블을 통해 S3와 DynamoDB에 접근하며 무료입니다. 인터페이스 엔드포인트(AWS PrivateLink)는 ENI를 통해 다른 AWS 서비스나 파트너 서비스에 접근하며 시간 및 데이터 처리 비용이 발생합니다.
Q47. CloudFront 서명된 URL(Signed URL)과 서명된 쿠키(Signed Cookies)의 차이점은?
A) 서명된 URL은 HTTPS만 지원하고, 서명된 쿠키는 HTTP와 HTTPS 모두 지원한다 B) 서명된 URL은 단일 파일 접근 제어에 적합하고, 서명된 쿠키는 여러 파일이나 전체 경로 접근 제어에 적합하다 C) 서명된 URL은 오리진 서버에서 생성되고, 서명된 쿠키는 CloudFront에서 자동 생성된다 D) 서명된 URL은 영구적이고, 서명된 쿠키는 세션 기반이다
정답: B
설명: 서명된 URL은 단일 파일(또는 리소스)에 대한 임시 접근 권한을 제공하며, URL 자체에 접근 정보가 포함됩니다. 서명된 쿠키는 여러 파일이나 패턴 매칭으로 다수 파일에 대한 접근을 제어할 때 적합합니다(예: 구독자에게 프리미엄 콘텐츠 전체 접근 허용).
Q48. AWS Global Accelerator의 주요 특징은?
A) CloudFront와 동일한 콘텐츠 캐싱 기능을 제공한다 B) AWS 글로벌 네트워크를 통해 애플리케이션의 TCP/UDP 트래픽 성능을 향상시킨다 C) 리전별 CDN 서비스로 동적 콘텐츠를 캐시한다 D) VPN 연결을 통해 온프레미스 트래픽을 가속화한다
정답: B
설명: AWS Global Accelerator는 애니캐스트 IP를 사용하여 사용자 트래픽을 가장 가까운 AWS 엣지 로케이션으로 라우팅하고, AWS 글로벌 네트워크를 통해 최적 경로로 전달합니다. CloudFront와 달리 캐싱이 없으며, TCP/UDP 기반 애플리케이션에 적합합니다.
Q49. 보안 그룹(Security Group)과 NACL(Network ACL)의 차이점은?
A) 보안 그룹은 인스턴스 수준, NACL은 서브넷 수준에서 작동하고, 보안 그룹은 상태 저장(Stateful), NACL은 상태 비저장(Stateless)이다 B) 보안 그룹은 허용 규칙만 지원하고, NACL은 거부 규칙만 지원한다 C) NACL은 인스턴스 수준에서 작동하고, 보안 그룹은 서브넷 수준에서 작동한다 D) 보안 그룹은 최대 10개의 규칙만 지원하고, NACL은 무제한 규칙을 지원한다
정답: A
설명: 보안 그룹은 EC2 인스턴스(ENI) 수준의 상태 저장 방화벽으로, 인바운드 규칙만 있으면 응답 트래픽이 자동 허용됩니다. NACL은 서브넷 수준의 상태 비저장 방화벽으로, 인바운드와 아웃바운드 규칙을 별도로 설정해야 합니다. 보안 그룹은 허용만 가능하고, NACL은 허용과 거부 모두 설정 가능합니다.
Q50. Route 53 지연 시간 기반 라우팅(Latency-Based Routing)과 지리적 위치 라우팅(Geolocation Routing)의 차이점은?
A) 지연 시간 기반 라우팅은 사용자의 국가를 기준으로 라우팅하고, 지리적 위치 라우팅은 실제 지연 시간을 측정한다 B) 지연 시간 기반 라우팅은 실제 네트워크 지연 시간이 가장 낮은 리전으로 라우팅하고, 지리적 위치 라우팅은 사용자의 DNS 쿼리 위치를 기준으로 라우팅한다 C) 두 라우팅 방법은 동일하게 작동하지만 설정 방법이 다르다 D) 지연 시간 기반 라우팅은 리전 단위로만 작동하고, 지리적 위치 라우팅은 국가, 대륙, 서브디비전 단위로 작동한다
정답: B
설명: 지연 시간 기반 라우팅은 AWS가 측정한 AWS 리전까지의 실제 네트워크 지연 시간이 가장 낮은 리전으로 요청을 라우팅합니다. 지리적 위치 라우팅은 사용자의 IP 주소 기반 위치(국가, 대륙, 미국 주)에 따라 라우팅합니다. D도 사실이나 핵심 차이점은 B입니다.
도메인 6: 비용 및 성능 최적화
Q51. AWS Cost Explorer에서 제공하는 주요 기능은?
A) 실시간 비용 알림 및 자동 비용 절감 조치 B) 과거 비용 분석, 비용 예측, 리소스 사용 패턴 시각화 C) 예약 인스턴스를 자동으로 구매하고 관리한다 D) 여러 AWS 계정의 비용을 자동으로 분배한다
정답: B
설명: Cost Explorer는 과거 12개월의 AWS 비용과 사용량을 시각화하고, 향후 12개월의 비용을 예측합니다. 서비스별, 리전별, 계정별, 태그별로 비용을 분석하고 RI 구매 권고사항도 제공합니다.
Q52. Savings Plans와 Reserved Instances의 주요 차이점은?
A) Savings Plans는 특정 인스턴스 유형에 약정하고, Reserved Instances는 사용 금액에 약정한다 B) Compute Savings Plans는 EC2 인스턴스 유형, 크기, 리전, OS에 관계없이 유연하게 적용되고, EC2 Reserved Instances는 특정 인스턴스 유형과 리전에 약정한다 C) Savings Plans는 1년 약정만 가능하고, Reserved Instances는 3년 약정만 가능하다 D) Savings Plans는 EC2에만 적용되고, Reserved Instances는 모든 AWS 서비스에 적용된다
정답: B
설명: Compute Savings Plans는 EC2, Fargate, Lambda에 걸쳐 인스턴스 유형, 크기, 리전, OS, 테넌시에 관계없이 유연하게 적용되는 시간당 지출 약정입니다. EC2 RI는 특정 인스턴스 유형과 리전에 대한 용량 예약입니다. Savings Plans가 더 유연하지만 RI만큼 최대 할인을 받으려면 EC2 Instance Savings Plans를 사용합니다.
Q53. Amazon S3 Intelligent-Tiering의 동작 방식은?
A) 객체를 수동으로 스토리지 클래스에 배치하도록 알림을 보낸다 B) 액세스 패턴을 모니터링하여 자동으로 객체를 가장 비용 효율적인 스토리지 계층으로 이동한다 C) 모든 객체를 Glacier로 자동 이동하여 비용을 최소화한다 D) 자주 액세스되는 객체만 S3 Standard로 유지하고 나머지는 삭제한다
정답: B
설명: S3 Intelligent-Tiering은 객체의 액세스 패턴을 자동으로 모니터링합니다. 30일간 액세스되지 않으면 저빈도 액세스 계층으로, 90일간 액세스되지 않으면 아카이브 인스턴트 액세스 계층으로 자동 이동합니다. 검색 비용 없이 자동 계층 최적화가 이루어집니다.
Q54. EC2 스팟 인스턴스(Spot Instance)가 중단될 때 기본적으로 얼마나 전에 알림을 받습니까?
A) 30초 B) 2분 C) 5분 D) 15분
정답: B
설명: AWS는 스팟 인스턴스 중단 2분 전에 인스턴스 메타데이터와 Amazon EventBridge를 통해 중단 알림을 제공합니다. 애플리케이션이 이 알림을 감지하여 진행 중인 작업을 저장하거나 체크포인트를 설정할 수 있습니다.
Q55. RDS Performance Insights를 사용하는 목적은?
A) RDS 인스턴스의 비용을 분석하고 최적화한다 B) 데이터베이스 부하를 시각화하고 성능 문제의 원인을 파악한다 C) RDS 백업을 자동으로 최적화하여 스토리지 비용을 줄인다 D) 데이터베이스 쿼리를 자동으로 최적화한다
정답: B
설명: RDS Performance Insights는 데이터베이스 부하를 시각화하여 성능 문제의 원인이 되는 SQL 쿼리, 애플리케이션, 호스트를 식별합니다. DB 부하(DBLoad)를 측정하고 대기 상태별로 분류하여 병목 현상을 진단합니다.
Q56. EC2 자동 스케일링의 예약된 스케일링(Scheduled Scaling)은 어떤 상황에 유용합니까?
A) CPU 사용률이 80%를 초과할 때 즉각적으로 스케일 아웃 B) 예측 가능한 트래픽 패턴(예: 매일 오전 9시에 트래픽 증가)에 대해 미리 스케일 아웃 C) 스팟 인스턴스 중단 시 자동으로 온디맨드 인스턴스로 교체 D) 비용이 임계값을 초과할 때 자동으로 스케일 인
정답: B
설명: 예약된 스케일링은 예측 가능한 트래픽 패턴에 대해 특정 시간에 자동으로 용량을 조정합니다. 예를 들어 매일 오전 8시 55분에 최소 인스턴스 수를 증가시키고, 오후 7시에 감소시킬 수 있습니다. 이를 통해 트래픽 급증 전에 미리 준비할 수 있습니다.
Q57. AWS Budgets를 통해 할 수 있는 것은?
A) 비용이 임계값을 초과하면 자동으로 리소스를 종료한다 B) 예산 임계값 초과 시 알림을 보내고, 특정 경우 자동 작업(예: EC2 중지)을 실행할 수 있다 C) 모든 AWS 계정의 비용을 통합 청구로 관리한다 D) RI 구매를 자동화하여 비용을 절감한다
정답: B
설명: AWS Budgets는 비용, 사용량, RI 커버리지, Savings Plans 커버리지에 대한 예산을 설정할 수 있습니다. 임계값 초과 시 SNS 알림이나 이메일 알림을 발송하고, Budgets Actions를 사용하면 특정 IAM 정책을 적용하거나 EC2/RDS 인스턴스를 중지하는 자동 작업을 실행할 수 있습니다.
Q58. S3 수명 주기(Lifecycle) 정책으로 할 수 있는 것은?
A) S3 버킷의 총 비용이 임계값을 초과하면 자동 알림 B) 객체를 다른 스토리지 클래스로 전환하거나 지정된 기간 후 삭제 C) 특정 IP에서의 S3 접근을 자동으로 차단 D) S3 버킷 간 데이터를 자동으로 복제
정답: B
설명: S3 수명 주기 정책을 사용하면 객체를 자동으로 다른 스토리지 클래스로 전환(예: 30일 후 S3-IA, 90일 후 Glacier)하거나, 지정된 일수 후 자동 삭제할 수 있습니다. 비완성 멀티파트 업로드도 자동 삭제할 수 있어 스토리지 비용을 최적화합니다.
Q59. 회사가 AWS 비용을 부서별로 할당하려 합니다. 가장 효과적인 방법은?
A) 부서별로 별도의 AWS 계정을 생성한다 B) 비용 할당 태그(Cost Allocation Tags)를 리소스에 적용하고 Cost Explorer에서 분석한다 C) AWS Organizations의 통합 결제를 사용한다 D) CloudWatch 대시보드에서 리소스별 비용을 수동으로 계산한다
정답: B
설명: 비용 할당 태그를 AWS 리소스에 적용(예: Department=Engineering)하면 Cost Explorer에서 태그별로 비용을 분류하고 CSV 보고서를 다운로드할 수 있습니다. 태그를 활성화해야 Cost Explorer에서 사용 가능합니다.
Q60. EC2 Auto Scaling의 예측 스케일링(Predictive Scaling)은 어떻게 작동합니까?
A) 현재 CPU 사용률을 기반으로 즉시 스케일 아웃/인을 결정한다 B) 머신 러닝을 사용하여 과거 트래픽 패턴을 분석하고 미래 수요를 예측하여 사전에 용량을 조정한다 C) 특정 시간대에 고정된 인스턴스 수를 유지한다 D) SQS 큐의 메시지 수를 기반으로 스케일링한다
정답: B
설명: 예측 스케일링은 Amazon의 기계 학습 모델을 사용하여 EC2 Auto Scaling 그룹의 과거 부하 패턴을 분석합니다. 이를 기반으로 향후 트래픽을 예측하고, 수요가 증가하기 전에 미리 인스턴스를 시작합니다. 반응적(Reactive) 스케일링의 지연을 방지합니다.
추가 통합 시나리오 문제
Q61. 프로덕션 EC2 인스턴스가 갑자기 응답하지 않습니다. CloudWatch 지표를 확인하니 CPU 사용률이 100%이고 네트워크 트래픽이 급증했습니다. 가장 먼저 해야 할 조치는?
A) 즉시 인스턴스를 종료하고 새 인스턴스를 시작한다 B) CloudWatch 알람을 설정하고 SNS 알림을 구성한다 C) VPC Flow Logs와 CloudTrail을 분석하여 비정상적인 트래픽의 원인을 파악한다 D) 인스턴스 유형을 더 큰 사양으로 변경한다
정답: C
설명: 급격한 CPU 증가와 네트워크 트래픽 급증은 DDoS 공격, 암호화 마이닝 악성 코드, 또는 애플리케이션 오류일 수 있습니다. VPC Flow Logs로 비정상적인 연결을 확인하고 CloudTrail로 최근 API 호출을 분석하여 원인을 파악한 후 대응해야 합니다.
Q62. 멀티 리전에 배포된 애플리케이션에서 us-east-1 리전이 완전히 장애 상태입니다. Route 53 장애 조치가 작동하지 않는 것처럼 보입니다. 가장 가능성 있는 원인은?
A) Route 53 자체가 us-east-1에 있어서 함께 장애가 발생했다 B) 상태 확인(Health Check)이 us-east-1 리전 외부에서 수행되지 않도록 설정되어 있다 C) TTL 값이 너무 높아서 DNS 전환이 지연되고 있다 D) 장애 조치 레코드에 적절한 가중치가 설정되지 않았다
정답: C
설명: Route 53 자체는 글로벌 서비스이므로 특정 리전 장애의 영향을 받지 않습니다. 하지만 TTL 값이 높으면(예: 300초) 클라이언트가 캐시된 DNS 응답을 계속 사용하여 장애 조치가 즉시 반영되지 않을 수 있습니다. 장애 조치 레코드의 TTL은 낮게(예: 60초) 설정하는 것이 좋습니다.
Q63. CloudFormation 스택 배포 중 "ROLLBACK_IN_PROGRESS" 상태가 되었습니다. 롤백 원인을 파악하는 가장 효과적인 방법은?
A) AWS Health Dashboard에서 서비스 중단 여부를 확인한다 B) CloudFormation 콘솔의 이벤트 탭에서 FAILED 상태의 리소스와 오류 메시지를 확인한다 C) CloudTrail에서 최근 API 호출을 확인한다 D) AWS Support에 케이스를 열어 원인 분석을 요청한다
정답: B
설명: CloudFormation 콘솔의 이벤트(Events) 탭은 스택 리소스의 상태 변경을 시간순으로 보여줍니다. FAILED 상태의 리소스를 찾고 상태 이유(Status Reason)를 확인하면 롤백을 유발한 구체적인 오류 메시지를 확인할 수 있습니다.
Q64. 개발팀이 프로덕션 S3 버킷에 실수로 객체를 삭제했습니다. 데이터 복구를 위한 가장 적절한 방법은?
A) AWS Support에 연락하여 백엔드에서 복구를 요청한다 B) S3 버전 관리(Versioning)가 활성화되어 있으면 삭제 마커를 제거하여 이전 버전을 복구한다 C) S3 교차 리전 복제본에서 파일을 가져온다 D) CloudTrail 로그에서 삭제된 객체의 내용을 복구한다
정답: B
설명: S3 버전 관리가 활성화된 경우, 객체 삭제 시 실제 삭제가 아닌 삭제 마커(Delete Marker)가 생성됩니다. 삭제 마커를 제거하면 최신 버전의 객체가 복구됩니다. 또는 이전 버전을 현재 버전으로 복원할 수 있습니다. 이를 위해 버전 관리와 MFA Delete를 미리 설정하는 것이 중요합니다.
Q65. 회사의 월별 AWS 비용이 예상보다 30% 높습니다. 비용 최적화를 위해 가장 먼저 수행해야 할 단계는?
A) 즉시 모든 개발 환경 인스턴스를 종료한다 B) AWS Cost Explorer와 AWS Trusted Advisor를 사용하여 비용 이상 원인을 분석하고 최적화 기회를 식별한다 C) 모든 온디맨드 인스턴스를 스팟 인스턴스로 교체한다 D) AWS Support에 비용 검토를 요청한다
정답: B
설명: 체계적인 비용 최적화는 먼저 Cost Explorer로 서비스별, 리전별, 태그별 비용 분석을 통해 비용 급증 원인을 파악하고, Trusted Advisor로 유휴 리소스, 미사용 RI, 스토리지 최적화 기회를 식별하는 것부터 시작해야 합니다. 이후 데이터 기반의 최적화 작업을 순차적으로 진행합니다.
정답 요약
| 번호 | 정답 | 번호 | 정답 | 번호 | 정답 | 번호 | 정답 | 번호 | 정답 |
|---|---|---|---|---|---|---|---|---|---|
| Q1 | B | Q14 | B | Q27 | B | Q40 | C | Q53 | B |
| Q2 | B | Q15 | C | Q28 | B | Q41 | B | Q54 | B |
| Q3 | B | Q16 | D | Q29 | B | Q42 | A | Q55 | B |
| Q4 | B | Q17 | B | Q30 | B | Q43 | B | Q56 | B |
| Q5 | B | Q18 | B | Q31 | B | Q44 | B | Q57 | B |
| Q6 | B | Q19 | B | Q32 | B | Q45 | B | Q58 | B |
| Q7 | B | Q20 | B | Q33 | B | Q46 | B | Q59 | B |
| Q8 | B | Q21 | B | Q34 | B | Q47 | B | Q60 | B |
| Q9 | B | Q22 | B | Q35 | D | Q48 | B | Q61 | C |
| Q10 | B | Q23 | B | Q36 | B | Q49 | A | Q62 | C |
| Q11 | B | Q24 | B | Q37 | B | Q50 | B | Q63 | B |
| Q12 | A | Q25 | B | Q38 | B | Q51 | B | Q64 | B |
| Q13 | B | Q26 | A | Q39 | B | Q52 | B | Q65 | B |
시험 준비 팁
- 실습이 핵심: CloudWatch, Systems Manager, CloudFormation을 직접 구성하며 익히세요
- 비용 의식: 각 서비스의 요금 구조와 비용 최적화 방법을 숙지하세요
- 실기 Labs 대비: SOA-C02는 실기 랩(Lab)이 포함되어 있습니다
- 공식 문서 참조: AWS 서비스 공식 문서의 FAQ 섹션을 꼭 확인하세요
- re:Post 활용: AWS re:Post 커뮤니티에서 실제 운영 경험을 공유하는 글을 읽으세요
AWS SysOps Administrator Associate (SOA-C02) Practice Exam — 65 Questions
Exam Overview
The AWS SysOps Administrator Associate (SOA-C02) validates your ability to deploy, manage, and operate workloads on AWS.
| Item | Details |
|---|---|
| Exam Code | SOA-C02 |
| Duration | 180 minutes |
| Questions | 65 (multiple choice + hands-on labs) |
| Passing Score | 720 / 1000 |
| Languages | English, Japanese, Korean, Simplified Chinese |
Domain Breakdown
| Domain | Topic | Weight |
|---|---|---|
| 1 | Monitoring, Logging and Remediation | 20% |
| 2 | Reliability and Business Continuity | 16% |
| 3 | Deployment, Provisioning and Automation | 18% |
| 4 | Security and Compliance | 16% |
| 5 | Networking and Content Delivery | 18% |
| 6 | Cost and Performance Optimization | 12% |
Key SysOps Concepts
CloudWatch Essentials
- Standard metrics: EC2 CPU, network, disk I/O (5-minute granularity)
- Detailed monitoring: 1-minute granularity (additional cost)
- Custom metrics: Memory usage, disk utilization published via agent or API
- Logs Insights: Interactive query engine for CloudWatch Logs
- Contributor Insights: Identifies top contributors causing high request volumes
High Availability Patterns
- Multi-AZ: Multiple Availability Zones in one Region — automatic failover for RDS
- Multi-Region: Active-passive or active-active across Regions — DR and latency
- RTO vs RPO: Recovery Time Objective (downtime) vs Recovery Point Objective (data loss)
Practice Questions
Domain 1: Monitoring, Logging and Remediation
Q1. An operations team wants to monitor memory utilization of EC2 instances in CloudWatch. Memory is not included in the default EC2 metrics. What is the correct approach?
A) Enable detailed monitoring on the EC2 instances B) Install the CloudWatch agent and publish custom metrics C) Use AWS Systems Manager to automatically track memory D) Enable CloudTrail to collect memory metrics
Answer: B
Explanation: EC2 memory and disk utilization are not included in the default CloudWatch metrics because they require OS-level access. Installing the CloudWatch agent on each EC2 instance allows you to collect and publish these as custom metrics to CloudWatch namespaces.
Q2. A CloudWatch alarm is showing INSUFFICIENT_DATA state. What does this state indicate?
A) The alarm threshold has been breached B) There is not enough data to evaluate the alarm C) The metric data is within the normal range D) The CloudWatch service has experienced a failure
Answer: B
Explanation: INSUFFICIENT_DATA means the alarm was just created, the metric data is not available, or not enough data has been collected to determine the alarm state. The three alarm states are ALARM (threshold exceeded), OK (within range), and INSUFFICIENT_DATA.
Q3. A company wants to automatically remediate any S3 bucket that has public access enabled. What is the most effective approach using AWS native services?
A) Connect CloudTrail events to a Lambda function B) Use an AWS Config rule with SSM Automation for auto-remediation C) Add a bucket policy condition to block public access D) Configure GuardDuty alerts to SNS and process with Lambda
Answer: B
Explanation: AWS Config supports automatic remediation using SSM Automation documents. You can associate the s3-bucket-public-read-prohibited managed rule with the AWS-DisableS3BucketPublicReadWrite automation document to automatically block public access whenever it is enabled.
Q4. What is the difference between Management Events and Data Events in AWS CloudTrail?
A) Management events are free; data events are charged B) Management events record control plane operations on AWS resources; data events record data plane operations within resources C) Management events only capture IAM activity; data events cover all services D) Management events are regional; data events are global
Answer: B
Explanation: Management events (control plane) cover operations that modify AWS resource configuration, such as creating an EC2 instance or modifying an IAM policy. Data events (data plane) cover high-volume operations within resources, such as S3 GetObject/PutObject or Lambda invocations. Data events must be explicitly enabled because of their high volume.
Q5. Which scenario best describes a use case for CloudWatch Contributor Insights?
A) Setting CPU utilization threshold alarms on EC2 instances B) Identifying the top IP addresses generating the most errors C) Aggregating logs from multiple regions into a single dashboard D) Automatically archiving CloudTrail logs to S3
Answer: B
Explanation: CloudWatch Contributor Insights analyzes log data and generates time series data showing the top contributors affecting system performance. A classic use case is identifying the top IP addresses causing 404 errors or generating the highest request volume from ALB access logs.
Q6. An EC2 instance's CPU utilization spikes every day at the same time. Which tool best helps visualize and investigate this pattern?
A) AWS Trusted Advisor B) CloudWatch dashboards with Metric Math C) AWS Cost Explorer D) AWS Personal Health Dashboard
Answer: B
Explanation: CloudWatch dashboards allow you to visualize multiple metrics over time. Metric Math enables you to perform calculations across multiple metrics. The combination provides time-series visualization that makes recurring daily patterns easy to identify and analyze.
Q7. When using AWS Systems Manager Patch Manager to patch EC2 instances, what must be defined first?
A) The AMI ID and latest snapshots B) A Patch Baseline and a Maintenance Window C) VPC security groups and subnets D) CloudWatch log groups and alarms
Answer: B
Explanation: Patch Manager requires a Patch Baseline (defines which patches are approved for installation) and a Maintenance Window (defines when patching occurs). Patch Groups logically organize instances so different baselines can be applied to different sets of instances.
Q8. In a CloudWatch Logs Insights query, what does "filter @message like /ERROR/" do?
A) Deletes all log events with ERROR severity B) Filters log events where the message contains the string "ERROR" C) Creates a CloudWatch alarm for ERROR-type events D) Exports ERROR events to S3 automatically
Answer: B
Explanation: The Logs Insights filter command selects log events that match the specified condition. The like /ERROR/ syntax uses a regex pattern to match events where the @message field contains the string "ERROR", returning only those matching records.
Q9. What is the difference between the AWS Personal Health Dashboard and the AWS Service Health Dashboard?
A) Personal Health Dashboard is paid; Service Health Dashboard is free B) Personal Health Dashboard shows events affecting your specific AWS resources; Service Health Dashboard shows the overall status of all AWS services globally C) Personal Health Dashboard shows global services only; Service Health Dashboard shows regional services D) Both dashboards provide identical information with different UIs
Answer: B
Explanation: The AWS Personal Health Dashboard provides personalized information about AWS events that specifically affect your account's resources. The AWS Service Health Dashboard (status.aws.amazon.com) is a public page showing the general status of AWS services across all Regions.
Q10. What does CloudTrail Insights detect?
A) Abnormal public access to S3 buckets B) Unusual API call volume in an AWS account C) Abnormal CPU utilization on EC2 instances D) IAM user password changes
Answer: B
Explanation: CloudTrail Insights continuously monitors CloudTrail management events and detects unusual patterns in API call volume or error rates. It can identify anomalies such as a sudden spike in the number of IAM CreateUser API calls, which may indicate a security breach or operational issue.
Domain 2: Reliability and Business Continuity
Q11. In an RDS Multi-AZ deployment, what happens when the primary instance fails?
A) The application must be manually reconfigured to point to the standby B) AWS automatically updates the DNS record to point to the standby instance C) A read replica is automatically promoted to primary D) A new RDS instance is created automatically in the same Availability Zone
Answer: B
Explanation: During a Multi-AZ failover, AWS automatically flips the DNS CNAME record of the DB endpoint to the standby instance. This typically completes within 60–120 seconds. Because the application uses the same endpoint, no code change is needed.
Q12. Which statement about Amazon EBS snapshots is correct?
A) Snapshots are stored incrementally, but each snapshot can be used to restore the full volume independently B) Snapshots are always full copies, consuming large amounts of storage C) Snapshots can only be used within the same Region D) Deleting a snapshot also deletes data from previous snapshots
Answer: A
Explanation: EBS snapshots use incremental storage — the first snapshot captures the entire volume, and subsequent snapshots capture only changed blocks. However, AWS manages the block references internally, so each snapshot is self-sufficient for a full volume restore. Snapshots can also be copied to other Regions.
Q13. What is the primary use case for Amazon Data Lifecycle Manager (DLM)?
A) Managing S3 object lifecycle policies B) Automating the creation, retention, and deletion of EBS snapshots and AMIs C) Scheduling RDS automated backup windows D) Managing CloudWatch Logs retention periods
Answer: B
Explanation: Amazon DLM automates the lifecycle of EBS-backed resources. You create lifecycle policies that define schedules (e.g., daily at 5 AM) for creating snapshots and AMIs, and retention rules (e.g., keep last 7 snapshots) for automatic cleanup.
Q14. What is required when configuring Route 53 Failover routing?
A) Multiple regions with weight assignments B) Primary and secondary records with health checks attached C) Geolocation-based routing rules D) CloudFront distributions as origin targets
Answer: B
Explanation: Failover routing requires a Primary record with an associated health check and a Secondary record. When the primary's health check fails, Route 53 automatically routes traffic to the secondary record. The health check can use HTTP, HTTPS, or TCP.
Q15. What is the maximum retention period for RDS Point-in-Time Recovery (PITR)?
A) 7 days B) 14 days C) 35 days D) 90 days
Answer: C
Explanation: With automated backups enabled, RDS supports PITR up to a maximum of 35 days. Transaction logs are uploaded to S3 every 5 minutes. The default retention period is 7 days, and you can increase it to up to 35 days.
Q16. A global web application must remain available even if an entire AWS Region fails. What architecture best achieves this?
A) Multi-AZ RDS with Auto Scaling group B) Route 53 failover with standby infrastructure in another Region C) CloudFront distribution with Origin Group D) A combination of Route 53 failover and CloudFront Origin Group across multiple Regions
Answer: D
Explanation: Surviving a full Region outage requires a multi-Region architecture. Route 53 failover handles DNS-level switching, while CloudFront Origin Group automatically fails over to a backup origin at the CDN layer. Combining both mechanisms provides the most resilient architecture.
Q17. You want to share an EBS snapshot with another AWS account. What is the correct method?
A) Copy the snapshot to S3 and use a bucket policy to share it B) Add the target AWS account ID to the snapshot permissions C) Delegate cross-account IAM role access to the snapshot D) Snapshots can only be shared through AWS Organizations
Answer: B
Explanation: EBS snapshots can be shared with specific AWS accounts by adding their account IDs to the snapshot's permissions (Modify Permissions). Snapshots can also be made public. When sharing encrypted snapshots, the associated KMS key must also be shared with the target account.
Q18. What is a "Calculated Health Check" in Amazon Route 53?
A) A check that calculates response time and compares it against a threshold B) A health check that combines the results of multiple child health checks C) A feature that automatically selects the endpoint with the lowest RTT D) A health check driven by a CloudWatch alarm state
Answer: B
Explanation: A Calculated Health Check aggregates the results of multiple child health checks using AND/OR logic. This lets you represent the health of a complex system (e.g., combining web, database, and cache health checks) as a single health check for failover routing.
Q19. Which definition correctly describes RTO (Recovery Time Objective)?
A) The maximum amount of data loss tolerated after a disaster B) The maximum acceptable time to restore normal operations after a disaster C) The actual time taken to restore backup data D) The maximum cost investment in disaster recovery systems
Answer: B
Explanation: RTO is the maximum acceptable duration from the moment of a disaster to when normal business operations resume. RPO is the maximum acceptable amount of data loss measured in time. Lower RTO/RPO targets generally require higher investment.
Q20. A company wants to centrally manage backups across EC2, EBS, RDS, and DynamoDB. What is the primary advantage of using AWS Backup?
A) Reduces backup costs for each service by 50% B) Centrally manages backups for multiple AWS services using policy-based plans C) Automatically determines optimal backup frequency D) Automatically encrypts backups and transfers them to another account
Answer: B
Explanation: AWS Backup provides a central console for creating, scheduling, and managing backups across EC2, EBS, RDS, Aurora, DynamoDB, EFS, and Storage Gateway. Backup plans define backup frequency, retention, and lifecycle rules, enabling consistent governance across all supported services.
Domain 3: Deployment, Provisioning and Automation
Q21. Which CloudFormation resource change requires replacement (deletion and recreation of the resource)?
A) Changing an EC2 instance type B) Changing an S3 bucket name C) Changing EC2 tags D) Changing a CloudWatch alarm threshold
Answer: B
Explanation: Some CloudFormation resource properties are immutable. The S3 BucketName property requires replacement — the existing bucket is deleted and a new one is created. EC2 instance type changes cause an interruption but not replacement. Tag changes are non-interrupting updates.
Q22. What is the purpose of a CloudFormation Stack Policy?
A) Restricts which IAM users can deploy CloudFormation stacks B) Prevents updates to specific stack resources during stack updates C) Limits the maximum number of resources in a stack D) Protects a production stack from deletion
Answer: B
Explanation: A Stack Policy is a JSON document that defines the update actions allowed on specific resources during a stack update. For example, you can use a stack policy to prevent accidental replacement or deletion of a production database or other critical resources.
Q23. What is the primary security benefit of AWS Systems Manager Session Manager?
A) Allows SSH access without an IAM role on the instance B) Provides secure shell access to EC2 instances without opening inbound ports or using a bastion host C) Enables both RDP and SSH over a single port D) Automatically upgrades the instance OS remotely
Answer: B
Explanation: Session Manager eliminates the need to open inbound SSH/RDP ports (22/3389) or manage bastion hosts. All session activity is logged to CloudTrail and optionally streamed to CloudWatch Logs or S3. The instance needs the SSM Agent and an IAM instance profile with the AmazonSSMManagedInstanceCore policy.
Q24. What is CloudFormation Drift Detection?
A) Measures the time it takes to deploy a CloudFormation stack B) Detects whether stack resources have been modified outside of CloudFormation C) Automatically analyzes dependencies between stacks D) Automatically updates templates to the latest resource versions
Answer: B
Explanation: Drift detection compares the actual configuration of stack resources against the expected configuration defined in the CloudFormation template. It identifies resources that have been manually modified outside of CloudFormation, helping maintain infrastructure consistency.
Q25. What is AWS OpsWorks primarily used for?
A) Cost optimization of EC2 instances B) Server configuration automation using Chef or Puppet C) Serverless application deployment automation D) Container orchestration
Answer: B
Explanation: AWS OpsWorks is a configuration management service that provides managed instances of Chef and Puppet. OpsWorks Stacks uses Chef recipes to automate server configuration. OpsWorks for Chef Automate and OpsWorks for Puppet Enterprise provide fully managed configuration management servers.
Q26. What happens when you enable Scale-In Protection on an EC2 instance within an Auto Scaling group?
A) The instance will not be terminated during scale-in events B) The instance type is automatically upgraded C) The protected instance is terminated first during scale-in D) Health checks are disabled for the instance
Answer: A
Explanation: Instance scale-in protection prevents Auto Scaling from terminating a specific instance during a scale-in activity. This is useful for protecting instances running critical batch jobs or stateful workloads. The protection does not prevent termination if the instance fails its health check.
Q27. What is the primary use case for AWS Service Catalog?
A) Comparing and optimizing costs across AWS services B) Enabling end users to self-provision IT-approved products as a portfolio C) Automating third-party software purchases from AWS Marketplace D) Monitoring resource usage across accounts from a single dashboard
Answer: B
Explanation: AWS Service Catalog lets organizations create and manage catalogs of approved IT products (backed by CloudFormation templates) that users can self-provision. This provides governance and compliance while enabling developer autonomy — users can only deploy pre-approved, standardized configurations.
Q28. In AWS Systems Manager Automation, what is a "Runbook"?
A) A PDF documenting incident response procedures B) An SSM document defining a series of automated steps C) A boot script for EC2 instance OS startup D) A parameter file for CloudFormation stacks
Answer: B
Explanation: An SSM Automation Runbook (also called an Automation document) is a YAML or JSON file that defines a sequence of steps to automate operational tasks such as creating AMIs, patching instances, and remediating misconfigurations. AWS provides managed runbooks and you can create custom ones.
Q29. What is the purpose of a CloudFormation Change Set?
A) Manages stack changes using GitOps workflows B) Previews which resources will be added, modified, or replaced before executing a stack update C) Deploys stack changes simultaneously to multiple Regions D) Automatically tests changes and rolls back if they fail
Answer: B
Explanation: A Change Set lets you preview the impact of a proposed stack update before executing it. It shows which resources will be added, modified, or deleted, and whether any resources will be replaced (which could cause data loss). This is a critical safety check before updating production stacks.
Q30. You need to patch a large fleet of EC2 instances with minimal service disruption. What is the best approach?
A) Terminate all instances simultaneously and relaunch with a new AMI B) Use Systems Manager Patch Manager with a Maintenance Window and rate control C) Redeploy all instances using CloudFormation D) Use Lambda to SSH into each instance and apply patches
Answer: B
Explanation: Systems Manager Patch Manager automates OS patching across large instance fleets. Maintenance Windows define when patching occurs (e.g., off-peak hours). Rate control (concurrency and error threshold) limits how many instances are patched simultaneously, minimizing service disruption during the process.
Domain 4: Security and Compliance
Q31. What is the role of an IAM Permissions Boundary?
A) Restricts IAM users to specific AWS Regions B) Defines the maximum permissions that an IAM entity can have C) Restricts services accessible without MFA D) Limits the root account to the same permissions as regular users
Answer: B
Explanation: A Permissions Boundary is a managed policy attached to an IAM user or role that defines the maximum permissions the entity can have. The effective permissions are the intersection of the identity-based policy and the permissions boundary. This prevents privilege escalation when delegating IAM management.
Q32. What is the primary function of Amazon Macie?
A) Scans EC2 instances for vulnerabilities B) Automatically discovers and protects sensitive data (PII, etc.) in S3 C) Detects abnormal network traffic within a VPC D) Automatically corrects overly permissive IAM policies
Answer: B
Explanation: Amazon Macie uses machine learning to automatically discover sensitive data — such as PII, financial records, and credentials — stored in S3 buckets. It also evaluates S3 bucket security posture (public access, encryption status, access control lists) and generates findings for review.
Q33. In AWS Organizations, which accounts are NOT affected by Service Control Policies (SCPs)?
A) Only the root account B) The management account (formerly master account) C) Specific IAM users and roles only D) Marketplace purchases only
Answer: B
Explanation: SCPs apply to all accounts in the organization hierarchy (root, OUs, individual accounts) except the management account (formerly master account). SCPs can use allowlist strategies (specify what is allowed) or denylist strategies (deny specific actions while allowing everything else).
Q34. Which data sources does Amazon GuardDuty analyze to detect threats?
A) Only application logs from EC2 instances B) VPC Flow Logs, DNS query logs, and CloudTrail event logs C) All objects in all S3 buckets D) IAM policies and user behavioral patterns
Answer: B
Explanation: GuardDuty analyzes VPC Flow Logs, Route 53 DNS resolver query logs, and CloudTrail management and S3 data events. It uses machine learning, anomaly detection, and threat intelligence feeds to identify threats like cryptomining, compromised instances, and unauthorized access.
Q35. When automatic key rotation is enabled for a KMS key, what happens to data previously encrypted with that key?
A) Existing data is immediately re-encrypted with the new key material B) A new KMS key is created annually and all existing data is migrated C) The key is deactivated and a new key is created D) New key material is generated, but existing data is NOT automatically re-encrypted
Answer: D
Explanation: Automatic key rotation generates new cryptographic key material annually but does NOT re-encrypt existing data. AWS retains all previous key material versions so existing ciphertext can still be decrypted. New data is encrypted with the current key material. If you need to re-encrypt existing data, you must do so manually.
Q36. What type of issue does IAM Access Analyzer identify?
A) IAM user passwords that do not meet complexity requirements B) Resources that are unintentionally shared with external entities C) IAM roles with excessive permissions D) IAM users without MFA enabled
Answer: B
Explanation: IAM Access Analyzer identifies S3 buckets, IAM roles, KMS keys, SQS queues, Lambda functions, and Secrets Manager secrets whose policies grant access to external principals (other AWS accounts, AWS services, or the internet). It helps identify unintended public or cross-account exposure.
Q37. What is the primary function of AWS Security Hub?
A) Provides external auditor access for compliance reviews B) Aggregates security findings from GuardDuty, Macie, Inspector, and other services in a central place C) Automatically applies security patches to EC2 instances D) Blocks malicious network traffic in real time
Answer: B
Explanation: AWS Security Hub provides a comprehensive view of your security posture by aggregating, organizing, and prioritizing findings from multiple AWS security services and third-party tools. It also runs automated security checks against CIS AWS Foundations Benchmark and AWS Foundational Security Best Practices standards.
Q38. What does Amazon Inspector scan?
A) S3 buckets for public access misconfigurations B) EC2 instances and container images (ECR) for software vulnerabilities C) IAM policies for excessive permissions D) CloudTrail logs for anomalous activity
Answer: B
Explanation: Amazon Inspector automatically discovers and scans EC2 instances and Amazon ECR container images for software vulnerabilities (CVEs) and unintended network exposure. Inspector v2 uses the SSM Agent for agentless scanning and continuously reassesses as new CVEs are published.
Q39. What is the key difference between AWS CloudHSM and AWS KMS?
A) CloudHSM is software-based encryption; KMS is hardware-based B) CloudHSM provides dedicated hardware security modules; KMS is a managed multi-tenant service C) CloudHSM is free; KMS is paid D) CloudHSM is regional; KMS is global
Answer: B
Explanation: AWS CloudHSM gives you exclusive access to FIPS 140-2 Level 3 validated hardware security modules for full key control. KMS is a multi-tenant managed service where AWS manages the underlying HSMs. CloudHSM is required when regulations mandate single-tenant HSM or when you need full control over key material.
Q40. In AWS Organizations SCPs, what is the difference between an implicit deny and an explicit deny?
A) Both operate identically in SCPs B) Explicit deny overrides identity-based policy allows; implicit deny simply means the action is not permitted in the SCP C) Implicit deny can be overridden by another SCP allowing the action; explicit deny cannot be overridden by any other policy D) Explicit deny applies to the root account; implicit deny applies to member accounts only
Answer: C
Explanation: An implicit deny in an SCP means the action is not listed as allowed. A parent OU or root SCP that does allow the action will override this. An explicit Deny statement in an SCP always wins — no other policy (identity-based or resource-based) can override an explicit deny.
Domain 5: Networking and Content Delivery
Q41. Which is a key limitation of VPC Peering?
A) Cross-Region VPC peering is not supported B) Transitive routing is not supported through VPC peering connections C) VPC peering is limited to a maximum of five VPCs D) Peered VPCs must have identical CIDR ranges
Answer: B
Explanation: VPC peering does not support transitive routing. If VPC A is peered with VPC B and VPC B is peered with VPC C, VPC A cannot communicate with VPC C through VPC B. For transitive connectivity between many VPCs, use AWS Transit Gateway.
Q42. What is the primary benefit of AWS Transit Gateway?
A) Connects multiple VPCs and on-premises networks through a central hub B) Accelerates internet traffic using the AWS global network C) Automates routing between subnets within a VPC D) Provides private access to AWS services without internet exposure
Answer: A
Explanation: AWS Transit Gateway is a network transit hub that connects VPCs and on-premises networks through a central hub, eliminating the complex mesh topology of VPC peering. It supports transitive routing, route tables per attachment, and can scale to thousands of VPCs. It also integrates with Direct Connect and VPN.
Q43. When should you use CloudFront Cache Invalidation?
A) When changing the origin server for a CloudFront distribution B) When you have uploaded a new version of a file to S3 but CloudFront still serves the old cached version C) When changing the CloudFront price class D) When adding a new custom domain to a CloudFront distribution
Answer: B
Explanation: Cache invalidation removes objects from CloudFront edge caches before their TTL expires. You specify paths (e.g., /images/*) to invalidate. Note that versioned file names (e.g., app.v2.js) are more efficient and cost-effective than frequent invalidations because they avoid per-invalidation charges.
Q44. What is the primary use case for Route 53 Weighted Routing?
A) Routing users to the geographically closest endpoint B) Distributing traffic across multiple endpoints for canary deployments or A/B testing C) Automatically routing to an alternate endpoint when the primary fails D) Routing to the endpoint with the lowest latency
Answer: B
Explanation: Weighted routing assigns a numerical weight (0–255) to each record. Traffic is distributed proportionally to the assigned weights. This is ideal for canary deployments (e.g., sending 10% of traffic to a new version) and A/B testing. A weight of 0 stops traffic from being routed to that record.
Q45. What is the functional difference between a NAT Gateway and an Internet Gateway?
A) NAT Gateways are in public subnets; Internet Gateways are in private subnets B) An Internet Gateway enables bidirectional communication between the VPC and the internet; a NAT Gateway allows outbound-only internet access from private subnets C) NAT Gateways cover all Availability Zones; Internet Gateways cover only a single AZ D) Internet Gateways work only with EC2; NAT Gateways work with all AWS services
Answer: B
Explanation: An Internet Gateway enables two-way communication between a VPC and the internet (resources must have a public IP or EIP). A NAT Gateway allows resources in private subnets to initiate outbound connections to the internet while blocking inbound connections initiated from the internet.
Q46. What are the two types of VPC Endpoints?
A) Public endpoints and private endpoints B) Gateway endpoints (S3 and DynamoDB) and Interface endpoints (PrivateLink-based) C) HTTP endpoints and HTTPS endpoints D) Regional endpoints and global endpoints
Answer: B
Explanation: Gateway endpoints use routing table entries to route traffic to S3 and DynamoDB without internet exposure and have no additional charge. Interface endpoints (AWS PrivateLink) create ENIs in your subnet to provide private connectivity to supported AWS services and partner services with per-hour and data processing charges.
Q47. When should you use CloudFront Signed Cookies instead of Signed URLs?
A) Signed URLs support HTTPS only; Signed Cookies support both HTTP and HTTPS B) Signed URLs are for single-file access control; Signed Cookies are for controlling access to multiple files or an entire path C) Signed URLs are generated by the origin server; Signed Cookies are auto-generated by CloudFront D) Signed URLs are permanent; Signed Cookies are session-based
Answer: B
Explanation: Signed URLs are best for individual file access with expiration (e.g., one-time download link). Signed Cookies are better when you need to grant access to multiple files matching a path pattern — for example, allowing premium subscribers to access all content under /premium/* without changing every URL in your application.
Q48. What is the key feature of AWS Global Accelerator?
A) Provides the same content caching as CloudFront B) Improves TCP/UDP application performance by routing traffic through the AWS global network C) Operates as a regional CDN service caching dynamic content D) Accelerates on-premises traffic through VPN connections
Answer: B
Explanation: AWS Global Accelerator uses anycast IP addresses to route user traffic to the nearest AWS edge location, then forwards it via the AWS private global network to the optimal endpoint. Unlike CloudFront, it does not cache content — it's designed for non-HTTP use cases and applications requiring consistent, low-latency performance.
Q49. What is the difference between Security Groups and Network ACLs (NACLs)?
A) Security Groups operate at the instance level and are stateful; NACLs operate at the subnet level and are stateless B) Security Groups support only allow rules; NACLs support only deny rules C) NACLs operate at the instance level; Security Groups operate at the subnet level D) Security Groups support a maximum of 10 rules; NACLs support unlimited rules
Answer: A
Explanation: Security Groups are stateful (return traffic is automatically allowed) and operate at the ENI level. NACLs are stateless (both inbound and outbound rules must explicitly allow return traffic) and operate at the subnet level. Security Groups can only allow traffic; NACLs can both allow and deny traffic.
Q50. What is the key difference between Route 53 Latency-Based Routing and Geolocation Routing?
A) Latency-based routing routes by country; geolocation routing measures actual latency B) Latency-based routing sends traffic to the Region with the lowest measured network latency; geolocation routing routes based on the geographic location of the DNS query origin C) Both routing methods work identically but with different configurations D) Latency-based routing works only at the Region level; geolocation routing works at country, continent, and subdivision levels
Answer: B
Explanation: Latency-based routing measures the actual network latency between the user and each AWS Region and routes to the Region with the lowest latency. Geolocation routing routes based on the geographic location inferred from the DNS resolver's IP address, enabling region-specific content serving.
Domain 6: Cost and Performance Optimization
Q51. What is the primary capability of AWS Cost Explorer?
A) Real-time cost alerts and automatic cost-reduction actions B) Visualizing historical costs and usage, forecasting future costs, and identifying spending patterns C) Automatically purchasing Reserved Instances for cost savings D) Automatically distributing costs across multiple accounts
Answer: B
Explanation: Cost Explorer visualizes up to 12 months of historical AWS cost and usage data, provides 12-month cost forecasts, and allows filtering and grouping by service, Region, account, and tags. It also provides Reserved Instance and Savings Plans purchase recommendations.
Q52. What is the key difference between Savings Plans and Reserved Instances?
A) Savings Plans commit to specific instance types; Reserved Instances commit to spending amounts B) Compute Savings Plans apply flexibly regardless of instance type, size, Region, or OS; EC2 Reserved Instances commit to specific instance families and Regions C) Savings Plans offer only 1-year commitments; Reserved Instances offer only 3-year commitments D) Savings Plans apply only to EC2; Reserved Instances apply to all AWS services
Answer: B
Explanation: Compute Savings Plans offer the most flexibility — they apply to EC2, Fargate, and Lambda regardless of instance type, size, OS, Region, or tenancy. EC2 Instance Savings Plans apply to a specific instance family in a Region. Standard Reserved Instances provide the highest discount for a specific instance type and Region.
Q53. How does Amazon S3 Intelligent-Tiering work?
A) It sends notifications to manually reclassify objects to storage classes B) It monitors access patterns and automatically moves objects to the most cost-effective storage tier C) It moves all objects to Glacier to minimize costs D) It keeps frequently accessed objects in S3 Standard and deletes the rest
Answer: B
Explanation: S3 Intelligent-Tiering monitors object access patterns and automatically moves objects between Frequent Access and Infrequent Access tiers (after 30 days without access) and optionally to Archive Instant Access (90 days) and Deep Archive Access (180 days) tiers. There are no retrieval fees for tier transitions.
Q54. How much advance notice is provided before an EC2 Spot Instance is interrupted?
A) 30 seconds B) 2 minutes C) 5 minutes D) 15 minutes
Answer: B
Explanation: AWS provides a 2-minute interruption notice via instance metadata (at /latest/meta-data/spot/interruption-notice) and an Amazon EventBridge event. Applications can use this notification to checkpoint work, drain connections, or save state before the instance is reclaimed.
Q55. What is the purpose of RDS Performance Insights?
A) Analyzes and optimizes RDS instance costs B) Visualizes database load and identifies the SQL queries, applications, or hosts causing performance bottlenecks C) Automatically optimizes RDS backups to reduce storage costs D) Automatically rewrites and optimizes database queries
Answer: B
Explanation: RDS Performance Insights monitors database load using the DB Load metric and breaks it down by wait events, SQL statements, users, and hosts. This helps DBAs quickly identify which queries are consuming the most resources and causing performance degradation.
Q56. When is Scheduled Scaling in EC2 Auto Scaling most useful?
A) Scaling out immediately when CPU utilization exceeds 80% B) Scaling out proactively before predictable traffic increases (e.g., every morning at 9 AM) C) Replacing Spot Instances with On-Demand instances automatically D) Scaling in when costs exceed a defined threshold
Answer: B
Explanation: Scheduled Scaling allows you to set specific times to adjust minimum, maximum, or desired capacity. For predictable traffic patterns (like business hours or weekly peaks), scheduled scaling ensures capacity is ready before the load arrives, avoiding the lag inherent in reactive dynamic scaling.
Q57. What can AWS Budgets do when a budget threshold is exceeded?
A) Automatically terminates resources when costs exceed the budget B) Sends alerts and can execute automated actions such as stopping EC2/RDS instances C) Consolidates billing across all AWS accounts D) Automatically purchases RIs to reduce costs
Answer: B
Explanation: AWS Budgets can alert via SNS topics or email when actual or forecasted costs, usage, or RI/Savings Plans coverage thresholds are breached. With Budgets Actions, you can automatically apply IAM policies, restrict SCP permissions, or stop EC2 and RDS instances when a budget threshold is exceeded.
Q58. What can an S3 Lifecycle policy accomplish?
A) Automatically notify when total S3 bucket costs exceed a threshold B) Transition objects to different storage classes or delete them after a specified number of days C) Automatically block access from specific IPs D) Automatically replicate data between S3 buckets
Answer: B
Explanation: S3 Lifecycle policies let you define rules to transition objects to cheaper storage classes (e.g., S3-IA after 30 days, Glacier after 90 days) and expire (delete) objects after a specified period. They can also clean up incomplete multipart uploads and expired object delete markers.
Q59. A company wants to allocate AWS costs by department. What is the most effective approach?
A) Create separate AWS accounts for each department B) Apply Cost Allocation Tags to resources and analyze them in Cost Explorer C) Use AWS Organizations consolidated billing D) Manually calculate per-resource costs in CloudWatch dashboards
Answer: B
Explanation: Cost Allocation Tags (e.g., Department=Engineering) can be applied to AWS resources. After activating the tags in the Billing console, Cost Explorer can filter, group, and export costs by tag. This enables department-level cost reporting without requiring separate accounts.
Q60. How does Predictive Scaling in EC2 Auto Scaling work?
A) Scales based on current CPU utilization in real time B) Uses machine learning to analyze historical traffic patterns and proactively adjust capacity before demand arrives C) Maintains a fixed number of instances during specified time windows D) Scales based on the number of messages in an SQS queue
Answer: B
Explanation: Predictive Scaling uses Amazon's ML models to analyze at least 14 days of historical load data for the Auto Scaling group. It generates a forecast and pre-scales capacity before anticipated increases, eliminating the lag of reactive scaling and ensuring capacity is available when traffic arrives.
Mixed Scenario Questions
Q61. A production EC2 instance becomes unresponsive. CloudWatch shows CPU at 100% and a network traffic spike. What should you do first?
A) Immediately terminate the instance and launch a new one B) Create CloudWatch alarms and configure SNS notifications C) Analyze VPC Flow Logs and CloudTrail to identify the source of abnormal traffic D) Resize the instance to a larger type
Answer: C
Explanation: A sudden CPU spike combined with network traffic surge could indicate a DDoS attack, cryptomining malware, or an application runaway loop. Before taking action, analyze VPC Flow Logs for unusual connection patterns and CloudTrail for recent API calls that may indicate account compromise.
Q62. A multi-Region application's Route 53 failover is not triggering despite the primary Region (us-east-1) being down. What is the most likely cause?
A) Route 53 is hosted in us-east-1 and failed along with it B) Health checks are configured to run only from inside us-east-1 C) The TTL value is too high and DNS responses are being cached by clients D) Failover records do not have proper weights configured
Answer: C
Explanation: Route 53 is a global service and is not affected by a single Region outage. However, if the DNS TTL is high (e.g., 300 seconds), clients continue using the cached DNS response pointing to the failed Region until the TTL expires. For failover routing, always use a low TTL (e.g., 60 seconds) on the primary record.
Q63. A CloudFormation stack deployment enters ROLLBACK_IN_PROGRESS state. What is the most effective way to identify the root cause?
A) Check the AWS Health Dashboard for service outages B) Check the Events tab in the CloudFormation console for resources in FAILED state and their status reason C) Review recent API calls in CloudTrail D) Open an AWS Support case for root cause analysis
Answer: B
Explanation: The CloudFormation console's Events tab shows a chronological log of all resource state changes. Filtering for FAILED events reveals the specific resource that failed and the error message in the Status Reason column, which typically contains the root cause (e.g., IAM permission denied, resource limit exceeded).
Q64. A developer accidentally deleted objects from a production S3 bucket. What is the best recovery method?
A) Contact AWS Support to recover data from backend storage B) If S3 Versioning is enabled, remove the delete marker to restore the previous version C) Retrieve the files from the S3 Cross-Region Replication destination D) Extract the object content from CloudTrail logs
Answer: B
Explanation: When S3 Versioning is enabled, deleting an object places a delete marker rather than permanently removing the data. You can restore the object by deleting the delete marker, which makes the previous version current again. This is why enabling S3 Versioning (and optionally MFA Delete) is a critical data protection best practice.
Q65. A company's monthly AWS bill is 30% higher than expected. What is the best first step toward cost optimization?
A) Immediately shut down all development environment instances B) Use AWS Cost Explorer and AWS Trusted Advisor to analyze the cost anomaly and identify optimization opportunities C) Replace all On-Demand instances with Spot Instances D) Request a cost review from AWS Support
Answer: B
Explanation: Systematic cost optimization starts with analysis: use Cost Explorer to understand which services, accounts, or tags drove the increase, and use Trusted Advisor to identify idle resources, underutilized instances, and unattached EBS volumes. Data-driven decisions prevent unnecessary disruption while maximizing savings.
Answer Key
| # | Ans | # | Ans | # | Ans | # | Ans | # | Ans |
|---|---|---|---|---|---|---|---|---|---|
| Q1 | B | Q14 | B | Q27 | B | Q40 | C | Q53 | B |
| Q2 | B | Q15 | C | Q28 | B | Q41 | B | Q54 | B |
| Q3 | B | Q16 | D | Q29 | B | Q42 | A | Q55 | B |
| Q4 | B | Q17 | B | Q30 | B | Q43 | B | Q56 | B |
| Q5 | B | Q18 | B | Q31 | B | Q44 | B | Q57 | B |
| Q6 | B | Q19 | B | Q32 | B | Q45 | B | Q58 | B |
| Q7 | B | Q20 | B | Q33 | B | Q46 | B | Q59 | B |
| Q8 | B | Q21 | B | Q34 | B | Q47 | B | Q60 | B |
| Q9 | B | Q22 | B | Q35 | D | Q48 | B | Q61 | C |
| Q10 | B | Q23 | B | Q36 | B | Q49 | A | Q62 | C |
| Q11 | B | Q24 | B | Q37 | B | Q50 | B | Q63 | B |
| Q12 | A | Q25 | B | Q38 | B | Q51 | B | Q64 | B |
| Q13 | B | Q26 | A | Q39 | B | Q52 | B | Q65 | B |
Exam Preparation Tips
- Hands-on practice: Directly configure CloudWatch alarms, Systems Manager Patch Manager, and CloudFormation change sets in a sandbox account
- Understand the cost model: Know the pricing structures for EC2 (RI, Savings Plans, Spot), S3 storage classes, and data transfer
- Lab preparation: SOA-C02 includes hands-on labs — practice in the AWS Management Console, not just conceptually
- Read the FAQs: AWS service FAQs often contain exam-relevant edge cases
- Study the Well-Architected Framework: The operational excellence pillar aligns closely with SysOps domain content