Question 120
A change request in the CloudWatch alerting deployment will be approved only if it delivers both outcomes: Escalate only sustained error rates rather than transient one-minute spikes; Report a custom application's failed-login count as a CloudWatch time series. What should be included?
- Forward structured application events into CloudWatch Logs; and publish a custom metric with consistent namespace and dimensions
- Build a CloudWatch dashboard using EC2 metrics and relevant custom or log-derived metrics; and forward structured application events into CloudWatch Logs
- Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately; and publish a custom metric with consistent namespace and dimensions
- Set CloudWatch alarm evaluation periods and datapoints-to-alarm deliberately; and build a CloudWatch dashboard using EC2 metrics and relevant custom or log-derived metrics
Explanation
Correct Answer
C:For the first acceptance test, “Escalate only sustained error rates rather than transient one-minute spikes,” alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required; for the second, “Report a custom application's failed-login count as a CloudWatch time series,” custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:The mechanism for “Report a custom application's failed-login count as a CloudWatch time series” is present: Custom metrics let alarms evaluate application-specific counters that AWS service metrics do not supply automatically; the additional mechanism relates to “Provide application logs for real-time filtering and alarms”: Log groups and streams collect application messages; metric filters and Logs Insights can then analyze the stored entries; nothing here completes “Escalate only sustained error rates rather than transient one-minute spikes.”.
B:Neither action is targeted at the two acceptance tests: Dashboards display multiple time series for correlation without themselves blocking network requests is about “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard,” and Log groups and streams collect application messages; metric filters and Logs Insights can then analyze the stored entries is about “Provide application logs for real-time filtering and alarms”; the intended “Escalate only sustained error rates rather than transient one-minute spikes” and “Report a custom application's failed-login count as a CloudWatch time series” requirements remain unsatisfied.
D:Alarms use configured evaluation windows, avoiding a trigger from a single brief fluctuation when sustained breaches are required supports the “Escalate only sustained error rates rather than transient one-minute spikes” acceptance test; Dashboards display multiple time series for correlation without themselves blocking network requests is pertinent to “Compare workload CPU spikes with suspicious outbound behavior on a single dashboard” instead; the change therefore omits the separate requirement “Report a custom application's failed-login count as a CloudWatch time series.”.
Question 121
A security review for an immutable evidence protection review identifies one priority: Encrypt new EC2 EBS volumes by default in an account and Region. Which control is the best choice?
- Configure SQS server-side encryption with a suitable KMS key
- Enable RDS storage encryption and select a suitable KMS key
- Enable EBS encryption by default with the approved KMS key
- Snapshot it, copy the snapshot with encryption, and create a replacement encrypted volume
- Select the customer-managed AWS KMS key for DynamoDB server-side encryption
Explanation
Correct Answer
C:EBS account settings make newly created volumes and snapshots use encryption settings without individually configuring every launch path; for an immutable evidence protection review, this is the measure that delivers the requirement to encrypt new EC2 EBS volumes by default in an account and Region.
Incorrect Answers
A:Queue-side encryption protects message bodies at rest while application authorization still uses SQS IAM and resource policies; this addresses the requirement to encrypt application messages stored in an SQS queue, not the requirement to encrypt new EC2 EBS volumes by default in an account and Region, which is needed in an immutable evidence protection review.
B:RDS at-rest encryption protects supported storage components and must be planned at creation or through an appropriate snapshot migration; the important distinction in an immutable evidence protection review is that this supports the requirement to encrypt an RDS database's storage at creation instead of the requirement to encrypt new EC2 EBS volumes by default in an account and Region.
D:EBS volume encryption is established on creation; an encrypted snapshot copy enables a controlled migration of existing data; this would help with the requirement to migrate an unencrypted EBS volume to encrypted storage, leaving the requirement to encrypt new EC2 EBS volumes by default in an account and Region unresolved in an immutable evidence protection review.
E:DynamoDB integrates encryption at rest with KMS; using a customer-managed key adds customer-controlled key policy and lifecycle considerations; the important distinction in an immutable evidence protection review is that this supports the requirement to encrypt DynamoDB table data at rest using an approved customer-managed KMS key instead of the requirement to encrypt new EC2 EBS volumes by default in an account and Region.
Question 122
The permissions and authorization review cannot pass unless both of these outcomes are demonstrated: Restrict access based on an organization identifier rather than enumerating every member account; Deny an application access to a bucket except through the dedicated network path. Which two-part plan is suitable?
- Add sts:ExternalId validation to the cross-account role trust policy; and combine explicit-deny bucket-policy conditions with necessary service exceptions
- Restrict iam:PassRole by role ARN and iam:PassedToService condition; and add sts:ExternalId validation to the cross-account role trust policy
- Use aws:PrincipalOrgID in a compatible resource-based policy; and combine explicit-deny bucket-policy conditions with necessary service exceptions
- Use aws:PrincipalOrgID in a compatible resource-based policy; and restrict iam:PassRole by role ARN and iam:PassedToService condition
Explanation
Correct Answer
C:Two different security outcomes are required in this permissions and authorization review; Organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping supports “Restrict access based on an organization identifier rather than enumerating every member account,” while A deny conditioned on source endpoint can enforce a private path but must account for AWS service requests that lack normal VPC endpoint keys supports “Deny an application access to a bucket except through the dedicated network path”; neither check is assumed to follow from the other.
Incorrect Answers
A:The option has a useful control for “Deny an application access to a bucket except through the dedicated network path” because A deny conditioned on source endpoint can enforce a private path but must account for AWS service requests that lack normal VPC endpoint keys; its other control applies to “Constrain a third-party role assumption to a unique customer relationship” because external ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers; it misses the first requirement, “Restrict access based on an organization identifier rather than enumerating every member account.”.
B:Limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads is pertinent to “Reduce privilege escalation through arbitrary iam:PassRole on service launch,” and External ID helps defend against the confused-deputy problem when a third-party service assumes roles for multiple customers is pertinent to “Constrain a third-party role assumption to a unique customer relationship”; the requested controls for “Restrict access based on an organization identifier rather than enumerating every member account” and “Deny an application access to a bucket except through the dedicated network path” are absent.
D:This option is only partly effective: Organization membership context can simplify trust for accounts in the organization while still requiring careful resource and action scoping supports “Restrict access based on an organization identifier rather than enumerating every member account”; but Limiting both which role may be passed and which service can receive it curtails creation of overprivileged service workloads supports “Reduce privilege escalation through arbitrary iam:PassRole on service launch,” not the required “Deny an application access to a bucket except through the dedicated network path” outcome.
Question 123
A security review for an EC2 and EKS workload security assessment identifies one priority: Detect drift from a golden AMI's approved operating-system configuration. Which control is the best choice?
- Use Systems Manager Session Manager with appropriate agent and role configuration
- Configure the operating system's host firewall in addition to VPC controls
- Use Systems Manager State Manager associations and compliance reporting
- Combine a resource-scoped workload role with a restrictive secret access policy
Explanation
Correct Answer
C:State Manager helps maintain and report desired managed-node configurations rather than rebuilding every instance on each check; it addresses the requirement to detect drift from a golden AMI's approved operating-system configuration at the right security boundary during an EC2 and EKS workload security assessment.
Incorrect Answers
A:Session Manager provides controlled session access without requiring inbound SSH ports, subject to its endpoint and permission prerequisites; its scope is the requirement to avoid interactive SSH exposure while administering private EC2 instances, rather than the requirement to detect drift from a golden AMI's approved operating-system configuration for an EC2 and EKS workload security assessment.
B:A host firewall applies controls within the instance OS and complements security groups and subnet network ACLs; this addresses the requirement to block host-level outbound traffic that is not needed for a Linux workload, not the requirement to detect drift from a golden AMI's approved operating-system configuration, which is needed in an EC2 and EKS workload security assessment.
D:Secret access is constrained by IAM and applicable resource/KMS permissions, limiting which workload sessions may retrieve credentials; its scope is the requirement to ensure a workload can retrieve a secret only through its approved role, rather than the requirement to detect drift from a golden AMI's approved operating-system configuration for an EC2 and EKS workload security assessment.
Question 124
An assessment of the active security incident investigation has two findings. Finding one: Find which IAM session made a suspicious DeleteObject call. Finding two: Contain an EC2 instance showing command-and-control traffic without deleting the machine. Which combination remediates both?
- Inspect S3 data events in CloudTrail for the bucket; and apply an AWS WAF IP or rate-based rule to the application edge
- Inspect S3 data events in CloudTrail for the bucket; and quarantine its network interfaces with restrictive security-group rules
- Apply an AWS WAF IP or rate-based rule to the application edge; and rotate the secret and force safe refresh of cached credentials
- Rotate the secret and force safe refresh of cached credentials; and quarantine its network interfaces with restrictive security-group rules
Explanation
Correct Answer
B:The implementation has a specific control for each objective: Object-level API events reveal callers and resources when the relevant data-event selectors were enabled during the period for “Find which IAM session made a suspicious DeleteObject call”; Network isolation can stop new unwanted communication while preserving the host for examination and snapshot capture for “Contain an EC2 instance showing command-and-control traffic without deleting the machine”; the combined option satisfies the two-part request.
Incorrect Answers
A:The first check would be covered, since object-level API events reveal callers and resources when the relevant data-event selectors were enabled during the period; yet the second choice is associated with “Block repeated malicious web requests while the origin is being investigated,” for which WAF filters applicable HTTP(S) requests at supported front ends; it is not a host-level response for arbitrary TCP flows; no corresponding control satisfies “Contain an EC2 instance showing command-and-control traffic without deleting the machine.”.
C:The first proposed action addresses “Block repeated malicious web requests while the origin is being investigated”: WAF filters applicable HTTP(S) requests at supported front ends; it is not a host-level response for arbitrary TCP flows; the second addresses “Revoke exposure of a leaked application secret used by Lambda functions”: Updating Secrets Manager alone does not invalidate a still-valid downstream credential unless the backing credential is changed and consumers refresh; the combination does not achieve the required “Find which IAM session made a suspicious DeleteObject call” and “Contain an EC2 instance showing command-and-control traffic without deleting the machine” outcomes in this active security incident investigation.
D:While network isolation can stop new unwanted communication while preserving the host for examination and snapshot capture is relevant to “Contain an EC2 instance showing command-and-control traffic without deleting the machine,” the other component targets “Revoke exposure of a leaked application secret used by Lambda functions,” where updating Secrets Manager alone does not invalidate a still-valid downstream credential unless the backing credential is changed and consumers refresh; the first acceptance criterion (“Find which IAM session made a suspicious DeleteObject call”) is not met.
Question 125
A change request in the security event analytics project will be approved only if it delivers both outcomes: Join S3 archived CloudTrail records with a reference table of suspect IPs; Find unusual API call rates rather than just inspect routine event counts. What should be included?
- Configure Security Hub insights over normalized security findings; and enable CloudTrail Insights for the supported management-event analysis
- Run a CloudWatch Logs Insights query selecting and filtering relevant fields; and configure Security Hub insights over normalized security findings
- Query the log objects in Athena with an appropriate external table; and enable CloudTrail Insights for the supported management-event analysis
- Query the log objects in Athena with an appropriate external table; and run a CloudWatch Logs Insights query selecting and filtering relevant fields
Explanation
Correct Answer
C:For the first acceptance test, “Join S3 archived CloudTrail records with a reference table of suspect IPs,” athena SQL can correlate S3-resident datasets when file locations and schemas are configured correctly; for the second, “Find unusual API call rates rather than just inspect routine event counts,” insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations; the proposed configuration implements both rather than using one control as a substitute for another.
Incorrect Answers
A:The mechanism for “Find unusual API call rates rather than just inspect routine event counts” is present: Insights identifies unusual API activity trends when configured, whereas ordinary event history simply lists observed operations; the additional mechanism relates to “Summarize findings by account, severity, and workflow state”: Security Hub insights aggregate finding properties rather than querying raw VPC packet records; nothing here completes “Join S3 archived CloudTrail records with a reference table of suspect IPs.”.
B:Neither action is targeted at the two acceptance tests: Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first is about “Search raw CloudWatch log messages for failed authentication patterns across streams,” and Security Hub insights aggregate finding properties rather than querying raw VPC packet records is about “Summarize findings by account, severity, and workflow state”; the intended “Join S3 archived CloudTrail records with a reference table of suspect IPs” and “Find unusual API call rates rather than just inspect routine event counts” requirements remain unsatisfied.
D:Athena SQL can correlate S3-resident datasets when file locations and schemas are configured correctly supports the “Join S3 archived CloudTrail records with a reference table of suspect IPs” acceptance test; Logs Insights can parse and aggregate stored log events for ad hoc investigation without writing a permanent metric filter first is pertinent to “Search raw CloudWatch log messages for failed authentication patterns across streams” instead; the change therefore omits the separate requirement “Find unusual API call rates rather than just inspect routine event counts.”.
Question 126
The traffic encryption assessment has two control objectives. Requirement one: Require database clients to connect with encrypted PostgreSQL or MySQL sessions. Requirement two: Avoid opening inbound SSH ports for remote EC2 administration. Which design passes both checks?
- Use AWS Site-to-Site VPN with IPsec and resilient tunnel configuration; and use Systems Manager Session Manager with secure endpoints and authorized session roles
- Add a bucket policy deny conditioned on aws:SecureTransport being false; and use AWS Site-to-Site VPN with IPsec and resilient tunnel configuration
- Enforce the supported RDS TLS requirement and install trusted CA certificates on clients; and use Systems Manager Session Manager with secure endpoints and authorized session roles
- Enforce the supported RDS TLS requirement and install trusted CA certificates on clients; and add a bucket policy deny conditioned on aws:SecureTransport being false
Explanation
Correct Answer
C:The first control addresses the check “Require database clients to connect with encrypted PostgreSQL or MySQL sessions”: Database encryption in transit requires an authenticated TLS connection and may need engine-specific configuration; the other addresses “Avoid opening inbound SSH ports for remote EC2 administration”: Session Manager provides an audited management channel without relying on a publicly reachable SSH service; these two mechanisms cover the complete traffic encryption assessment.
Incorrect Answers
A:Session Manager provides an audited management channel without relying on a publicly reachable SSH service; this fulfills the second objective (“Avoid opening inbound SSH ports for remote EC2 administration”); the other action is intended for “Connect a corporate network to AWS using encrypted tunnels”: IPsec provides encryption and authentication for the supported gateway-to-gateway path over the selected underlying connectivity; it does not meet the requested “Require database clients to connect with encrypted PostgreSQL or MySQL sessions” check.
B:The first action belongs to “Require client connections to an S3 bucket to use TLS” because transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest; the second belongs to “Connect a corporate network to AWS using encrypted tunnels” because IPsec provides encryption and authentication for the supported gateway-to-gateway path over the selected underlying connectivity; these are not the required checks, “Require database clients to connect with encrypted PostgreSQL or MySQL sessions” and “Avoid opening inbound SSH ports for remote EC2 administration.”.
D:Database encryption in transit requires an authenticated TLS connection and may need engine-specific configuration; this is relevant to the first objective (“Require database clients to connect with encrypted PostgreSQL or MySQL sessions”); however, the other action is meant for “Require client connections to an S3 bucket to use TLS”: Transport security can be enforced at the S3 resource policy layer independently of whether objects are encrypted at rest; it leaves the required “Avoid opening inbound SSH ports for remote EC2 administration” behavior unimplemented.
Question 127
A review board evaluating the multi-account infrastructure deployment rejects fixes that cover just one requirement. The requirements are: Share a supported network resource with other member accounts without duplicating it; and Enforce standard firewall and WAF policies for many accounts centrally. Which configuration addresses both?
- Define and enforce a tagging strategy with AWS Organizations tag policies where applicable; and use AWS Resource Groups with matching resource tags
- Use AWS Resource Groups with matching resource tags; and apply AWS Firewall Manager organization policies
- Use AWS Resource Access Manager with explicit shares; and define and enforce a tagging strategy with AWS Organizations tag policies where applicable
- Use AWS Resource Access Manager with explicit shares; and apply AWS Firewall Manager organization policies
Explanation
Correct Answer
D:For “Share a supported network resource with other member accounts without duplicating it,” the governing behavior is: RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls; for the separate check “Enforce standard firewall and WAF policies for many accounts centrally,” it is: Firewall Manager centrally scopes security policy enforcement across accounts and supported resource types; this is why the two controls belong together in the proposed change.
Incorrect Answers
A:This combination targets different outcomes: Tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation helps with “Group AWS resources using consistent key-value business metadata”; Resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries helps with “Manage a fleet of AWS instances as an operational grouping without a new account”; neither implements the required “Share a supported network resource with other member accounts without duplicating it” and “Enforce standard firewall and WAF policies for many accounts centrally” outcomes together.
B:Only the second requirement is covered: Firewall Manager centrally scopes security policy enforcement across accounts and supported resource types supports “Enforce standard firewall and WAF policies for many accounts centrally”; by contrast, Resource Groups presents collections of resources for management; it does not create new IAM or VPC security boundaries concerns “Manage a fleet of AWS instances as an operational grouping without a new account,” leaving “Share a supported network resource with other member accounts without duplicating it” unresolved.
C:The first part is appropriate for “Share a supported network resource with other member accounts without duplicating it” because RAM supports cross-account sharing of eligible resources, subject to organization and resource-specific controls; the second part addresses a different issue (“Group AWS resources using consistent key-value business metadata”) because tag policies standardize compliant tag keys and values on supported resources, while separate controls may be needed to require tags at creation; it does not fulfill the “Enforce standard firewall and WAF policies for many accounts centrally” test.
Question 128
An AWS team is correcting two gaps in the VPC connectivity and segmentation rollout: Record mirrored packets from an EC2 network interface for deep analysis; and Inspect selected VPC traffic with managed stateful firewall policies. Which proposed set of controls fixes both gaps?
- Configure VPC Traffic Mirroring to an approved traffic analysis target; and deploy AWS Network Firewall with appropriate routing through firewall endpoints
- Configure VPC Traffic Mirroring to an approved traffic analysis target; and use VPC Network Access Analyzer with a defined access scope
- Configure AWS Firewall Manager security-group policies; and deploy AWS Network Firewall with appropriate routing through firewall endpoints
- Use VPC Network Access Analyzer with a defined access scope; and configure AWS Firewall Manager security-group policies
Explanation
Correct Answer
A:For “Record mirrored packets from an EC2 network interface for deep analysis,” the governing behavior is: Traffic Mirroring captures packet copies from supported ENIs, unlike Flow Logs which only publish traffic metadata; for the separate check “Inspect selected VPC traffic with managed stateful firewall policies,” it is: Network Firewall provides network filtering including stateful inspection when traffic is explicitly routed through its endpoints; this is why the two controls belong together in the proposed change.
Incorrect Answers
B:The first part is appropriate for “Record mirrored packets from an EC2 network interface for deep analysis” because traffic Mirroring captures packet copies from supported ENIs, unlike Flow Logs which only publish traffic metadata; the second part addresses a different issue (“Assess whether a prohibited network path is possible before deployment”) because network Access Analyzer checks configured resource paths against network access requirements rather than sampling live packets; it does not fulfill the “Inspect selected VPC traffic with managed stateful firewall policies” test.
C:Only the second requirement is covered: Network Firewall provides network filtering including stateful inspection when traffic is explicitly routed through its endpoints supports “Inspect selected VPC traffic with managed stateful firewall policies”; by contrast, Firewall Manager applies centralized security policy management to in-scope accounts and resources, subject to organizational prerequisites concerns “Enforce uniform security-group policies across a multi-account organization,” leaving “Record mirrored packets from an EC2 network interface for deep analysis” unresolved.
D:This combination targets different outcomes: Network Access Analyzer checks configured resource paths against network access requirements rather than sampling live packets helps with “Assess whether a prohibited network path is possible before deployment”; Firewall Manager applies centralized security policy management to in-scope accounts and resources, subject to organizational prerequisites helps with “Enforce uniform security-group policies across a multi-account organization”; neither implements the required “Record mirrored packets from an EC2 network interface for deep analysis” and “Inspect selected VPC traffic with managed stateful firewall policies” outcomes together.
Question 129
An implementation in the permissions and authorization review must solve two separate problems, not merely strengthen one safeguard: A role session should have fewer privileges than its parent role policy; An identity has no applicable allow for an AWS operation. Which change meets the full request?
- Update the SCP guardrail or choose an allowed operation while retaining least privilege; and add a narrowly scoped explicit allow where the policy model requires it
- Remove or narrow the applicable explicit deny only after validating policy intent; and update the SCP guardrail or choose an allowed operation while retaining least privilege
- Pass a restrictive STS session policy when assuming the role; and add a narrowly scoped explicit allow where the policy model requires it
- Pass a restrictive STS session policy when assuming the role; and remove or narrow the applicable explicit deny only after validating policy intent
Explanation
Correct Answer
C:This pairing handles the first requirement (“A role session should have fewer privileges than its parent role policy”) because session policies further limit the temporary session's effective permissions instead of expanding the base role; it handles the second (“An identity has no applicable allow for an AWS operation”) because IAM starts from implicit denial for ordinary principals, so an absent allow leaves the operation unauthorized; both acceptance criteria are therefore addressed.
Incorrect Answers
A:This solves the second problem (“An identity has no applicable allow for an AWS operation”): IAM starts from implicit denial for ordinary principals, so an absent allow leaves the operation unauthorized; however, the first action addresses “An IAM policy allows an action but an Organizations SCP excludes it”: SCPs restrict the maximum available permissions of affected member-account identities; an IAM allow cannot exceed the guardrail; it does not satisfy “A role session should have fewer privileges than its parent role policy.”.
B:Both mechanisms have legitimate uses, but for other requirements: IAM explicit deny takes precedence over allows from other applicable permission policies for the same request supports “An identity has an IAM allow but a matching explicit deny is also present”; SCPs restrict the maximum available permissions of affected member-account identities; an IAM allow cannot exceed the guardrail supports “An IAM policy allows an action but an Organizations SCP excludes it”; this does not resolve the stated “A role session should have fewer privileges than its parent role policy” and “An identity has no applicable allow for an AWS operation” findings.
D:One action is correctly chosen for “A role session should have fewer privileges than its parent role policy”: Session policies further limit the temporary session's effective permissions instead of expanding the base role; the companion action relates to “An identity has an IAM allow but a matching explicit deny is also present”: IAM explicit deny takes precedence over allows from other applicable permission policies for the same request; the other requested outcome, “An identity has no applicable allow for an AWS operation,” remains outstanding.
Question 130
In a logging access troubleshooting session, engineers must cover two different requirements: S3 GetObject calls are absent while management calls remain visible. In addition, A VPC flow-log destination rejects writes after an IAM role change. Which option implements both?
- Add the necessary S3 object data-event selectors to the trail; and review the key policy for the CloudTrail log-encryption service permissions
- Add the necessary S3 object data-event selectors to the trail; and repair the CloudWatch Logs publishing role or destination resource permissions
- Review the key policy for the CloudTrail log-encryption service permissions; and expand or create Flow Logs coverage for that network interface or containing subnet
- Expand or create Flow Logs coverage for that network interface or containing subnet; and repair the CloudWatch Logs publishing role or destination resource permissions
Explanation
Correct Answer
B:This pairing handles the first requirement (“S3 GetObject calls are absent while management calls remain visible”) because management-event collection does not imply coverage of object-level operations, even in the same account; it handles the second (“A VPC flow-log destination rejects writes after an IAM role change”) because A correctly configured flow-log source cannot publish if the delivery principal lacks access to create streams or put events; both acceptance criteria are therefore addressed.
Incorrect Answers
A:One action is correctly chosen for “S3 GetObject calls are absent while management calls remain visible”: Management-event collection does not imply coverage of object-level operations, even in the same account; the companion action relates to “CloudTrail events stop arriving after the KMS key policy is tightened”: SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations; the other requested outcome, “A VPC flow-log destination rejects writes after an IAM role change,” remains outstanding.
C:Both mechanisms have legitimate uses, but for other requirements: SSE-KMS log delivery requires usable cryptographic authorization; an S3 write allowance alone cannot fix rejected key operations supports “CloudTrail events stop arriving after the KMS key policy is tightened”; Flow Logs capture only interfaces covered by the configured scope and supported traffic records supports “Flow logs show no records for a new ENI outside the original logging scope”; this does not resolve the stated “S3 GetObject calls are absent while management calls remain visible” and “A VPC flow-log destination rejects writes after an IAM role change” findings.
D:This solves the second problem (“A VPC flow-log destination rejects writes after an IAM role change”): A correctly configured flow-log source cannot publish if the delivery principal lacks access to create streams or put events; however, the first action addresses “Flow logs show no records for a new ENI outside the original logging scope”: Flow Logs capture only interfaces covered by the configured scope and supported traffic records; it does not satisfy “S3 GetObject calls are absent while management calls remain visible.”.