Question 100
A platform engineer must assign Azure RBAC roles to another principal for project access. What should the engineer implement?
- Separate agent invocation privileges from administrative roles
- Evaluate inherited roles, deny assignments, and relevant access conditions
- Use a role with Microsoft.Authorization role-assignment privileges at the intended scope
- Grant the applicable blob data role for its storage operation
Explanation
Correct Answer
C:Creating assignments is an authorization-management operation; ordinary resource Contributor access alone does not confer it.
Incorrect Answers
A:Different principals should receive action-specific permissions so runtime access does not become resource-management access; the requested solution requires assigning azure RBAC roles to another principal for project access rather than this different mechanism.
B:Effective authorization can reflect inherited scope and restrictions, not only the role shown on the resource itself; it addresses a neighboring concern, while the task tests assigning azure RBAC roles to another principal for project access.
D:Azure management Reader does not automatically authorize reading data-plane objects; storage permissions must be evaluated separately; on its own this leaves assigning azure RBAC roles to another principal for project access unaddressed.
Question 101
A team wants project members to invoke approved agents but not alter the project's infrastructure. Which implementation should the team choose?
- Assign an eligible search index data-reader permission
- Grant an appropriate resource-level management role with deployment permissions
- Separate agent invocation privileges from administrative roles
- Scope role assignments to that resource group or narrower where feasible
Explanation
Correct Answer
C:Different principals should receive action-specific permissions so runtime access does not become resource-management access.
Incorrect Answers
A:Query authorization is distinct from index administration; data reading need not include write or service management rights; the scenario instead depends on separating agent invocation privileges from administrative roles.
B:Read access allows inspection but not deployment changes; use narrowly scoped management operations rather than a tenant-wide role; the requested solution requires separating agent invocation privileges from administrative roles rather than this different mechanism.
D:Assignment inheritance flows downward from the chosen scope; subscription-wide grants would expose unrelated resources; it cannot substitute for separating agent invocation privileges from administrative roles under these conditions.
Question 102
A managed identity has correct subscription read permissions yet cannot retrieve private blob data. Which implementation should the team choose?
- Separate agent invocation privileges from administrative roles
- Use a role with Microsoft.Authorization role-assignment privileges at the intended scope
- Scope role assignments to that resource group or narrower where feasible
- Grant the applicable blob data role for its storage operation
- Assign an eligible search index data-reader permission
Explanation
Correct Answer
D:Azure management Reader does not automatically authorize reading data-plane objects; storage permissions must be evaluated separately.
Incorrect Answers
A:Different principals should receive action-specific permissions so runtime access does not become resource-management access; the needed design choice concerns granting the applicable blob data role for its storage operation instead.
B:Creating assignments is an authorization-management operation; ordinary resource Contributor access alone does not confer it; the scenario instead depends on granting the applicable blob data role for its storage operation.
C:Assignment inheritance flows downward from the chosen scope; subscription-wide grants would expose unrelated resources; the requested solution requires granting the applicable blob data role for its storage operation rather than this different mechanism.
E:Query authorization is distinct from index administration; data reading need not include write or service management rights; it cannot substitute for granting the applicable blob data role for its storage operation under these conditions.
Question 103
A sensitive deployment needs to restrict access to a single resource group. Which method is the best fit?
- Evaluate inherited roles, deny assignments, and relevant access conditions
- Scope role assignments to that resource group or narrower where feasible
- Use a role with Microsoft.Authorization role-assignment privileges at the intended scope
- Separate agent invocation privileges from administrative roles
Explanation
Correct Answer
B:Assignment inheritance flows downward from the chosen scope; subscription-wide grants would expose unrelated resources.
Incorrect Answers
A:Effective authorization can reflect inherited scope and restrictions, not only the role shown on the resource itself; that would not ensure restricting access to a single resource group for this workload.
C:Creating assignments is an authorization-management operation; ordinary resource Contributor access alone does not confer it; the scenario instead depends on restricting access to a single resource group.
D:Different principals should receive action-specific permissions so runtime access does not become resource-management access; the requested solution requires restricting access to a single resource group rather than this different mechanism.
Question 104
An operator is debugging two principals that appear to have the same resource role but different effective access. Which of the following would meet this need?
- Assign an eligible search index data-reader permission
- Grant an appropriate resource-level management role with deployment permissions
- Evaluate inherited roles, deny assignments, and relevant access conditions
- Separate agent invocation privileges from administrative roles
Explanation
Correct Answer
C:Effective authorization can reflect inherited scope and restrictions, not only the role shown on the resource itself.
Incorrect Answers
A:Query authorization is distinct from index administration; data reading need not include write or service management rights; the relevant decision is evaluating inherited roles, deny assignments, and relevant access conditions, not the separate action described here.
B:Read access allows inspection but not deployment changes; use narrowly scoped management operations rather than a tenant-wide role; that would not ensure evaluating inherited roles, deny assignments, and relevant access conditions for this workload.
D:Different principals should receive action-specific permissions so runtime access does not become resource-management access; the scenario instead depends on evaluating inherited roles, deny assignments, and relevant access conditions.
Question 105
A model-calling service stores an API key in a public source-control repository. What should be included in the design?
- Store the secret in Azure Key Vault and fetch it using authorized workload identity
- Configure a trusted server certificate and maintain its renewal lifecycle
- Use a managed cryptographic key operation where supported
- Redact authentication headers and sensitive token values in telemetry
- Remove and rotate the exposed key, then use a managed secret store or identity
Explanation
Correct Answer
E:Removing a committed string does not invalidate a leaked credential; rotation and eliminating hardcoded secrets are both necessary.
Incorrect Answers
A:A managed vault separates secret custody from application code and supports access policy, logging, and controlled rotation; that mechanism does not itself establish removing and rotate the exposed key, then use a managed secret store or identity.
B:TLS certificates establish endpoint identity for encrypted connections; storing an API password does not perform that function; the relevant decision is removing and rotate the exposed key, then use a managed secret store or identity, not the separate action described here.
C:Server-side signing can keep key material protected while producing verifiable signatures; plain secret retrieval is different; that would not ensure removing and rotate the exposed key, then use a managed secret store or identity for this workload.
D:Request diagnostics need correlation and status but not credentials, which would turn log readers into potential impersonators; the needed design choice concerns removing and rotate the exposed key, then use a managed secret store or identity instead.
Question 106
A legacy integration must use a secret that cannot yet be replaced by Entra authentication. Which implementation should the team choose?
- Remove and rotate the exposed key, then use a managed secret store or identity
- Monitor credential expiration and implement a rotation playbook
- Store the secret in Azure Key Vault and fetch it using authorized workload identity
- Assign environment-specific identities with only their required secret access
Explanation
Correct Answer
C:A managed vault separates secret custody from application code and supports access policy, logging, and controlled rotation.
Incorrect Answers
A:Removing a committed string does not invalidate a leaked credential; rotation and eliminating hardcoded secrets are both necessary; meeting the stated constraint still involves using a secret that cannot yet be replaced by Entra authentication.
B:Expiry tracking avoids emergency outages and gives time to test the replacement before the old credential stops working; that mechanism does not itself establish using a secret that cannot yet be replaced by Entra authentication.
D:Developer credentials and application identities should not share unrestricted vault rights; audit trails can then attribute each access; that would not ensure using a secret that cannot yet be replaced by Entra authentication for this workload.
Question 107
An application must prove the TLS identity of its public API endpoint. What should be included in the design?
- Add secret refresh and version-aware rollover to the client design
- Monitor credential expiration and implement a rotation playbook
- Configure a trusted server certificate and maintain its renewal lifecycle
- Store the secret in Azure Key Vault and fetch it using authorized workload identity
Explanation
Correct Answer
C:TLS certificates establish endpoint identity for encrypted connections; storing an API password does not perform that function.
Incorrect Answers
A:Vault rotation does not force every process to reread a secret; safe overlap and cache invalidation prevent stale authentication; on its own this leaves proving the TLS identity of its public API endpoint unaddressed.
B:Expiry tracking avoids emergency outages and gives time to test the replacement before the old credential stops working; meeting the stated constraint still involves proving the TLS identity of its public API endpoint.
D:A managed vault separates secret custody from application code and supports access policy, logging, and controlled rotation; the relevant decision is proving the TLS identity of its public API endpoint, not the separate action described here.
Question 108
A team rotates a credential but clients continue using a cached, expired value. What solution would satisfy this constraint?
- Add secret refresh and version-aware rollover to the client design
- Assign environment-specific identities with only their required secret access
- Configure a trusted server certificate and maintain its renewal lifecycle
- Monitor credential expiration and implement a rotation playbook
Explanation
Correct Answer
A:Vault rotation does not force every process to reread a secret; safe overlap and cache invalidation prevent stale authentication.
Incorrect Answers
B:Developer credentials and application identities should not share unrestricted vault rights; audit trails can then attribute each access; on its own this leaves adding secret refresh and version-aware rollover to the client design unaddressed.
C:TLS certificates establish endpoint identity for encrypted connections; storing an API password does not perform that function; meeting the stated constraint still involves adding secret refresh and version-aware rollover to the client design.
D:Expiry tracking avoids emergency outages and gives time to test the replacement before the old credential stops working; that mechanism does not itself establish adding secret refresh and version-aware rollover to the client design.
Question 109
A workflow requires signing an audit receipt without exporting private signing material. How should the developer address this requirement?
- Remove and rotate the exposed key, then use a managed secret store or identity
- Redact authentication headers and sensitive token values in telemetry
- Assign environment-specific identities with only their required secret access
- Use a managed cryptographic key operation where supported
Explanation
Correct Answer
D:Server-side signing can keep key material protected while producing verifiable signatures; plain secret retrieval is different.
Incorrect Answers
A:Removing a committed string does not invalidate a leaked credential; rotation and eliminating hardcoded secrets are both necessary; it addresses a neighboring concern, while the task tests providing signing an audit receipt without exporting private signing material.
B:Request diagnostics need correlation and status but not credentials, which would turn log readers into potential impersonators; it cannot substitute for providing signing an audit receipt without exporting private signing material under these conditions.
C:Developer credentials and application identities should not share unrestricted vault rights; audit trails can then attribute each access; on its own this leaves providing signing an audit receipt without exporting private signing material unaddressed.
Question 110
A production service should alert when its external API credential approaches expiration. How should the developer address this requirement?
- Redact authentication headers and sensitive token values in telemetry
- Monitor credential expiration and implement a rotation playbook
- Store the secret in Azure Key Vault and fetch it using authorized workload identity
- Use a managed cryptographic key operation where supported
Explanation
Correct Answer
B:Expiry tracking avoids emergency outages and gives time to test the replacement before the old credential stops working.
Incorrect Answers
A:Request diagnostics need correlation and status but not credentials, which would turn log readers into potential impersonators; the requested solution requires alerting when its external API credential approaches expiration rather than this different mechanism.
C:A managed vault separates secret custody from application code and supports access policy, logging, and controlled rotation; it cannot substitute for alerting when its external API credential approaches expiration under these conditions.
D:Server-side signing can keep key material protected while producing verifiable signatures; plain secret retrieval is different; on its own this leaves alerting when its external API credential approaches expiration unaddressed.