aws SCS-C03: AWS Certified Security – Specialty · Practice questions

Domain 1: Detection Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

A company wants GuardDuty to detect threats such as malware and suspicious processes inside running EC2 instances and EKS containers by analyzing operating system-level events. Which GuardDuty feature should be enabled?

  1. GuardDuty RDS Protection
  2. GuardDuty Lambda Protection
  3. GuardDuty Runtime Monitoring — Correct
  4. GuardDuty S3 Protection

Correct answer

GuardDuty Runtime Monitoring

Explanation

Runtime Monitoring analyzes OS-level events in EC2, EKS, and ECS workloads with a security agent. S3, RDS, and Lambda Protection analyze other data sources.

Question 2

A security team needs to quickly see all API actions taken by a specific access key ID over the past 30 days across all accounts in the organization. CloudTrail Lake is enabled with an organization event data store. What should the engineer do?

  1. Download the trail's S3 objects for each account and search them manually.
  2. Open CloudTrail Event history in each account and filter by user name for 30 days.
  3. Enable CloudTrail Insights and wait for it to report the key's activity.
  4. Run a SQL query in CloudTrail Lake that filters on the access key ID and event time. — Correct

Correct answer

Run a SQL query in CloudTrail Lake that filters on the access key ID and event time.

Explanation

CloudTrail Lake supports SQL queries across the organization's events. Per-account Event history is slow. Manual searches are slow. Insights reports unusual activity rates, not full histories.

Question 3

A company has multiple security findings from different tools for the same EC2 instance. The team wants findings normalized into a common format so that they can be correlated. Which format does AWS Security Hub use?

  1. AWS Security Finding Format (ASFF), and OCSF — Correct
  2. Proprietary binary records stored in DynamoDB
  3. Plain text email messages sent to an SNS topic
  4. Comma-separated values with one finding per file per day

Correct answer

AWS Security Finding Format (ASFF), and OCSF

Explanation

Security Hub normalizes findings into ASFF, and newer capabilities use OCSF. The other formats are not used for findings.

Question 4

A company wants to detect suspicious behavior in its EKS clusters, such as anonymous API access or privilege escalation through Kubernetes RBAC. Which feature should be enabled?

  1. Amazon Inspector ECR scanning
  2. AWS WAF on the EKS API server
  3. S3 Object Lock for container logs
  4. GuardDuty EKS audit log monitoring — Correct

Correct answer

GuardDuty EKS audit log monitoring

Explanation

GuardDuty EKS audit log monitoring detects suspicious Kubernetes API activity. Inspector scans images. WAF does not protect the EKS API server. Object Lock protects log integrity only.

Question 5

A company wants a security alert whenever a new IAM user is created in any account. Which solution fits BEST?

  1. A Macie job that scans IAM users for sensitive data once a month
  2. A CloudWatch alarm on the EC2 CPUUtilization metric of the account's instances
  3. A weekly IAM credential report review in each account by the security team
  4. An EventBridge rule on the CreateUser event that targets SNS — Correct

Correct answer

An EventBridge rule on the CreateUser event that targets SNS

Explanation

EventBridge can match CreateUser events and alert immediately. Weekly reviews are slow. CPU metrics and Macie are unrelated.

Question 6

Which actions help ensure that log data needed for investigations cannot be tampered with by an attacker who gains administrator access to a workload account? (Choose TWO.)

  1. Allow all administrators in every account to delete log files for cleanup.
  2. Store logs only in the workload account's local CloudWatch Logs groups.
  3. Enable S3 Object Lock or CloudTrail integrity validation on the log storage. — Correct
  4. Deliver logs to a separate log archive account with restricted access. — Correct
  5. Disable versioning on the log bucket to reduce storage costs.

Correct answer

Enable S3 Object Lock or CloudTrail integrity validation on the log storage.; Deliver logs to a separate log archive account with restricted access.

Explanation

A separate account and immutability or integrity controls protect logs. Local-only storage, broad delete rights, and disabled versioning make tampering easier.

Question 7

A company detects that its EC2 instance has been making DNS requests to a domain generation algorithm (DGA) domain. Which service generated this finding?

  1. Amazon GuardDuty, from its DNS log analysis — Correct
  2. Amazon Inspector, based on vulnerability scans of the instance's packages
  3. Amazon Macie, based on sensitive data found in the DNS logs
  4. AWS Config, based on a managed rule for DNS configuration

Correct answer

Amazon GuardDuty, from its DNS log analysis

Explanation

GuardDuty analyzes DNS logs and reports findings such as DGA domain requests. Inspector, Config, and Macie do not analyze DNS queries for threats.

Question 8

A company wants to make sure that EC2 instances launched in production always have the CloudWatch agent and security agents installed and running. Which approach fits BEST?

  1. A note in the team wiki asking engineers to install the agents after launch
  2. An AWS Budgets alert when instances run without the agents for more than a day
  3. An IAM policy that denies instance launch when the agents are not running
  4. State Manager associations that install the agents and enforce their state — Correct

Correct answer

State Manager associations that install the agents and enforce their state

Explanation

State Manager applies and enforces software configuration continuously. Wiki notes are not enforcement. Budgets do not track agents. IAM cannot check agent status at launch.

Question 9

A company wants to keep CloudTrail events queryable with SQL for 7 years without managing S3 data, Athena tables, or partitions. Which solution meets this requirement?

  1. Send the trail to CloudWatch Logs and set the log group retention to 7 years.
  2. Enable CloudTrail Insights and keep its findings for 7 years in the console.
  3. Increase the retention period of CloudTrail Event history to 7 years.
  4. Create a CloudTrail Lake event data store with a 7-year retention period. — Correct

Correct answer

Create a CloudTrail Lake event data store with a 7-year retention period.

Explanation

CloudTrail Lake stores events in a managed, SQL-queryable event data store with configurable long retention. Event history retention cannot be changed. CloudWatch Logs works but is not managed SQL over events, and costs more. Insights detects unusual activity only.

Question 10

A company wants to collect logs from many sources, such as CloudTrail, VPC flow logs, Route 53 resolver logs, and third-party tools, into a centralized security data lake in the Open Cybersecurity Schema Framework (OCSF) format. Which service should it use?

  1. Amazon Macie
  2. AWS Audit Manager
  3. Amazon Security Lake — Correct
  4. AWS Firewall Manager

Correct answer

Amazon Security Lake

Explanation

Security Lake centralizes security logs in OCSF format in S3. Macie finds sensitive data. Firewall Manager manages firewall policies. Audit Manager collects audit evidence.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz