Question 200

A subnet must have no direct internet ingress or egress. Which configuration is central?

  1. A public NAT route with no review
  2. Routes and controls that omit direct internet connectivity
  3. Only a security group allowing all outbound traffic
  4. Only removing public IP addresses while retaining NAT egress

Explanation

Correct Answer

B:

Isolation requires examining the actual forwarding paths and shared appliances, not merely giving the subnet a private-sounding name.

Incorrect Answers

A:

NAT enables outbound internet access, conflicting with the requirement for no direct internet egress.

C:

A broadly permissive group does not enforce isolation, and the configured route paths still determine whether internet egress exists.

D:

Private-address instances can still reach the internet through NAT, so address removal alone does not satisfy the no-egress requirement.

Question 201

A transit gateway VPC attachment is associated with a route table, but propagation into another intended table is disabled and no static route exists there. Does association alone advertise the VPC CIDR into that other table?

  1. No; association and propagation have different roles
  2. Yes; a security-group allow automatically creates the missing route
  3. No; VPC attachments can never propagate routes
  4. Yes; association copies the CIDR into every transit gateway table

Explanation

Correct Answer

A:

Association selects the table used to route traffic entering through the attachment. Propagation or an explicit static route determines whether the attachment's destinations appear in another table.

Incorrect Answers

B:

Packet permissions cannot create a transit gateway forwarding entry when no route has been propagated or configured.

C:

Propagation is supported, but it must be enabled for the intended relationship rather than inferred from association alone.

D:

That would defeat deliberate route segmentation. Association does not universally populate all other tables with the attached network.

Question 202

A pipeline needs source-code security analysis before application deployment. Which capability is relevant?

  1. A supported static security analysis tool integrated into CI
  2. Only a container image signature
  3. Only a production uptime check
  4. Only an operating-system patch baseline

Explanation

Correct Answer

A:

Source analysis can identify vulnerable coding patterns before release; findings need triage and remediation rather than assuming a passing scan proves complete safety.

Incorrect Answers

B:

A signature verifies provenance and integrity, not whether the signed application source contains a security vulnerability.

C:

Successful responses demonstrate availability but do not establish that the underlying source implements authentication and input handling securely.

D:

Host patching does not inspect the application's own source paths for insecure code constructs introduced by developers.

Question 203

Employees need centrally managed access to many AWS accounts using their corporate identity provider. Which service fits?

  1. An S3 presigned URL
  2. Amazon Cognito user pools
  3. An IAM user copied into each account
  4. AWS IAM Identity Center

Explanation

Correct Answer

D:

It connects workforce identities with account assignments and permission sets, avoiding separate permanent IAM users in every workload account.

Incorrect Answers

A:

A signed object request grants a bounded storage operation, not workforce access to multiple AWS account consoles and role permissions.

B:

User pools primarily support application customer sign-in and are not the direct workforce multi-account assignment model requested here.

C:

Independent users create fragmented credentials and lifecycle work instead of centralized corporate federation and account access management.

Question 204

A consumer mobile application needs hosted user registration and sign-in tokens. Which AWS identity component fits?

  1. An Organizations OU
  2. A permissions boundary
  3. Amazon Cognito user pool
  4. An IAM group

Explanation

Correct Answer

C:

A user pool manages application user authentication and issues tokens, allowing the application to validate a supported sign-in flow.

Incorrect Answers

A:

An organizational unit groups accounts for governance rather than authenticating individual customers to a mobile application.

B:

A boundary constrains an IAM entity's identity-based permissions and does not establish customer registration or token issuance.

D:

IAM groups organize AWS users' permissions and do not provide consumer registration, login pages, or application identity tokens.

Question 205

An authenticated mobile user needs temporary AWS credentials scoped to permitted resources. Which Cognito component is relevant?

  1. Only a user pool ID token
  2. A Cognito identity pool with scoped roles
  3. Only an S3 bucket name
  4. Only an IAM password policy

Explanation

Correct Answer

B:

An identity pool exchanges supported identity information for temporary AWS credentials, with role mappings governing access to AWS resources.

Incorrect Answers

A:

An application identity token is not itself an AWS access key, secret key, and session token for signing arbitrary service requests.

C:

A resource identifier does not authenticate the customer or provide the temporary credentials required to sign an AWS request.

D:

IAM password constraints do not exchange mobile application identities for scoped temporary AWS API credentials.

Question 206

A SAML identity provider should grant staff temporary AWS role sessions instead of permanent keys. Which STS operation is relevant?

  1. GetAccessKeyInfo
  2. CreateAccessKey
  3. AssumeRoleWithSAML
  4. DecodeAuthorizationMessage

Explanation

Correct Answer

C:

STS validates the supported SAML assertion and role relationship to issue temporary credentials, subject to the configured identity-provider trust and permissions.

Incorrect Answers

A:

This operation identifies the account associated with an access key; it does not exchange a SAML assertion for role credentials.

B:

Creating a long-term IAM user key is a different credential lifecycle and does not implement the requested SAML federation exchange.

D:

Decoding an authorized error message helps diagnose denial context, rather than authenticating a SAML user and issuing a session.

Question 207

A workload has an OIDC token and must obtain an authorized role session without a stored AWS key. Which STS flow fits?

  1. AssumeRole with no initial credentials or token trust
  2. GenerateCredentialReport
  3. CreateLoginProfile
  4. AssumeRoleWithWebIdentity

Explanation

Correct Answer

D:

The role trusts the configured OIDC provider and relevant token claims, allowing STS to issue temporary credentials from the external identity token.

Incorrect Answers

A:

Ordinary role assumption requires an already authenticated requesting identity and does not replace the specified web-identity token exchange.

B:

A credential inventory report is diagnostic output, not a federation mechanism for authenticating a workload's OIDC token.

C:

A login profile creates an IAM user's console password and does not turn an OIDC workload token into temporary role credentials.

Question 208

An OIDC CI job may deploy only from one approved repository and audience. Which TWO trust conditions constrain the token exchange? Choose TWO.

  1. Accept any unsigned token with the right text
  2. Match the subject claims identifying the approved repository context
  3. Match the expected audience claim
  4. Trust every subject from that provider
  5. Use a longer session duration instead of claim restrictions

Explanation

Correct Answers

B:

Repository and environment restrictions distinguish authorized jobs from other identities issued tokens by the same provider.

C:

Audience validation limits the token's intended relying party rather than accepting a valid token issued for an unrelated application.

Incorrect Answers

A:

Claims need authentic token verification under the provider trust, not just a caller-supplied JSON string.

D:

Provider identity alone can include unrelated repositories or jobs and does not enforce the required narrow workload boundary.

E:

Credential lifetime does not determine which repository or token audience may obtain the initial session.

Question 209

A presigned S3 URL was created with temporary role credentials. Can its access outlive those credentials merely because the URL expiry is later?

  1. Yes; the URL creates independent permanent credentials
  2. No; credential validity also limits the signed request
  3. Yes; the URL's later timestamp refreshes STS automatically
  4. Yes; repeated downloads extend the original session

Explanation

Correct Answer

B:

A URL depends on the signer credentials remaining valid, so a later URL timestamp does not extend an expired role session.

Incorrect Answers

A:

A presigned request carries derived authorization information rather than provisioning a new IAM identity with an independent credential lifetime.

C:

An S3 presigned request does not invoke a credential renewal flow, so the signer session's expiration remains an independent limit.

D:

Using a signed request does not renew the temporary credentials or move their original expiration time forward.

Question 210

A team distributes presigned URLs for confidential downloads. How should those URLs be handled?

  1. Publish them in public monitoring dashboards
  2. Assume HTTPS makes sharing harmless
  3. Treat them as sensitive bearer access artifacts
  4. Assume they require each viewer's IAM login

Explanation

Correct Answer

C:

A holder can exercise the signed operation while its conditions remain valid, so logs, messages, and referrals must avoid unintended disclosure.

Incorrect Answers

A:

Public distribution grants unintended holders the same bounded operation and undermines the confidentiality goal.

B:

TLS protects transit but does not stop an unintended recipient from using a valid URL obtained through another channel.

D:

The signature supplies the request's authorization path; the viewer does not necessarily authenticate as a separate IAM user.

AWS Certified Security - Specialty SCS-C03 Practice Tests