Microsoft DP-800 Practice Test 35
Question 340
At Pinecrest Operations, a newly enabled RLS security policy slows a reporting workload. The observed constraint is: Security predicates join an unindexed tenant mapping table. What operational condition would provide the earliest useful regression warning?
- Monitor plan regressions and security tests
- Monitor retention policy and ingestion outages
- Monitor MCP invocation logs and unauthorized action attempts
- Monitor policy changes and cross-tenant access tests
Explanation
Correct Answer
A:
Security predicates join an unindexed tenant mapping table. Monitor plan regressions and security tests.
Incorrect Answers
B:
“Monitor retention policy and ingestion outages” concerns Admins could alter evidence after a security incident; the reported problem instead is Security predicates join an unindexed tenant mapping table. Monitor plan regressions and security tests.
C:
“Monitor MCP invocation logs and unauthorized action attempts” concerns An AI agent only needs metadata yet can invoke DELETE; the reported problem instead is Security predicates join an unindexed tenant mapping table. Monitor plan regressions and security tests.
D:
“Monitor policy changes and cross-tenant access tests” concerns Application bugs could read rows belonging to another tenant; the reported problem instead is Security predicates join an unindexed tenant mapping table. Monitor plan regressions and security tests.
Question 341
A database engineer at Marigold Banking is investigating this case: SQL sends business text to a hosted model endpoint. The relevant finding is: Static API keys in scripts are exposed in source control. What initial check best narrows the technical cause without altering business data?
- Identify tenant key and session identity propagation
- Review endpoint identity options and outbound data classification
- Review threat model and ability to run queries or export data
- Inspect identity support and SQL principal mapping
Explanation
Correct Answer
B:
Static API keys in scripts are exposed in source control. Review endpoint identity options and outbound data classification.
Incorrect Answers
A:
“Identify tenant key and session identity propagation” concerns Application bugs could read rows belonging to another tenant; the reported problem instead is Static API keys in scripts are exposed in source control. Review endpoint identity options and outbound data classification.
C:
“Review threat model and ability to run queries or export data” concerns Masking is not a substitute for authorization and can be inferred; the reported problem instead is Static API keys in scripts are exposed in source control. Review endpoint identity options and outbound data classification.
D:
“Inspect identity support and SQL principal mapping” concerns Password rotation breaks the app and exposes credentials; the reported problem instead is Static API keys in scripts are exposed in source control. Review endpoint identity options and outbound data classification.
Question 342
Riverbend Retail is responsible for an Azure SQL or Microsoft SQL workload. SQL sends business text to a hosted model endpoint. Operational evidence: Static API keys in scripts are exposed in source control. Which proposed change is the most suitable response to the observed constraint?
- Use managed identity or scoped credential and approved endpoint authorization
- Centralize key custody in approved Azure Key Vault and narrow identity permissions
- Enforce authorization at API and database layers for tenant rows
- Use managed identity with Microsoft Entra authentication for SQL access
Explanation
Correct Answer
A:
Static API keys in scripts are exposed in source control. Use managed identity or scoped credential and approved endpoint authorization.
Incorrect Answers
B:
“Centralize key custody in approved Azure Key Vault and narrow identity permissions” concerns Key material is distributed to several developer machines; the reported problem instead is Static API keys in scripts are exposed in source control. Use managed identity or scoped credential and approved endpoint authorization.
C:
“Enforce authorization at API and database layers for tenant rows” concerns Resolver inherits broad SQL user permissions; the reported problem instead is Static API keys in scripts are exposed in source control. Use managed identity or scoped credential and approved endpoint authorization.
D:
“Use managed identity with Microsoft Entra authentication for SQL access” concerns Password rotation breaks the app and exposes credentials; the reported problem instead is Static API keys in scripts are exposed in source control. Use managed identity or scoped credential and approved endpoint authorization.
Question 343
At Prairie Logistics, sQL sends business text to a hosted model endpoint. The observed constraint is: Static API keys in scripts are exposed in source control. What isolated pilot would provide the strongest evidence before rollout?
- Query the same test rows through separate tenant principals
- Invoke fake model endpoint under minimally privileged test identity
- Call a disposable database from the Function test identity
- Add a synthetic view and test effective permissions
Explanation
Correct Answer
B:
Static API keys in scripts are exposed in source control. Invoke fake model endpoint under minimally privileged test identity.
Incorrect Answers
A:
“Query the same test rows through separate tenant principals” concerns Application bugs could read rows belonging to another tenant; the reported problem instead is Static API keys in scripts are exposed in source control. Invoke fake model endpoint under minimally privileged test identity.
C:
“Call a disposable database from the Function test identity” concerns Password rotation breaks the app and exposes credentials; the reported problem instead is Static API keys in scripts are exposed in source control. Invoke fake model endpoint under minimally privileged test identity.
D:
“Add a synthetic view and test effective permissions” concerns Repeated per-object GRANT updates are error-prone; the reported problem instead is Static API keys in scripts are exposed in source control. Invoke fake model endpoint under minimally privileged test identity.
Question 344
A database engineer at Silverpine Labs is investigating this case: SQL sends business text to a hosted model endpoint. The relevant finding is: Static API keys in scripts are exposed in source control. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Restore succeeds without unprotected key distribution
- New approved views accessible while unrelated schemas remain denied
- Data remains accessible to authorized code through rotation
- Only approved outbound payload is processed without plaintext key in code
Explanation
Correct Answer
D:
Static API keys in scripts are exposed in source control. Only approved outbound payload is processed without plaintext key in code.
Incorrect Answers
A:
“Restore succeeds without unprotected key distribution” concerns Missing encryption certificate blocks restoration; the reported problem instead is Static API keys in scripts are exposed in source control. Only approved outbound payload is processed without plaintext key in code.
B:
“New approved views accessible while unrelated schemas remain denied” concerns Repeated per-object GRANT updates are error-prone; the reported problem instead is Static API keys in scripts are exposed in source control. Only approved outbound payload is processed without plaintext key in code.
C:
“Data remains accessible to authorized code through rotation” concerns Key material is distributed to several developer machines; the reported problem instead is Static API keys in scripts are exposed in source control. Only approved outbound payload is processed without plaintext key in code.
Question 345
Briarfield Foods is responsible for an Azure SQL or Microsoft SQL workload. SQL sends business text to a hosted model endpoint. Operational evidence: Static API keys in scripts are exposed in source control. What operational condition would provide the earliest useful regression warning?
- Monitor endpoint calls and credential changes
- Monitor denied vault calls and impending key expiry
- Monitor key access and driver encryption errors
- Monitor policy changes and cross-tenant access tests
Explanation
Correct Answer
A:
Static API keys in scripts are exposed in source control. Monitor endpoint calls and credential changes.
Incorrect Answers
B:
“Monitor denied vault calls and impending key expiry” concerns Key material is distributed to several developer machines; the reported problem instead is Static API keys in scripts are exposed in source control. Monitor endpoint calls and credential changes.
C:
“Monitor key access and driver encryption errors” concerns Server-side encryption alone leaves plaintext exposed to DB engine; the reported problem instead is Static API keys in scripts are exposed in source control. Monitor endpoint calls and credential changes.
D:
“Monitor policy changes and cross-tenant access tests” concerns Application bugs could read rows belonging to another tenant; the reported problem instead is Static API keys in scripts are exposed in source control. Monitor endpoint calls and credential changes.
Question 346
At Northstar Analytics, data API builder exposes REST endpoints over sensitive tables. The observed constraint is: Default or overly broad role mappings permit unintended writes. What initial check best narrows the technical cause without altering business data?
- Inspect retention settings and writer permissions
- Inspect identity support and SQL principal mapping
- Inspect DAB role filters and SQL identity context
- Inspect DAB runtime role mapping, entity actions and authentication
Explanation
Correct Answer
D:
Default or overly broad role mappings permit unintended writes. Inspect DAB runtime role mapping, entity actions and authentication.
Incorrect Answers
A:
“Inspect retention settings and writer permissions” concerns Admins could alter evidence after a security incident; the reported problem instead is Default or overly broad role mappings permit unintended writes. Inspect DAB runtime role mapping, entity actions and authentication.
B:
“Inspect identity support and SQL principal mapping” concerns Password rotation breaks the app and exposes credentials; the reported problem instead is Default or overly broad role mappings permit unintended writes. Inspect DAB runtime role mapping, entity actions and authentication.
C:
“Inspect DAB role filters and SQL identity context” concerns Resolver inherits broad SQL user permissions; the reported problem instead is Default or overly broad role mappings permit unintended writes. Inspect DAB runtime role mapping, entity actions and authentication.
Question 347
A database engineer at Maple Harbor Research is investigating this case: Data API builder exposes REST endpoints over sensitive tables. The relevant finding is: Default or overly broad role mappings permit unintended writes. Which proposed change is the most suitable response to the observed constraint?
- Classify sensitive columns and enforce access according to data policy
- Enforce authorization at API and database layers for tenant rows
- Map roles to minimum allowed actions and enforce SQL permissions
- Enable appropriate SQL auditing for privileged actions and send to governed storage
Explanation
Correct Answer
C:
Default or overly broad role mappings permit unintended writes. Map roles to minimum allowed actions and enforce SQL permissions.
Incorrect Answers
A:
“Classify sensitive columns and enforce access according to data policy” concerns Teams cannot apply proper controls without data inventory; the reported problem instead is Default or overly broad role mappings permit unintended writes. Map roles to minimum allowed actions and enforce SQL permissions.
B:
“Enforce authorization at API and database layers for tenant rows” concerns Resolver inherits broad SQL user permissions; the reported problem instead is Default or overly broad role mappings permit unintended writes. Map roles to minimum allowed actions and enforce SQL permissions.
D:
“Enable appropriate SQL auditing for privileged actions and send to governed storage” concerns Existing logs cannot identify actor and changed object; the reported problem instead is Default or overly broad role mappings permit unintended writes. Map roles to minimum allowed actions and enforce SQL permissions.
Question 348
Juniper Commerce is responsible for an Azure SQL or Microsoft SQL workload. Data API builder exposes REST endpoints over sensitive tables. Operational evidence: Default or overly broad role mappings permit unintended writes. What isolated pilot would provide the strongest evidence before rollout?
- Try harmless metadata read and blocked test DELETE
- Try allowed view SELECT and prohibited table DROP as test principal
- Benchmark identical queries under an authorized test role
- Try authorized GET and unauthorized mutation using test tokens
Explanation
Correct Answer
D:
Default or overly broad role mappings permit unintended writes. Try authorized GET and unauthorized mutation using test tokens.
Incorrect Answers
A:
“Try harmless metadata read and blocked test DELETE” concerns An AI agent only needs metadata yet can invoke DELETE; the reported problem instead is Default or overly broad role mappings permit unintended writes. Try authorized GET and unauthorized mutation using test tokens.
B:
“Try allowed view SELECT and prohibited table DROP as test principal” concerns Unnecessary DDL rights create serious modification risk; the reported problem instead is Default or overly broad role mappings permit unintended writes. Try authorized GET and unauthorized mutation using test tokens.
C:
“Benchmark identical queries under an authorized test role” concerns Security predicates join an unindexed tenant mapping table; the reported problem instead is Default or overly broad role mappings permit unintended writes. Try authorized GET and unauthorized mutation using test tokens.
Question 349
At Summit Logistics, data API builder exposes REST endpoints over sensitive tables. The observed constraint is: Default or overly broad role mappings permit unintended writes. Which acceptance result most directly demonstrates the requirement has been satisfied?
- No unauthorized records appear through GraphQL or direct SQL
- Only documented read operations succeed
- Only intended read methods succeed; writes are rejected
- Event is preserved and modifications are prevented or detectable
Explanation
Correct Answer
C:
Default or overly broad role mappings permit unintended writes. Only intended read methods succeed; writes are rejected.
Incorrect Answers
A:
“No unauthorized records appear through GraphQL or direct SQL” concerns Resolver inherits broad SQL user permissions; the reported problem instead is Default or overly broad role mappings permit unintended writes. Only intended read methods succeed; writes are rejected.
B:
“Only documented read operations succeed” concerns Unnecessary DDL rights create serious modification risk; the reported problem instead is Default or overly broad role mappings permit unintended writes. Only intended read methods succeed; writes are rejected.
D:
“Event is preserved and modifications are prevented or detectable” concerns Admins could alter evidence after a security incident; the reported problem instead is Default or overly broad role mappings permit unintended writes. Only intended read methods succeed; writes are rejected.
Question 350
A database engineer at BrightPath Studios is investigating this case: Data API builder exposes REST endpoints over sensitive tables. The relevant finding is: Default or overly broad role mappings permit unintended writes. What operational condition would provide the earliest useful regression warning?
- Monitor token failures and assigned role drift
- Monitor denied vault calls and impending key expiry
- Monitor grants and privileged role membership
- Monitor API denied requests and role drift
Explanation
Correct Answer
D:
Default or overly broad role mappings permit unintended writes. Monitor API denied requests and role drift.
Incorrect Answers
A:
“Monitor token failures and assigned role drift” concerns Password rotation breaks the app and exposes credentials; the reported problem instead is Default or overly broad role mappings permit unintended writes. Monitor API denied requests and role drift.
B:
“Monitor denied vault calls and impending key expiry” concerns Key material is distributed to several developer machines; the reported problem instead is Default or overly broad role mappings permit unintended writes. Monitor API denied requests and role drift.
C:
“Monitor grants and privileged role membership” concerns Unnecessary DDL rights create serious modification risk; the reported problem instead is Default or overly broad role mappings permit unintended writes. Monitor API denied requests and role drift.