AWS 1: Detection: 142 practice questions
12 of the 142 1: Detection questions in the Certsqill AWS bank, shown in full below. Each one carries an explanation for every option, not just the correct one — the wrong answers are where the marks go.
Preparing for AWS? Take the free 5-min readiness check →
1. Enable GuardDuty Runtime Monitoring for ECS on Fargate: Which design best satisfies these requirements?
- Enable GuardDuty Runtime Monitoring for ECS on Fargate, Macie automated discovery, and Security Hub aggregation. ✓GuardDuty Runtime Monitoring covers ECS on Fargate using its managed security-agent model, Macie classifies eligible S3 data, and Security Hub centralizes supported findings. Macie automated discovery samples rather than exhaustively scanning every object.
- Enable GuardDuty Runtime Monitoring for EKS, Macie automated discovery, and Security Hub aggregation across accounts and Regions.The workload is ECS on Fargate, not EKS. GuardDuty does not support EKS clusters running on Fargate, and this option selects the wrong runtime coverage.
- Enable Inspector for supported workloads, Macie automated discovery, and Security Hub aggregation across accounts.Inspector can assess supported software and workloads, but it does not provide Fargate runtime process and network visibility.
- Enable CloudTrail S3 data events, Inspector workload assessment, Macie automated discovery, and Security Hub aggregation across the organization.CloudTrail S3 data events record API activity, and Inspector assesses supported workloads; neither supplies process and network visibility inside Fargate tasks.
Use GuardDuty Runtime Monitoring for ECS on Fargate, Macie for S3 classification, and Security Hub for centralized findings.
2. Create a grouped Metrics Insights alarm by InstanceId: Which design is best?
- Create one alarm on the fleet's average CWAgent memory for two periods and notify operations when the average exceeds 80 percent.An average can conceal an overloaded instance and cannot identify individual contributors exceeding the threshold.
- Create a grouped Metrics Insights alarm by InstanceId at 80% for two periods. ✓A grouped multi-time-series alarm evaluates each instance separately, adapts as Auto Scaling changes membership, and identifies contributing instances.
- Create separate CWAgent memory alarms for every current instance, then add alarms manually whenever Auto Scaling launches another instance.Static per-instance alarms require ongoing maintenance and do not automatically cover changing Auto Scaling membership.
- Create an anomaly-detection alarm on the fleet's aggregate CWAgent memory, notify operations, and investigate instances manually after the aggregate alarm fires.An aggregate anomaly alarm does not enforce the specified 80-percent per-instance threshold or provide automatic contributor identity.
Use a grouped Metrics Insights alarm to evaluate each instance dynamically and identify contributors.
3. Use Security Hub central configuration with separate: Which design best meets these requirements?
- Configure Security Hub separately in each account and Region, then ask administrators to copy the settings.Local configuration relies on account administrators and does not centrally prevent production drift or reliably cover new accounts and Regions.
- Use Security Hub central configuration with separate policies assigned to production and development OUs. ✓Central configuration applies different policies to OUs across the home and linked Regions, covers accounts assigned to those OUs, and prevents centrally managed production administrators from overriding settings.
- Use central configuration for all accounts, but designate production accounts as self-managed so administrators can adjust controls locally when needed.Self-managed production accounts can override local settings, contradicting the requirement for centrally enforced production configuration.
- Use central configuration with one policy for all accounts, including production and development.A single policy cannot provide the required different control settings for production and development accounts.
Security Hub central configuration supports OU-specific policies, linked Regions, new-account coverage, and prevention of production configuration drift.
4. Create a repository-dimensioned metric filter for failed: Select TWO actions.
Select two. More than one option is correct — every correct one is ticked below.
- Create static memory alarms for every current instance, update that alarm set after fleet changes, and send their ordinary alarm notifications to the contributor notification topic.Static alarms require manual updates and do not automatically follow instances created or terminated after deployment.
- Create a repository-dimensioned metric filter for failed events and alarm on the resulting metric. ✓A metric filter on the Standard log group can publish repository-dimensioned failure metrics for alarms and dashboards.
- Schedule a CloudWatch Logs Insights query that groups deployment failures by repository and display its results on the dashboard.The query supports analysis and dashboard display but does not create the required metric alarm for newly ingested failures.
- Create one un-dimensioned failure metric and alarm on it, then use a separate Logs Insights query to reconstruct repository counts for the dashboard.The alarm can detect aggregate failures, but this design does not provide repository-dimensioned metrics for the required dashboard breakdown.
- Create a Metrics Insights alarm grouped by instance for CloudWatch Agent memory metrics, and route contributor state changes through the configured EventBridge rule to SNS. ✓A grouped multi-time-series alarm follows changing instance membership and emits contributor state-change events that the stated rule can notify through SNS.
Use a repository-dimensioned log metric and a grouped Metrics Insights alarm with contributor-event routing.
5. Associate automatic SSM remediation with production Config: Which design is best?
- Associate automatic SSM remediation with production Config rules only. ✓The approved custom Automation document provides the auditable replacement workflow, while limiting the association to production leaves the sandbox OU disabled.
- Schedule a Lambda function to apply encryption in place to every detected production volume during maintenance windows.An existing EBS volume cannot be converted through a simple in-place encryption operation; replacement is required.
- Suppress production findings in Security Hub and document sandbox exceptions while leaving unencrypted volumes unchanged.Suppression manages findings but does not remediate unencrypted EBS volumes.
- Send Config events to SNS and require operators to create encrypted replacement volumes manually for production findings.SNS provides notification, but manual replacement is neither automatic nor the required repeatable Config remediation workflow.
Associate automatic SSM remediation with production Config rules only.
6. Send VPC Flow Logs: Which design best satisfies the evidence requirements?
- Send VPC Flow Logs and CloudTrail management events to CloudWatch Logs with retention configured.This omits Resolver query logs and S3 object-level events, and does not use the immutable central S3 store.
- Send Resolver query logs and application logs to the locked bucket without enabling S3 data events.Without CloudTrail S3 data events, object-level bucket activity is not captured; application logs cannot supply it reliably.
- Send VPC Flow Logs, Resolver query logs, and CloudTrail S3 data events to the locked central S3 bucket. ✓These sources provide network metadata, DNS queries, and S3 object activity, while Object Lock protects retained objects from deletion.
- Enable packet capture, CloudTrail management events, and S3 access logging, then retain all outputs in the locked central bucket.This combination does not provide the specified supported set of VPC flow metadata, Resolver queries, and CloudTrail S3 data events.
Use VPC Flow Logs, Resolver query logs, and CloudTrail S3 data events in the locked bucket.
7. Add an advanced selector for all S3 object data events: What change is required?
- Enable AWS Config recording for S3 buckets and supported bucket resources.AWS Config records supported resource configuration changes, not individual S3 object API operations such as GetObject.
- Add an advanced selector for all S3 object data events. ✓S3 object operations are data events and must be explicitly selected. Selecting the S3 object resource type on the existing multi-Region organization trail provides coverage for enabled Regions and member accounts.
- Enable CloudTrail Insights events on the existing organization trail.Insights detects unusual API-call rates or error patterns; it does not enable S3 object-level data-event logging.
- Add an advanced selector for Lambda Invoke data events.Lambda invocation data events are supported, but they do not record S3 GetObject operations.
Select all required S3 object data events on the existing organization trail.
8. Create separate scoped Security Lake subscribers: Select TWO actions.
Select two. More than one option is correct — every correct one is ticked below.
- Create separate scoped Security Lake subscribers: a query subscriber for analysts and a data-access subscriber for SaaS object notifications. ✓Security Lake supports separate subscriber access methods. Each subscriber can be limited to the required sources and Regions, allowing analyst queries and SaaS notifications without unrestricted bucket access.
- Enable Security Lake for the required accounts and Regions while retaining the configured OCSF custom sources. ✓Security Lake provides organization-owned S3-backed storage, OCSF and Parquet normalization, configurable retention and replication, and collection across the configured accounts and Regions.
- Centralize raw logs in S3 and grant the SaaS tool full bucket read access for notifications and queries.Raw S3 storage alone does not provide the required managed normalization, and full bucket access violates the least-privilege integration requirement.
- Use CloudTrail organization trails alone and expose their S3 destination through an S3 access point.CloudTrail covers AWS API activity, not the stated on-premises and third-party sources or the required unified OCSF lake.
- Forward every source through Kinesis Data Streams and implement custom Lambda parsers for a proprietary schema.This is executable, but it adds custom normalization and uses a proprietary schema despite the requirements to minimize parsing and use an open schema.
Enable the configured Security Lake deployment and create separate scoped query and notification subscribers.
9. Create a CloudWatch Logs data-protection policy: Which design best meets these requirements?
- Create Standard-class metric filters for patient identifiers and allow unrestricted Logs Insights searches.Metric filters are unavailable for Infrequent Access log groups, and unrestricted searches expose unmasked values.
- Create a CloudWatch Logs data-protection policy, then search all events and alarm on ordinary log-content filters.The policy can mask the data, but ordinary metric filters do not provide the required cross-class detection design and do not replace the supported LogEventsWithFindings metric.
- Create a CloudWatch Logs data-protection policy for the patient identifiers, alarm on AWS/Logs LogEventsWithFindings, restrict logs:Unmask to approved investigators, and query only events ingested after policy activation. ✓Data protection masks configured identifiers in Standard and Infrequent Access groups, emits LogEventsWithFindings for alarming, and permits cleartext viewing only to principals with logs:Unmask. Detection and masking apply to events ingested after activation.
- Export the log groups to S3, query them with Athena, and restrict result access to approved investigators.This does not provide CloudWatch Logs data-protection masking or the service-generated detection metric for both log classes.
Use data protection, LogEventsWithFindings, restricted unmask access, and a post-activation query range.
10. Use Security Lake for OCSF normalization and query: Which design best fits?
- Use Route 53 Resolver query logging and ignore VPC Flow Logs because DNS identifies every network connection.Resolver logs capture DNS queries but do not describe every network connection; omitting flow logs loses required correlation data.
- Use CloudTrail Lake channels to ingest selected external events and query them as one store.CloudTrail Lake can receive supported external events through channels, but this workflow does not provide the configured VPC Flow Logs, Resolver logs, findings, and custom OCSF normalization as the requested unified Security Lake dataset.
- Use CloudWatch Logs Insights separately against each source log group and manually compare results.Separate searches require manual correlation and do not provide the requested managed common schema across sources.
- Use Security Lake for OCSF normalization and query its S3-backed data with Amazon Athena. ✓Security Lake provides the configured cross-source normalized store, while Athena performs SQL investigations across its S3-backed data.
Use Security Lake for normalized cross-source storage and Athena for SQL correlation.
11. Enable Route 53 Resolver query logging for the VPCs: Which configuration best satisfies the investigation requ
- Install the GuardDuty security agent on partner instances and forward runtime findings through Amazon EventBridge.GuardDuty runtime findings can detect threats, but they do not provide the required complete DNS query and response records.
- Enable VPC Flow Logs for the endpoint subnets and deliver them to a centralized CloudWatch Logs account.VPC Flow Logs show network metadata, but they do not record queried domain names, DNS responses, or DNS Firewall actions.
- Enable CloudTrail data events for the partner's Amazon EC2 instances and deliver them to an organization trail.CloudTrail records API activity, not DNS queries generated by operating systems or Resolver DNS Firewall decisions.
- Enable Route 53 Resolver query logging for the VPCs and send records to a centralized Amazon S3 bucket. ✓Resolver query logging records queried names, responses, source context, and DNS Firewall actions without inspecting packet payloads.
Route 53 Resolver query logging supplies DNS names, responses, source context, and Firewall actions while avoiding packet capture.
12. Use EKS Pod Identity to associate narrowly scoped IAM: Which TWO actions best satisfy these requirements?
Select two. More than one option is correct — every correct one is ticked below.
- Use EKS Pod Identity to associate narrowly scoped IAM roles with workloads requiring AWS access. ✓EKS Pod Identity provides workload-specific credentials, allowing permissions to be limited without granting node-wide access.
- Enable VPC Flow Logs on worker-node subnets and rely on them for process and file activity.VPC Flow Logs provide network-flow metadata and cannot expose container processes, command lines, or file access.
- Attach the required S3 permissions to the worker-node instance role for all application containers.Node-role permissions are broadly available to workloads and do not enforce the required per-application access boundaries.
- Enable GuardDuty Runtime Monitoring for Amazon EKS and permit GuardDuty to manage the security agent. ✓GuardDuty Runtime Monitoring observes process, file, command-line, and network activity for supported EKS workloads.
- Enable GuardDuty Runtime Monitoring for Amazon EKS on AWS Fargate profiles hosting the cluster workloads.GuardDuty Runtime Monitoring does not support Amazon EKS clusters running on AWS Fargate.
GuardDuty Runtime Monitoring supplies runtime evidence, while EKS Pod Identity limits AWS permissions per workload.
130 more 1: Detection questions
The remaining 130 questions in this domain are part of the full AWS bank — 890 questions, every option explained. Start with the free five-minute check and see your score per domain.
Test your AWS readiness — freeOther AWS domains
- 4: Identity and Access Management — 178 questions →
- 3: Infrastructure Security — 160 questions →
- 5: Data Protection — 160 questions →
- 2: Incident Response — 125 questions →
- 6: Security Foundations and Governance — 125 questions →
- All 890 AWS questions →
- AWS certification: requirements, cost and exam format →