Question 50
Application logs on EC2 local files need continuous delivery to CloudWatch Logs. Which component should be configured?
- Only attaching CloudWatch delivery permissions to the instance
- CloudWatch Agent with log-file collection and required permissions
- Only creating a metric filter on an empty destination group
- CloudTrail management-event logging alone
Explanation
Correct Answer
B:The agent tails configured files and sends their records to designated groups. The instance also needs connectivity and authorization for delivery.
Incorrect Answers
A:Authorization is necessary, but without a configured collector no process tails and sends the local application file contents.
C:A filter operates on ingested records; it cannot read EC2 local files that no agent or sender has delivered to the group.
D:API auditing does not collect arbitrary operating-system application log lines written to a local file on the instance.
Question 51
A log archive must resist deletion by workload-account administrators. Which design best separates evidence ownership?
- Embed logs in the deployment package
- Send logs only to an operator terminal
- Deliver logs to a dedicated log-archive account with restricted administration
- Store the sole copy beside the workload with identical administrators
Explanation
Correct Answer
C:Independent account ownership separates workload privileges from archive deletion authority. Destination policies must still allow the logging services to deliver evidence.
Incorrect Answers
A:A static package is not a durable append-only evidence destination and usually remains controlled by workload deployment administrators.
B:Terminal output lacks the controlled central retention and ownership boundary needed for reliable later investigation.
D:The same compromised administrative identity could alter both the workload and its only evidence destination, defeating the requested separation.
Question 52
A security application needs full packet evidence for supported EC2 traffic, rather than aggregate flow metadata. Which mechanism is relevant?
- VPC Traffic Mirroring to an inspection target
- CloudWatch network-byte metrics
- ALB access records alone for all EC2 network traffic
- Increase the flow-log aggregation interval
Explanation
Correct Answer
A:Mirroring copies supported traffic to a configured analysis destination, where capture tooling can inspect packet evidence subject to encryption and supported-source constraints.
Incorrect Answers
B:Aggregate byte counters describe traffic volume and cannot recover the full packet headers or payload required for the investigation.
C:Load-balancer logs provide request metadata for their own path and are not full packet evidence for arbitrary supported instance traffic.
D:Longer aggregation changes how metadata is grouped; it does not add complete packet payloads to the flow-log records.
Question 53
A centralized logging design needs each event's original source account and timestamp. Why should normalization retain these fields?
- They eliminate the need for raw evidence retention
- They prove the destination clock was synchronized
- They replace all access controls
- They preserve attribution and temporal correlation across sources
Explanation
Correct Answer
D:Changing schema should not erase origin or event time, because investigators need both to reconstruct activity across accounts and delayed delivery paths.
Incorrect Answers
A:Normalized records can omit details or contain transformation mistakes, so retaining appropriate originals remains valuable for investigation and verification.
B:An event field records a claimed time and origin; it does not independently demonstrate synchronization of every collection and storage component.
C:Attribution fields describe records but do not enforce authorization to retrieve, modify, or delete the centralized security evidence.
Question 54
Log delivery can arrive after the underlying API action. Which field should drive the action's place in an incident timeline?
- Only the S3 object's upload time
- The event occurrence time, with delivery time retained separately
- Only the log batch's ingestion sequence
- Only the analyst workstation time
Explanation
Correct Answer
B:Using occurrence time avoids treating ingestion delay as execution order. Keeping delivery metadata also helps explain gaps and late-arriving evidence.
Incorrect Answers
A:That timestamp describes archive arrival and can reorder actions that occurred earlier but were delivered later by the source pipeline.
C:Delivery batching and retries can reorder arrival, so ingestion sequence cannot replace the source occurrence time in reconstructing actions.
D:The analyst's inspection moment describes the investigation, not when the identity performed the original API operation.
Question 55
A producer needs to transform incoming application events into normalized JSON before archival. Which component can perform custom transformation?
- A CloudTrail event selector used as a schema mapper
- A CloudWatch metric filter used as a record-rewrite engine
- An Athena table definition without an ingestion transform
- A Lambda processing function in the ingestion pipeline
Explanation
Correct Answer
D:Custom code can parse and map incoming records before storage, provided malformed events and retries are handled without silently losing evidence.
Incorrect Answers
A:Selection controls which API events are recorded and does not run arbitrary parsing logic on incoming application messages.
B:Metric filters derive monitoring values from matches; they do not replace a custom transformation that emits complete normalized archive records.
C:A schema can interpret data at query time but does not execute the requested custom conversion before the source records are archived.
Question 56
A security team wants a searchable index with flexible field-based queries for high-volume normalized events. Which service is suited to this role?
- A CloudWatch dashboard containing only aggregate metric series
- Amazon OpenSearch Service
- S3 Inventory reports of the stored log objects
- A Config aggregator used as an application-event search index
Explanation
Correct Answer
B:It supplies managed indexing and search capabilities for ingested records. Ingestion, access control, and index retention still need explicit design.
Incorrect Answers
A:Metrics can summarize rates and volumes but do not create the requested field-search index of the high-volume normalized event records.
C:Inventory lists object metadata, not an indexed representation of each security event's searchable fields and content.
D:Configuration and compliance snapshots are a different dataset and data model from the arbitrary normalized operational events requiring indexing.
Question 57
A log group must retain events for a defined period instead of indefinitely. Which setting directly controls automatic log expiry?
- The IAM session duration
- CloudWatch Logs retention policy
- The alarm evaluation period
- The agent polling interval
Explanation
Correct Answer
B:The log group's retention setting governs how long ingested events are retained, allowing the evidence lifecycle to reflect the approved policy.
Incorrect Answers
A:Credential expiration controls an authenticated session and cannot expire stored evidence according to a log retention schedule.
C:An alarm's evaluation window changes threshold calculations but does not set the lifetime of the underlying stored log events.
D:Polling frequency controls collection timing and does not determine how long CloudWatch Logs keeps records already received.
Question 58
A central CloudTrail design must include new member accounts and supported enabled Regions. Which TWO configuration choices address these separate coverage requirements? Choose TWO.
- Configure an organization trail
- Enable log validation but leave trail scope unchanged
- Configure the trail as multi-Region
- Extend destination retention without changing collection
- Create only a single-account single-Region trail
Explanation
Correct Answers
A:Organization scope supplies member-account coverage through the supported central relationship, rather than relying on every account to establish its own trail.
C:Regional coverage is a separate selection from organization scope; the multi-Region setting includes the supported enabled Regions in the intended recording design.
Incorrect Answers
B:Digest delivery helps verify recorded files; it does not extend a trail into additional accounts or Regions.
D:Retention preserves received evidence longer but cannot capture activity from locations and accounts outside the trail scope.
E:This narrower scope cannot supply either organization-wide member coverage or the full regional coverage requested.
Question 59
A security lake receives third-party alerts in incompatible schemas. What should integration preserve while converting them?
- Only a single severity word
- Only the source severity while discarding the affected-resource fields
- Source identifiers, event meaning, and schema-valid mapped fields
- Only the file extension
Explanation
Correct Answer
C:Normalization should make heterogeneous records comparable without changing their meaning or losing the identifiers needed to reconcile updates and investigations.
Incorrect Answers
A:Severity alone discards time, origin, and resource details that analysts need to determine whether multiple alerts describe the same event.
B:Retaining one score removes the resource identity and event details needed to correlate records and assess which assets are affected.
D:The extension is not a schema transformation and does not make arbitrary third-party content analytically compatible with the lake.
Question 60
Application debugging logs contain credentials. Which change best reduces the sensitive evidence created at the source?
- Remove secret values from logging and retain safe diagnostic context
- Apply downstream masking while leaving source emission unchanged
- Encrypt logs but keep printing credentials
- Restrict log readers while leaving plaintext credential emission unchanged
Explanation
Correct Answer
A:Preventing credential emission avoids copies throughout downstream storage and analytics. Request identifiers and sanitized error details can preserve useful troubleshooting evidence.
Incorrect Answers
B:Masking can protect supported read paths but does not eliminate the original sensitive values from the application's emitted diagnostic records.
C:At-rest encryption limits storage exposure but leaves secrets visible to authorized readers and any downstream system that processes the plaintext.
D:Reader controls reduce exposure but do not prevent credentials from being recorded and copied through the pipeline, which is the stated source-side goal.