100% Latest & Updated Amazon AWS Certified Security - Specialty SCS-C02 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 360
Maintenance windows finish successfully while a security-sensitive fleet never receives approved patches. What is the strongest acceptance test for closing this incident?
- The container accesses only its intended resource and the execution role retains separate service duties.
- Legitimate SDK credentials work and the tested tokenless metadata request fails.
- Previously missed instances report compliant or remediated package state under the selected baseline.
- Newly deployed tasks obtain only approved secrets and compromised old values no longer authenticate.
Explanation
Correct Answer
C:Previously missed instances report compliant or remediated package state under the selected baseline. This observes the actual protected operation after the fix, not merely a changed configuration. The supporting causal check remains: Review maintenance-window targets, patch baselines and association execution status per node.
Incorrect Answers
A:The container accesses only its intended resource and the execution role retains separate service duties. Even if observed, it would leave the described failure unverified. This is evidence for another scenario: Developers give a container broad ECR and CloudWatch rights when it needs a narrow DynamoDB query. The present acceptance criterion is: Previously missed instances report compliant or remediated package state under the selected baseline.
B:Legitimate SDK credentials work and the tested tokenless metadata request fails. The observation does not test the affected permission, route, credential or telemetry path. For this case, verify: Previously missed instances report compliant or remediated package state under the selected baseline.
D:Newly deployed tasks obtain only approved secrets and compromised old values no longer authenticate. Even if observed, it would leave the described failure unverified. This is evidence for another scenario: A leaked deployment file exposes API credentials that cannot be revoked without a service outage. The present acceptance criterion is: Previously missed instances report compliant or remediated package state under the selected baseline.
Question 361
A hardened AMI pipeline runs successfully but fails to verify that a test component left an administrative SSH key in the image. Which control boundary is most relevant to this incident?
- IMDSv2 session tokens reduce exposure to common metadata SSRF paths, while application SSRF and IAM scope still need controls.
- Secure AMI pipelines need controlled source images, hardening recipes and tests against the produced image.
- ECS task execution roles and task application roles serve different purposes; application API permissions belong to the task role.
- Systems Manager Patch Manager coverage depends on managed-node registration, permissions and correct patch-group targeting.
Explanation
Correct Answer
B:Secure AMI pipelines need controlled source images, hardening recipes and tests against the produced image. The decisive distinction is the control or service boundary in the scenario. Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact. Compare resulting AMI scan and CIS-style configuration findings against the approved baseline. A generic security alert alone would not resolve the cause.
Incorrect Answers
A:IMDSv2 session tokens reduce exposure to common metadata SSRF paths, while application SSRF and IAM scope still need controls. That mechanism explains a different AWS operating failure: A vulnerable web proxy reaches EC2 instance metadata and can retrieve role credentials through untrusted request forwarding. It cannot account for the specific missing control in this question; Compare resulting AMI scan and CIS-style configuration findings against the approved baseline.
C:ECS task execution roles and task application roles serve different purposes; application API permissions belong to the task role. This does not resolve the fault in the reported incident: A hardened AMI pipeline runs successfully but fails to verify that a test component left an administrative SSH key in the image. The relevant check is: Compare resulting AMI scan and CIS-style configuration findings against the approved baseline.
D:Systems Manager Patch Manager coverage depends on managed-node registration, permissions and correct patch-group targeting. This addresses systems manager patch targeting rather than the current incident. Verify the reported dependency directly: Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact.
Question 362
A hardened AMI pipeline runs successfully but fails to verify that a test component left an administrative SSH key in the image. Which TWO pieces of evidence would verify the relevant security boundary? (Choose TWO.)
- Compare resulting AMI scan and CIS-style configuration findings against the approved baseline.
- Inspect CloudTrail actions by the function role and determine which are required by its handler.
- Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact.
- Verify listener processes and host firewall rules against the intended instance service inventory.
- Identify unpatched instances and confirm SSM Agent connectivity and instance permissions.
Explanation
Correct Answers
A:Compare resulting AMI scan and CIS-style configuration findings against the approved baseline. This check exercises the specific permission, path or telemetry in the incident. A separate confirming step is: Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact. The two findings support a targeted response.
C:Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact. The investigation needs this evidence rather than a general service-health indicator. Cross-check this evidence: Compare resulting AMI scan and CIS-style configuration findings against the approved baseline. Both observations bear on the stated operating condition.
Incorrect Answers
B:Inspect CloudTrail actions by the function role and determine which are required by its handler. This would help investigate lambda execution-role privilege, not the implicated ec2 image builder pipeline assurance failure. The direct check is: Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact.
D:Verify listener processes and host firewall rules against the intended instance service inventory. It does not establish the missing AWS behavior in the stem. Corroborate the finding by Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact. Compare resulting AMI scan and CIS-style configuration findings against the approved baseline.
E:Identify unpatched instances and confirm SSM Agent connectivity and instance permissions. This would help investigate systems manager patch targeting, not the implicated ec2 image builder pipeline assurance failure. The direct check is: Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact.
Question 363
Developers copy an old marketplace AMI with unsupported packages into every new production launch template. Which action should be prioritized once the diagnosis is confirmed?
- Move secrets out of baked images, rotate exposed values and restrict workload retrieval permissions.
- Add reproducible hardening and validation steps before promoting a signed-off AMI to launch templates.
- Require IMDSv2 where compatible and restrict the instance role and SSRF attack surface.
- Patch or rebuild affected live instances and verify the findings after remediation.
Explanation
Correct Answer
B:Add reproducible hardening and validation steps before promoting a signed-off AMI to launch templates. This change corrects the boundary described by the case: Secure AMI pipelines need controlled source images, hardening recipes and tests against the produced image. Closure should be checked against: A newly built image passes the targeted credential and configuration checks and is version-traceable.
Incorrect Answers
A:Move secrets out of baked images, rotate exposed values and restrict workload retrieval permissions. It is a response to secure application secrets retrieval, but the present fault is in a different control path. The corrective action is: Add reproducible hardening and validation steps before promoting a signed-off AMI to launch templates.
C:Require IMDSv2 where compatible and restrict the instance role and SSRF attack surface. The conditions call for the following correction: Add reproducible hardening and validation steps before promoting a signed-off AMI to launch templates. The acceptance test is: A newly built image passes the targeted credential and configuration checks and is version-traceable.
D:Patch or rebuild affected live instances and verify the findings after remediation. It is a response to inspector ec2 vulnerability scanning, but the present fault is in a different control path. The corrective action is: Add reproducible hardening and validation steps before promoting a signed-off AMI to launch templates.
Question 364
Developers copy an old marketplace AMI with unsupported packages into every new production launch template. Which observed result is sufficient evidence of the targeted control improvement?
- A newly built image passes the targeted credential and configuration checks and is version-traceable.
- A function regression test passes while unauthorized cross-service calls return AccessDenied.
- Previously missed instances report compliant or remediated package state under the selected baseline.
- Newly deployed tasks obtain only approved secrets and compromised old values no longer authenticate.
Explanation
Correct Answer
A:A newly built image passes the targeted credential and configuration checks and is version-traceable. A valid acceptance test must show both safe authorized behavior and the blocked failure path. Supporting diagnosis: Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact. The result then shows the cause was addressed.
Incorrect Answers
B:A function regression test passes while unauthorized cross-service calls return AccessDenied. The observation does not test the affected permission, route, credential or telemetry path. For this case, verify: A newly built image passes the targeted credential and configuration checks and is version-traceable.
C:Previously missed instances report compliant or remediated package state under the selected baseline. That result tests systems manager patch targeting, not whether the specific remediation in the question actually worked. The needed outcome is: A newly built image passes the targeted credential and configuration checks and is version-traceable.
D:Newly deployed tasks obtain only approved secrets and compromised old values no longer authenticate. Even if observed, it would leave the described failure unverified. This is evidence for another scenario: A leaked deployment file exposes API credentials that cannot be revoked without a service outage. The present acceptance criterion is: A newly built image passes the targeted credential and configuration checks and is version-traceable.
Question 365
An engineer stores long-term AWS access keys on every EC2 application server to read one S3 bucket. What AWS security mechanism most directly explains this result?
- EC2 instance profiles issue temporary role credentials that reduce the need for embedded long-lived application keys.
- ECS task execution roles and task application roles serve different purposes; application API permissions belong to the task role.
- Layered EC2 controls combine host hardening with correctly scoped cloud security-group and network access rules.
- Systems Manager Patch Manager coverage depends on managed-node registration, permissions and correct patch-group targeting.
Explanation
Correct Answer
A:EC2 instance profiles issue temporary role credentials that reduce the need for embedded long-lived application keys. Determine the minimum S3 actions and resources required by the workload. Cross-check this evidence: Check whether the instance profile is attached and the SDK resolves temporary credentials correctly.
Incorrect Answers
B:ECS task execution roles and task application roles serve different purposes; application API permissions belong to the task role. That concerns ecs task role separation, not the reported AWS dependency. The relevant evidence is: Determine the minimum S3 actions and resources required by the workload.
C:Layered EC2 controls combine host hardening with correctly scoped cloud security-group and network access rules. This does not resolve the fault in the reported incident: An engineer stores long-term AWS access keys on every EC2 application server to read one S3 bucket. The relevant check is: Check whether the instance profile is attached and the SDK resolves temporary credentials correctly.
D:Systems Manager Patch Manager coverage depends on managed-node registration, permissions and correct patch-group targeting. This addresses systems manager patch targeting rather than the current incident. Verify the reported dependency directly: Determine the minimum S3 actions and resources required by the workload.
Question 366
An engineer stores long-term AWS access keys on every EC2 application server to read one S3 bucket. Which TWO observations should guide the next response decision? (Choose TWO.)
- Check whether the instance profile is attached and the SDK resolves temporary credentials correctly.
- Determine the minimum S3 actions and resources required by the workload.
- Identify unpatched instances and confirm SSM Agent connectivity and instance permissions.
- Examine instance metadata options including HttpTokens and any required hop-limit settings.
- Compare running task image digests with ECR scan results and approved build provenance.
Explanation
Correct Answers
A:Check whether the instance profile is attached and the SDK resolves temporary credentials correctly. This is a direct diagnostic observation for the reported AWS failure. Combine it with the second relevant check: Determine the minimum S3 actions and resources required by the workload. Together they discriminate the cause from a coincident symptom.
B:Determine the minimum S3 actions and resources required by the workload. The investigation needs this evidence rather than a general service-health indicator. Cross-check this evidence: Check whether the instance profile is attached and the SDK resolves temporary credentials correctly. Both observations bear on the stated operating condition.
Incorrect Answers
C:Identify unpatched instances and confirm SSM Agent connectivity and instance permissions. It does not establish the missing AWS behavior in the stem. Corroborate the finding by Determine the minimum S3 actions and resources required by the workload. Check whether the instance profile is attached and the SDK resolves temporary credentials correctly.
D:Examine instance metadata options including HttpTokens and any required hop-limit settings. This would help investigate imdsv2 token requirement, not the implicated ec2 instance profile instead of keys failure. The direct check is: Determine the minimum S3 actions and resources required by the workload.
E:Compare running task image digests with ECR scan results and approved build provenance. This is a different AWS control path. The relevant test is: Check whether the instance profile is attached and the SDK resolves temporary credentials correctly.
Question 367
Rotating a leaked credential requires redeploying 200 hosts because credentials were baked into configuration. Which action should be prioritized once the diagnosis is confirmed?
- Use a narrowly scoped IAM role through an instance profile and remove stored static keys.
- Close unneeded cloud ingress and apply host-based restrictions with controlled testing.
- Add reproducible hardening and validation steps before promoting a signed-off AMI to launch templates.
- Patch or rebuild affected live instances and verify the findings after remediation.
Explanation
Correct Answer
A:Use a narrowly scoped IAM role through an instance profile and remove stored static keys. This action applies the required AWS control to the implicated path. Check whether the instance profile is attached and the SDK resolves temporary credentials correctly. The post-change acceptance standard is: The app reads only its approved bucket using temporary credentials while old keys are disabled.
Incorrect Answers
B:Close unneeded cloud ingress and apply host-based restrictions with controlled testing. The conditions call for the following correction: Use a narrowly scoped IAM role through an instance profile and remove stored static keys. The acceptance test is: The app reads only its approved bucket using temporary credentials while old keys are disabled.
C:Add reproducible hardening and validation steps before promoting a signed-off AMI to launch templates. It is a response to ec2 image builder pipeline assurance, but the present fault is in a different control path. The corrective action is: Use a narrowly scoped IAM role through an instance profile and remove stored static keys.
D:Patch or rebuild affected live instances and verify the findings after remediation. This remediation does not address the reported exposure. For the affected control, Use a narrowly scoped IAM role through an instance profile and remove stored static keys.
Question 368
Rotating a leaked credential requires redeploying 200 hosts because credentials were baked into configuration. What should the team verify before declaring remediation complete?
- The container accesses only its intended resource and the execution role retains separate service duties.
- A function regression test passes while unauthorized cross-service calls return AccessDenied.
- The app reads only its approved bucket using temporary credentials while old keys are disabled.
- Newly deployed tasks obtain only approved secrets and compromised old values no longer authenticate.
Explanation
Correct Answer
C:The app reads only its approved bucket using temporary credentials while old keys are disabled. A valid acceptance test must show both safe authorized behavior and the blocked failure path. Supporting diagnosis: Determine the minimum S3 actions and resources required by the workload. The result then shows the cause was addressed.
Incorrect Answers
A:The container accesses only its intended resource and the execution role retains separate service duties. The observation does not test the affected permission, route, credential or telemetry path. For this case, verify: The app reads only its approved bucket using temporary credentials while old keys are disabled.
B:A function regression test passes while unauthorized cross-service calls return AccessDenied. That result tests lambda execution-role privilege, not whether the specific remediation in the question actually worked. The needed outcome is: The app reads only its approved bucket using temporary credentials while old keys are disabled.
D:Newly deployed tasks obtain only approved secrets and compromised old values no longer authenticate. The observation does not test the affected permission, route, credential or telemetry path. For this case, verify: The app reads only its approved bucket using temporary credentials while old keys are disabled.
Question 369
An ECS workload cannot read a secret because the permission exists only on its task execution role. What explains why the current approach is insufficient?
- ECS task execution roles and task application roles serve different purposes; application API permissions belong to the task role.
- EC2 instance profiles issue temporary role credentials that reduce the need for embedded long-lived application keys.
- Systems Manager Patch Manager coverage depends on managed-node registration, permissions and correct patch-group targeting.
- Container security decisions should bind vulnerability evidence and approval to the immutable image digest actually deployed.
Explanation
Correct Answer
A:ECS task execution roles and task application roles serve different purposes; application API permissions belong to the task role. Compare the task definition's executionRoleArn and taskRoleArn to the failing API principal. Cross-check this evidence: Trace CloudTrail principal identity for the container's denied application request.
Incorrect Answers
B:EC2 instance profiles issue temporary role credentials that reduce the need for embedded long-lived application keys. That concerns ec2 instance profile instead of keys, not the reported AWS dependency. The relevant evidence is: Compare the task definition's executionRoleArn and taskRoleArn to the failing API principal.
C:Systems Manager Patch Manager coverage depends on managed-node registration, permissions and correct patch-group targeting. This does not resolve the fault in the reported incident: An ECS workload cannot read a secret because the permission exists only on its task execution role. The relevant check is: Trace CloudTrail principal identity for the container's denied application request.
D:Container security decisions should bind vulnerability evidence and approval to the immutable image digest actually deployed. This addresses ecr image digest control rather than the current incident. Verify the reported dependency directly: Compare the task definition's executionRoleArn and taskRoleArn to the failing API principal.
Question 370
An ECS workload cannot read a secret because the permission exists only on its task execution role. Which THREE observations together would establish the cause and verify successful remediation? (Choose THREE.)
- Trace CloudTrail principal identity for the container's denied application request.
- Verify listener processes and host firewall rules against the intended instance service inventory.
- Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact.
- Compare the task definition's executionRoleArn and taskRoleArn to the failing API principal.
- The container accesses only its intended resource and the execution role retains separate service duties.
- Determine the minimum S3 actions and resources required by the workload.
Explanation
Correct Answers
A:Trace CloudTrail principal identity for the container's denied application request. The investigation needs this evidence rather than a general service-health indicator. Cross-check this evidence: Compare the task definition's executionRoleArn and taskRoleArn to the failing API principal. Both observations bear on the stated operating condition.
D:Compare the task definition's executionRoleArn and taskRoleArn to the failing API principal. The investigation needs this evidence rather than a general service-health indicator. Cross-check this evidence: Trace CloudTrail principal identity for the container's denied application request. Both observations bear on the stated operating condition.
E:The container accesses only its intended resource and the execution role retains separate service duties. This is the post-change validation, whereas the other two correct options investigate the cause. It supplies observable evidence for the selected remediation: Assign least-privilege application permissions to the task role and keep pull/log duties on execution role.
Incorrect Answers
B:Verify listener processes and host firewall rules against the intended instance service inventory. It does not establish the missing AWS behavior in the stem. Corroborate the finding by Compare the task definition's executionRoleArn and taskRoleArn to the failing API principal. Trace CloudTrail principal identity for the container's denied application request.
C:Inspect Image Builder recipes, component versions and image tests for the relevant unauthorized artifact. This would help investigate ec2 image builder pipeline assurance, not the implicated ecs task role separation failure. The direct check is: Compare the task definition's executionRoleArn and taskRoleArn to the failing API principal.
F:Determine the minimum S3 actions and resources required by the workload. This would help investigate ec2 instance profile instead of keys, not the implicated ecs task role separation failure. The direct check is: Compare the task definition's executionRoleArn and taskRoleArn to the failing API principal.
AWS Certified Security - Specialty SCS-C02 Practice Tests