100% Latest & Updated Microsoft SC-500 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 500
A registry image is scanned but developers ignore critical vulnerability recommendations. What control helps?
- Permit only approved registries and verified image artifacts in cluster admission.
- Configure supported ACR private endpoint and restrict public network access.
- Gate image promotion on risk-based vulnerability assessment outcomes.
- Deploy pinned immutable image digests rather than mutable tags.
Explanation
Correct Answer
C:Pipeline enforcement translates scanning findings into release decisions.
Incorrect Answers
A:Trusted supply-chain admission prevents arbitrary unsigned images from entering workloads, but pipeline enforcement translates scanning findings into release decisions.
B:Private Link limits registry reachability to approved private networks. Pipeline enforcement translates scanning findings into release decisions.
D:Digest references bind deployment to a specific image artifact, whereas pipeline enforcement translates scanning findings into release decisions.
Question 501
An internal Container Apps environment should be reachable only within a private application network. What ingress setting fits?
- Run the container as a least-privileged user and reduce unnecessary capabilities.
- Secure downstream database and service connectivity independently of app ingress.
- Configure private or internal ingress according to supported Container Apps networking.
- Assign supported managed identity and registry pull authorization to the container group.
Explanation
Correct Answer
C:Internal ingress limits public exposure for application endpoints.
Incorrect Answers
A:Container execution privileges influence compromise blast radius. Internal ingress limits public exposure for application endpoints.
B:Private application entry points do not eliminate public backend exposure; internal ingress limits public exposure for application endpoints.
D:Scoped identity grants registry access without embedding administrator passwords. Internal ingress limits public exposure for application endpoints.
Question 502
A Container App needs a secret from Key Vault but developers hard-code it in environment variables. What change is safer?
- Configure private or internal ingress according to supported Container Apps networking.
- Secure downstream database and service connectivity independently of app ingress.
- Assign supported managed identity and registry pull authorization to the container group.
- Use an approved managed identity and Key Vault-backed secret reference.
Explanation
Correct Answer
D:Managed identity and Key Vault references reduce static secret distribution.
Incorrect Answers
A:Internal ingress limits public exposure for application endpoints; managed identity and Key Vault references reduce static secret distribution.
B:Private application entry points do not eliminate public backend exposure, whereas managed identity and Key Vault references reduce static secret distribution.
C:Scoped identity grants registry access without embedding administrator passwords. Managed identity and Key Vault references reduce static secret distribution.
Question 503
A workload runs with container image root privileges it does not need. What hardening principle helps?
- Run the container as a least-privileged user and reduce unnecessary capabilities.
- Configure private or internal ingress according to supported Container Apps networking.
- Secure downstream database and service connectivity independently of app ingress.
- Use an approved managed identity and Key Vault-backed secret reference.
Explanation
Correct Answer
A:Container execution privileges influence compromise blast radius.
Incorrect Answers
B:Internal ingress limits public exposure for application endpoints. Container execution privileges influence compromise blast radius.
C:Private application entry points do not eliminate public backend exposure, but container execution privileges influence compromise blast radius.
D:Managed identity and Key Vault references reduce static secret distribution. Container execution privileges influence compromise blast radius.
Question 504
An Azure Container Instance needs access to a private image registry. What identity model fits?
- Run the container as a least-privileged user and reduce unnecessary capabilities.
- Use an approved managed identity and Key Vault-backed secret reference.
- Assign supported managed identity and registry pull authorization to the container group.
- Configure private or internal ingress according to supported Container Apps networking.
Explanation
Correct Answer
C:Scoped identity grants registry access without embedding administrator passwords.
Incorrect Answers
A:Container execution privileges influence compromise blast radius. Scoped identity grants registry access without embedding administrator passwords.
B:Managed identity and Key Vault references reduce static secret distribution, but scoped identity grants registry access without embedding administrator passwords.
D:Internal ingress limits public exposure for application endpoints; scoped identity grants registry access without embedding administrator passwords.
Question 505
An app team assumes scaling a private Container App automatically makes its dependencies private. What else is required?
- Use an approved managed identity and Key Vault-backed secret reference.
- Run the container as a least-privileged user and reduce unnecessary capabilities.
- Assign supported managed identity and registry pull authorization to the container group.
- Secure downstream database and service connectivity independently of app ingress.
Explanation
Correct Answer
D:Private application entry points do not eliminate public backend exposure.
Incorrect Answers
A:Managed identity and Key Vault references reduce static secret distribution, but private application entry points do not eliminate public backend exposure.
B:Container execution privileges influence compromise blast radius. Private application entry points do not eliminate public backend exposure.
C:Scoped identity grants registry access without embedding administrator passwords; private application entry points do not eliminate public backend exposure.
Question 506
An HTTP-triggered function performs business updates but accepts anonymous calls. What should be configured?
- Redact secrets and sensitive headers from Function monitoring data.
- Use supported private endpoints or access restrictions for Function Apps.
- Require supported application or Microsoft Entra authentication and authorization.
- Validate trusted token claims and enforce server-side authorization on the function.
Explanation
Correct Answer
C:HTTP trigger access must enforce caller identity for consequential actions.
Incorrect Answers
A:Telemetry should retain actionable context without leaking bearer credentials. HTTP trigger access must enforce caller identity for consequential actions.
B:Network restrictions limit who can reach the function application's endpoint; hTTP trigger access must enforce caller identity for consequential actions.
D:Unverified client assertions cannot establish authenticated privileges. HTTP trigger access must enforce caller identity for consequential actions.
Question 507
A function needs to read a storage queue using an embedded connection string. What alternative helps?
- Configure identity-based connections using a managed identity where supported.
- Redact secrets and sensitive headers from Function monitoring data.
- Validate trusted token claims and enforce server-side authorization on the function.
- Require supported application or Microsoft Entra authentication and authorization.
Explanation
Correct Answer
A:Identity-based bindings reduce secret-bearing configuration values.
Incorrect Answers
B:Telemetry should retain actionable context without leaking bearer credentials, whereas identity-based bindings reduce secret-bearing configuration values.
C:Unverified client assertions cannot establish authenticated privileges. Identity-based bindings reduce secret-bearing configuration values.
D:HTTP trigger access must enforce caller identity for consequential actions, but identity-based bindings reduce secret-bearing configuration values.
Question 508
A function endpoint is public but it should accept requests only from an approved VNet. What boundary fits?
- Require supported application or Microsoft Entra authentication and authorization.
- Use supported private endpoints or access restrictions for Function Apps.
- Configure identity-based connections using a managed identity where supported.
- Validate trusted token claims and enforce server-side authorization on the function.
Explanation
Correct Answer
B:Network restrictions limit who can reach the function application's endpoint.
Incorrect Answers
A:HTTP trigger access must enforce caller identity for consequential actions, whereas network restrictions limit who can reach the function application's endpoint.
C:Identity-based bindings reduce secret-bearing configuration values, but network restrictions limit who can reach the function application's endpoint.
D:Unverified client assertions cannot establish authenticated privileges. Network restrictions limit who can reach the function application's endpoint.
Question 509
A serverless function logs complete authentication headers for diagnostics. What security fix is needed?
- Redact secrets and sensitive headers from Function monitoring data.
- Require supported application or Microsoft Entra authentication and authorization.
- Configure identity-based connections using a managed identity where supported.
- Use supported private endpoints or access restrictions for Function Apps.
Explanation
Correct Answer
A:Telemetry should retain actionable context without leaking bearer credentials.
Incorrect Answers
B:HTTP trigger access must enforce caller identity for consequential actions, but telemetry should retain actionable context without leaking bearer credentials.
C:Identity-based bindings reduce secret-bearing configuration values. Telemetry should retain actionable context without leaking bearer credentials.
D:Network restrictions limit who can reach the function application's endpoint; telemetry should retain actionable context without leaking bearer credentials.
Question 510
An HTTP function trusts the front-end client's role claim without validation. What authorization step is required?
- Redact secrets and sensitive headers from Function monitoring data.
- Use supported private endpoints or access restrictions for Function Apps.
- Validate trusted token claims and enforce server-side authorization on the function.
- Configure identity-based connections using a managed identity where supported.
Explanation
Correct Answer
C:Unverified client assertions cannot establish authenticated privileges.
Incorrect Answers
A:Telemetry should retain actionable context without leaking bearer credentials, but unverified client assertions cannot establish authenticated privileges.
B:Network restrictions limit who can reach the function application's endpoint. Unverified client assertions cannot establish authenticated privileges.
D:Identity-based bindings reduce secret-bearing configuration values, whereas unverified client assertions cannot establish authenticated privileges.
Implementing End-to-End Security Controls for Cloud and AI Workloads (SC-500) Practice Tests