Question 330
An employee was assigned to an enterprise application yesterday but their SaaS account is missing, and the sign-in log contains no provisioning details. The initial implementation works. Which continuing control most directly prevents the same failure or drift from recurring?
- Regularly review tenant-wide grants and remove stale application permissions.
- Audit role-value changes and app assignments at each privileged application release.
- Monitor provisioning failures and offboarding deprovisioning separately from SSO success.
- Monitor provisioning error rates and credential rotation for connected apps.
Explanation
Correct Answer
D:Monitor provisioning error rates and credential rotation for connected apps. This reduces future drift after the initial control is deployed: investigate enterprise application provisioning logs and synchronization scope/error status for that identity. Recheck the actual behavior with: find the user's create/update job record and the target endpoint result rather than assuming SSO events prove provisioning.
Incorrect Answers
A:This control manages future application tenant-wide admin consent drift, but it does not reduce the continuing exposure in the described provisioning log troubleshooting case. The correct safeguard is: monitor provisioning error rates and credential rotation for connected apps.
B:This control manages future application app role assignment drift, but it does not reduce the continuing exposure in the described provisioning log troubleshooting case. The correct safeguard is: monitor provisioning error rates and credential rotation for connected apps.
C:This control manages future scim application provisioning drift, but it does not reduce the continuing exposure in the described provisioning log troubleshooting case. The correct safeguard is: monitor provisioning error rates and credential rotation for connected apps.
Question 331
A web app registration is configured for the OAuth authorization code flow, but its authentication redirects are failing after a hostname change. Which proposed configuration or implementation directly meets the stated requirement?
- Define appropriate app roles in the API app registration and assign the right principals to those roles.
- Register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses.
- Upload an approved application certificate credential and use the corresponding private key in the client assertion process.
- Configure the intended multitenant app registration and publish verified ownership/consent information appropriate for customer review.
Explanation
Correct Answer
B:Register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses. The solution acts at the intended identity, policy or application scope. A successful result is testable: perform an authorization code login and verify the redirect URI and issuer/audience align with the app registration. The competing configuration error is: the application's actual redirect URI is not registered for the client.
Incorrect Answers
A:That action implements the separate app roles token claims decision. It is appropriate when a custom API wants the caller's Reader or Approver application role represented in tokens, with no manual access list inside the app. The present case instead requires the specific redirect uri security change: register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses.
C:That action implements the separate certificate credential for unattended client decision. It is appropriate when a backend integration uses an app registration for client credentials and must replace a hard-coded client secret with a controlled certificate. The present case instead requires the specific redirect uri security change: register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses.
D:That action implements the separate multitenant publisher app consent decision. It is appropriate when a third-party SaaS app wants organization customers to consent through their own Microsoft Entra tenants. The present case instead requires the specific redirect uri security change: register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses.
Question 332
A web app registration is configured for the OAuth authorization code flow, but its authentication redirects are failing after a hostname change. The proposed change is: Register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses. After applying the intended configuration, which observation most directly proves that the required behavior works?
- Acquire a test app token using the certificate and confirm old secret removal does not break service.
- From a separate test tenant, complete an approved consent flow and verify creation of its local service principal.
- Perform an authorization code login and verify the redirect URI and issuer/audience align with the app registration.
- Acquire a token with the replacement before removing the original and confirm no consumer still relies on it.
Explanation
Correct Answer
C:Perform an authorization code login and verify the redirect URI and issuer/audience align with the app registration. This directly tests the effective outcome, not merely that a configuration exists. It establishes whether the intended change works: register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses. Failure would be evident in this case: the token endpoint rejects the request due to a redirect URI mismatch after the callback domain changes.
Incorrect Answers
A:The proposed observation checks the different certificate credential for unattended client scenario. Even a successful test would not establish the requested outcome here: perform an authorization code login and verify the redirect URI and issuer/audience align with the app registration.
B:The proposed observation checks the different multitenant publisher app consent scenario. Even a successful test would not establish the requested outcome here: perform an authorization code login and verify the redirect URI and issuer/audience align with the app registration.
D:The proposed observation checks the different app secret expiration rollover scenario. Even a successful test would not establish the requested outcome here: perform an authorization code login and verify the redirect URI and issuer/audience align with the app registration.
Question 333
The token endpoint rejects the request due to a redirect URI mismatch after the callback domain changes. Which root cause best explains the described result rather than merely treating its symptoms?
- No active credential remains that matches the daemon's configured client authentication.
- The credential presented by the client no longer matches an active trusted certificate on the app registration.
- Delegated user scopes cannot substitute for application permission grants in client credential flow.
- The application's actual redirect URI is not registered for the client.
Explanation
Correct Answer
D:The application's actual redirect URI is not registered for the client. This is the causal explanation of the observed behavior: the token endpoint rejects the request due to a redirect URI mismatch after the callback domain changes. Address the underlying mechanism with: register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses. Then confirm: perform an authorization code login and verify the redirect URI and issuer/audience align with the app registration.
Incorrect Answers
A:This diagnosis fits a separate app secret expiration rollover incident: The daemon begins receiving invalid_client immediately after the only existing secret expires. It does not explain this case's observed failure; the application's actual redirect URI is not registered for the client.
B:This diagnosis fits a separate certificate credential for unattended client incident: The integration fails after certificate rollover because the public certificate is updated but the application still signs with the old key. It does not explain this case's observed failure; the application's actual redirect URI is not registered for the client.
C:This diagnosis fits a separate delegated versus application permissions incident: The daemon fails because its token lacks the Graph permission even though a developer consented to a delegated scope. It does not explain this case's observed failure; the application's actual redirect URI is not registered for the client.
Question 334
A web app registration is configured for the OAuth authorization code flow, but its authentication redirects are failing after a hostname change. The initial implementation works. Which continuing control most directly prevents the same failure or drift from recurring?
- Maintain credential expiry alerts and phased rollover with verified consumer inventory.
- Plan overlapping certificate rollover and protect private keys from repository exposure.
- Version app role values carefully and verify token claims after assignment or consent changes.
- Require reviewed redirect URIs and avoid wildcard-like overly broad callbacks.
Explanation
Correct Answer
D:Require reviewed redirect URIs and avoid wildcard-like overly broad callbacks. This reduces future drift after the initial control is deployed: register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses. Recheck the actual behavior with: perform an authorization code login and verify the redirect URI and issuer/audience align with the app registration.
Incorrect Answers
A:This control manages future app secret expiration rollover drift, but it does not reduce the continuing exposure in the described redirect uri security case. The correct safeguard is: require reviewed redirect URIs and avoid wildcard-like overly broad callbacks.
B:This control manages future certificate credential for unattended client drift, but it does not reduce the continuing exposure in the described redirect uri security case. The correct safeguard is: require reviewed redirect URIs and avoid wildcard-like overly broad callbacks.
C:This control manages future app roles token claims drift, but it does not reduce the continuing exposure in the described redirect uri security case. The correct safeguard is: require reviewed redirect URIs and avoid wildcard-like overly broad callbacks.
Question 335
A custom API wants the caller's Reader or Approver application role represented in tokens, with no manual access list inside the app. Which proposed configuration or implementation directly meets the stated requirement?
- Create an authorized replacement credential, update consumers safely, validate tokens, then retire the expiring secret.
- Register the exact approved HTTPS redirect URI matching the application callback and remove obsolete addresses.
- Define appropriate app roles in the API app registration and assign the right principals to those roles.
- Upload an approved application certificate credential and use the corresponding private key in the client assertion process.
Explanation
Correct Answer
C:Define appropriate app roles in the API app registration and assign the right principals to those roles. The solution acts at the intended identity, policy or application scope. A successful result is testable: decode a scoped access token and confirm the intended roles claim appears for the authorized API audience. The competing configuration error is: the app role was defined but not assigned to that user/group/service principal, or the token targets a different audience.
Incorrect Answers
A:That action implements the separate app secret expiration rollover decision. It is appropriate when a client-credential integration uses an app registration secret that expires next month and must avoid a midnight outage. The present case instead requires the specific app roles token claims change: define appropriate app roles in the API app registration and assign the right principals to those roles.
B:That action implements the separate redirect uri security decision. It is appropriate when a web app registration is configured for the OAuth authorization code flow, but its authentication redirects are failing after a hostname change. The present case instead requires the specific app roles token claims change: define appropriate app roles in the API app registration and assign the right principals to those roles.
D:That action implements the separate certificate credential for unattended client decision. It is appropriate when a backend integration uses an app registration for client credentials and must replace a hard-coded client secret with a controlled certificate. The present case instead requires the specific app roles token claims change: define appropriate app roles in the API app registration and assign the right principals to those roles.
Question 336
A custom API wants the caller's Reader or Approver application role represented in tokens, with no manual access list inside the app. The proposed change is: Define appropriate app roles in the API app registration and assign the right principals to those roles. After applying the intended configuration, which observation most directly proves that the required behavior works?
- Acquire a test app token using the certificate and confirm old secret removal does not break service.
- Inspect the daemon's access token roles claim and run the intended Graph operation without a user sign-in.
- Acquire a token with the replacement before removing the original and confirm no consumer still relies on it.
- Decode a scoped access token and confirm the intended roles claim appears for the authorized API audience.
Explanation
Correct Answer
D:Decode a scoped access token and confirm the intended roles claim appears for the authorized API audience. This directly tests the effective outcome, not merely that a configuration exists. It establishes whether the intended change works: define appropriate app roles in the API app registration and assign the right principals to those roles. Failure would be evident in this case: an employee can authenticate but the API rejects Reader operations because no app role is present in the token.
Incorrect Answers
A:The proposed observation checks the different certificate credential for unattended client scenario. Even a successful test would not establish the requested outcome here: decode a scoped access token and confirm the intended roles claim appears for the authorized API audience.
B:The proposed observation checks the different delegated versus application permissions scenario. Even a successful test would not establish the requested outcome here: decode a scoped access token and confirm the intended roles claim appears for the authorized API audience.
C:The proposed observation checks the different app secret expiration rollover scenario. Even a successful test would not establish the requested outcome here: decode a scoped access token and confirm the intended roles claim appears for the authorized API audience.
Question 337
An employee can authenticate but the API rejects Reader operations because no app role is present in the token. Which root cause best explains the described result rather than merely treating its symptoms?
- Delegated user scopes cannot substitute for application permission grants in client credential flow.
- The app role was defined but not assigned to that user/group/service principal, or the token targets a different audience.
- The application's supported account types do not allow use by the intended external organizational tenant.
- The application's actual redirect URI is not registered for the client.
Explanation
Correct Answer
B:The app role was defined but not assigned to that user/group/service principal, or the token targets a different audience. This is the causal explanation of the observed behavior: an employee can authenticate but the API rejects Reader operations because no app role is present in the token. Address the underlying mechanism with: define appropriate app roles in the API app registration and assign the right principals to those roles. Then confirm: decode a scoped access token and confirm the intended roles claim appears for the authorized API audience.
Incorrect Answers
A:This diagnosis fits a separate delegated versus application permissions incident: The daemon fails because its token lacks the Graph permission even though a developer consented to a delegated scope. It does not explain this case's observed failure; the app role was defined but not assigned to that user/group/service principal, or the token targets a different audience.
C:This diagnosis fits a separate multitenant publisher app consent incident: A test customer tenant cannot consent because the app registration is restricted to accounts in the vendor's directory only. It does not explain this case's observed failure; the app role was defined but not assigned to that user/group/service principal, or the token targets a different audience.
D:This diagnosis fits a separate redirect uri security incident: The token endpoint rejects the request due to a redirect URI mismatch after the callback domain changes. It does not explain this case's observed failure; the app role was defined but not assigned to that user/group/service principal, or the token targets a different audience.
Question 338
A custom API wants the caller's Reader or Approver application role represented in tokens, with no manual access list inside the app. The initial implementation works. Which continuing control most directly prevents the same failure or drift from recurring?
- Require reviewed redirect URIs and avoid wildcard-like overly broad callbacks.
- Version app role values carefully and verify token claims after assignment or consent changes.
- Keep daemon application permissions narrower than interactive user permission bundles.
- Review publisher identity and least-privilege scopes when submitting changes to multitenant apps.
Explanation
Correct Answer
B:Version app role values carefully and verify token claims after assignment or consent changes. This reduces future drift after the initial control is deployed: define appropriate app roles in the API app registration and assign the right principals to those roles. Recheck the actual behavior with: decode a scoped access token and confirm the intended roles claim appears for the authorized API audience.
Incorrect Answers
A:This control manages future redirect uri security drift, but it does not reduce the continuing exposure in the described app roles token claims case. The correct safeguard is: version app role values carefully and verify token claims after assignment or consent changes.
C:This control manages future delegated versus application permissions drift, but it does not reduce the continuing exposure in the described app roles token claims case. The correct safeguard is: version app role values carefully and verify token claims after assignment or consent changes.
D:This control manages future multitenant publisher app consent drift, but it does not reduce the continuing exposure in the described app roles token claims case. The correct safeguard is: version app role values carefully and verify token claims after assignment or consent changes.
Question 339
A scheduled overnight report daemon calls Microsoft Graph with client credentials and no signed-in employee session. Which proposed configuration or implementation directly meets the stated requirement?
- Request the supported application permissions needed for the daemon and obtain authorized administrator consent.
- Configure the intended multitenant app registration and publish verified ownership/consent information appropriate for customer review.
- Upload an approved application certificate credential and use the corresponding private key in the client assertion process.
- Define appropriate app roles in the API app registration and assign the right principals to those roles.
Explanation
Correct Answer
A:Request the supported application permissions needed for the daemon and obtain authorized administrator consent. The solution acts at the intended identity, policy or application scope. A successful result is testable: inspect the daemon's access token roles claim and run the intended Graph operation without a user sign-in. The competing configuration error is: delegated user scopes cannot substitute for application permission grants in client credential flow.
Incorrect Answers
B:That action implements the separate multitenant publisher app consent decision. It is appropriate when a third-party SaaS app wants organization customers to consent through their own Microsoft Entra tenants. The present case instead requires the specific delegated versus application permissions change: request the supported application permissions needed for the daemon and obtain authorized administrator consent.
C:That action implements the separate certificate credential for unattended client decision. It is appropriate when a backend integration uses an app registration for client credentials and must replace a hard-coded client secret with a controlled certificate. The present case instead requires the specific delegated versus application permissions change: request the supported application permissions needed for the daemon and obtain authorized administrator consent.
D:That action implements the separate app roles token claims decision. It is appropriate when a custom API wants the caller's Reader or Approver application role represented in tokens, with no manual access list inside the app. The present case instead requires the specific delegated versus application permissions change: request the supported application permissions needed for the daemon and obtain authorized administrator consent.
Question 340
A scheduled overnight report daemon calls Microsoft Graph with client credentials and no signed-in employee session. The proposed change is: Request the supported application permissions needed for the daemon and obtain authorized administrator consent. After applying the intended configuration, which observation most directly proves that the required behavior works?
- Inspect the daemon's access token roles claim and run the intended Graph operation without a user sign-in.
- From a separate test tenant, complete an approved consent flow and verify creation of its local service principal.
- Acquire a token with the replacement before removing the original and confirm no consumer still relies on it.
- Decode a scoped access token and confirm the intended roles claim appears for the authorized API audience.
Explanation
Correct Answer
A:Inspect the daemon's access token roles claim and run the intended Graph operation without a user sign-in. This directly tests the effective outcome, not merely that a configuration exists. It establishes whether the intended change works: request the supported application permissions needed for the daemon and obtain authorized administrator consent. Failure would be evident in this case: the daemon fails because its token lacks the Graph permission even though a developer consented to a delegated scope.
Incorrect Answers
B:The proposed observation checks the different multitenant publisher app consent scenario. Even a successful test would not establish the requested outcome here: inspect the daemon's access token roles claim and run the intended Graph operation without a user sign-in.
C:The proposed observation checks the different app secret expiration rollover scenario. Even a successful test would not establish the requested outcome here: inspect the daemon's access token roles claim and run the intended Graph operation without a user sign-in.
D:The proposed observation checks the different app roles token claims scenario. Even a successful test would not establish the requested outcome here: inspect the daemon's access token roles claim and run the intended Graph operation without a user sign-in.
Microsoft Identity and Access Administrator (SC-300) Practice Tests