Microsoft DP-800 Practice Test 31
Question 300
BrightPath Studios is responsible for an Azure SQL or Microsoft SQL workload. A message contains an embedded reference token with surrounding prose. Operational evidence: A fixed substring offset fails as prose length changes. What operational condition would provide the earliest useful regression warning?
- Monitor duplicate/missing IDs across pages
- Monitor missed formats and false positives
- Monitor unexpected text formats and slow patterns
- Monitor null imports and plan performance
Explanation
Correct Answer
C:
A fixed substring offset fails as prose length changes. Monitor unexpected text formats and slow patterns. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Incorrect Answers
A:
“Monitor duplicate/missing IDs across pages” concerns Offset-only pages skip or repeat records under changes; the reported problem instead is A fixed substring offset fails as prose length changes. Monitor unexpected text formats and slow patterns. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
B:
“Monitor missed formats and false positives” concerns Need a controlled transformation without naive substring edits; the reported problem instead is A fixed substring offset fails as prose length changes. Monitor unexpected text formats and slow patterns. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
D:
“Monitor null imports and plan performance” concerns A NOT IN subquery can behave unexpectedly with NULL values; the reported problem instead is A fixed substring offset fails as prose length changes. Monitor unexpected text formats and slow patterns. A fixed substring offset breaks when the surrounding text shifts. A validated token pattern is more robust for the documented input format.
Question 301
At Lakeview Services, a payroll app must prevent DB administrators reading salary columns. The observed constraint is: Server-side encryption alone leaves plaintext exposed to DB engine. What initial check best narrows the technical cause without altering business data?
- Identify tenant key and session identity propagation
- Identify threat model and trusted client key access
- Review supported key management and access policy
- Review threat model and ability to run queries or export data
Explanation
Correct Answer
B:
Server-side encryption alone leaves plaintext exposed to DB engine. Identify threat model and trusted client key access.
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 Server-side encryption alone leaves plaintext exposed to DB engine. Identify threat model and trusted client key access.
C:
“Review supported key management and access policy” concerns Key material is distributed to several developer machines; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Identify threat model and trusted client key access.
D:
“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 Server-side encryption alone leaves plaintext exposed to DB engine. Identify threat model and trusted client key access.
Question 302
A database engineer at Crownridge Travel is investigating this case: A payroll app must prevent DB administrators reading salary columns. The relevant finding is: Server-side encryption alone leaves plaintext exposed to DB engine. Which proposed change is the most suitable response to the observed constraint?
- Classify sensitive columns and enforce access according to data policy
- Centralize key custody in approved Azure Key Vault and narrow identity permissions
- Configure Always Encrypted with client-side key handling for sensitive column
- Use supported column-level encryption with appropriate key and certificate lifecycle
Explanation
Correct Answer
C:
Server-side encryption alone leaves plaintext exposed to DB engine. Configure Always Encrypted with client-side key handling for sensitive column.
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 Server-side encryption alone leaves plaintext exposed to DB engine. Configure Always Encrypted with client-side key handling for sensitive column.
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 Server-side encryption alone leaves plaintext exposed to DB engine. Configure Always Encrypted with client-side key handling for sensitive column.
D:
“Use supported column-level encryption with appropriate key and certificate lifecycle” concerns Data requires encryption at rest but query-time access is limited; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Configure Always Encrypted with client-side key handling for sensitive column.
Question 303
Oakridge Advisors is responsible for an Azure SQL or Microsoft SQL workload. A payroll app must prevent DB administrators reading salary columns. Operational evidence: Server-side encryption alone leaves plaintext exposed to DB engine. What isolated pilot would provide the strongest evidence before rollout?
- Query fictional cross-tenant records using two roles
- Restore encrypted database in DR sandbox using approved key procedure
- Insert and query salary using a driver configured with proper keys
- Restore a test backup with approved keys to isolated environment
Explanation
Correct Answer
C:
Server-side encryption alone leaves plaintext exposed to DB engine. Insert and query salary using a driver configured with proper keys.
Incorrect Answers
A:
“Query fictional cross-tenant records using two roles” concerns Resolver inherits broad SQL user permissions; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Insert and query salary using a driver configured with proper keys.
B:
“Restore encrypted database in DR sandbox using approved key procedure” concerns Missing encryption certificate blocks restoration; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Insert and query salary using a driver configured with proper keys.
D:
“Restore a test backup with approved keys to isolated environment” concerns Storage backup compromise could expose plaintext pages; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Insert and query salary using a driver configured with proper keys.
Question 304
At Horizon Communications, a payroll app must prevent DB administrators reading salary columns. The observed constraint is: Server-side encryption alone leaves plaintext exposed to DB engine. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Each session sees only authorized tenant rows even on broad SELECT
- Authorized query works without stored SQL passwords
- Authorized client decrypts while untrusted SQL session sees ciphertext
- Encrypted data can be recovered by authorized process only
Explanation
Correct Answer
C:
Server-side encryption alone leaves plaintext exposed to DB engine. Authorized client decrypts while untrusted SQL session sees ciphertext.
Incorrect Answers
A:
“Each session sees only authorized tenant rows even on broad SELECT” concerns Application bugs could read rows belonging to another tenant; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Authorized client decrypts while untrusted SQL session sees ciphertext.
B:
“Authorized query works without stored SQL passwords” concerns Password rotation breaks the app and exposes credentials; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Authorized client decrypts while untrusted SQL session sees ciphertext.
D:
“Encrypted data can be recovered by authorized process only” concerns Storage backup compromise could expose plaintext pages; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Authorized client decrypts while untrusted SQL session sees ciphertext.
Question 305
A database engineer at Brookfield Labs is investigating this case: A payroll app must prevent DB administrators reading salary columns. The relevant finding is: Server-side encryption alone leaves plaintext exposed to DB engine. What operational condition would provide the earliest useful regression warning?
- Monitor key rotation and decryption failures
- Monitor key access and driver encryption errors
- Monitor key backup freshness and test restore completion
- Monitor encryption state and key expiry
Explanation
Correct Answer
B:
Server-side encryption alone leaves plaintext exposed to DB engine. Monitor key access and driver encryption errors.
Incorrect Answers
A:
“Monitor key rotation and decryption failures” concerns Data requires encryption at rest but query-time access is limited; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Monitor key access and driver encryption errors.
C:
“Monitor key backup freshness and test restore completion” concerns Missing encryption certificate blocks restoration; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Monitor key access and driver encryption errors.
D:
“Monitor encryption state and key expiry” concerns Storage backup compromise could expose plaintext pages; the reported problem instead is Server-side encryption alone leaves plaintext exposed to DB engine. Monitor key access and driver encryption errors.
Question 306
Cascade Manufacturing is responsible for an Azure SQL or Microsoft SQL workload. A legacy SQL application selectively encrypts one stored secret. Operational evidence: Data requires encryption at rest but query-time access is limited. What initial check best narrows the technical cause without altering business data?
- Inspect key hierarchy and permitted decrypting roles
- Review supported key management and access policy
- Review effective database roles and required queries
- Identify threat model and trusted client key access
Explanation
Correct Answer
A:
Data requires encryption at rest but query-time access is limited. Inspect key hierarchy and permitted decrypting roles.
Incorrect Answers
B:
“Review supported key management and access policy” concerns Key material is distributed to several developer machines; the reported problem instead is Data requires encryption at rest but query-time access is limited. Inspect key hierarchy and permitted decrypting roles.
C:
“Review effective database roles and required queries” concerns Unnecessary DDL rights create serious modification risk; the reported problem instead is Data requires encryption at rest but query-time access is limited. Inspect key hierarchy and permitted decrypting roles.
D:
“Identify threat model and trusted client key access” concerns Server-side encryption alone leaves plaintext exposed to DB engine; the reported problem instead is Data requires encryption at rest but query-time access is limited. Inspect key hierarchy and permitted decrypting roles.
Question 307
At Clearwater Utilities, a legacy SQL application selectively encrypts one stored secret. The observed constraint is: Data requires encryption at rest but query-time access is limited. Which proposed change is the most suitable response to the observed constraint?
- Use supported column-level encryption with appropriate key and certificate lifecycle
- Use a Row-Level Security predicate and security policy for tenant boundaries
- Configure Always Encrypted with client-side key handling for sensitive column
- Enable supported transparent data encryption and govern key backups
Explanation
Correct Answer
A:
Data requires encryption at rest but query-time access is limited. Use supported column-level encryption with appropriate key and certificate lifecycle.
Incorrect Answers
B:
“Use a Row-Level Security predicate and security policy for tenant boundaries” concerns Application bugs could read rows belonging to another tenant; the reported problem instead is Data requires encryption at rest but query-time access is limited. Use supported column-level encryption with appropriate key and certificate lifecycle.
C:
“Configure Always Encrypted with client-side key handling for sensitive column” concerns Server-side encryption alone leaves plaintext exposed to DB engine; the reported problem instead is Data requires encryption at rest but query-time access is limited. Use supported column-level encryption with appropriate key and certificate lifecycle.
D:
“Enable supported transparent data encryption and govern key backups” concerns Storage backup compromise could expose plaintext pages; the reported problem instead is Data requires encryption at rest but query-time access is limited. Use supported column-level encryption with appropriate key and certificate lifecycle.
Question 308
A database engineer at Cedarbridge Health is investigating this case: A legacy SQL application selectively encrypts one stored secret. The relevant finding is: Data requires encryption at rest but query-time access is limited. What isolated pilot would provide the strongest evidence before rollout?
- Encrypt/decrypt mock secrets under separate SQL principals
- Query the same test rows through separate tenant principals
- Run controlled inference probes against masked fields in a test database
- Restore encrypted database in DR sandbox using approved key procedure
Explanation
Correct Answer
A:
Data requires encryption at rest but query-time access is limited. Encrypt/decrypt mock secrets under separate SQL principals.
Incorrect Answers
B:
“Query the same test rows through separate tenant principals” concerns Application bugs could read rows belonging to another tenant; the reported problem instead is Data requires encryption at rest but query-time access is limited. Encrypt/decrypt mock secrets under separate SQL principals.
C:
“Run controlled inference probes against masked fields in a test database” concerns Masking is not a substitute for authorization and can be inferred; the reported problem instead is Data requires encryption at rest but query-time access is limited. Encrypt/decrypt mock secrets under separate SQL principals.
D:
“Restore encrypted database in DR sandbox using approved key procedure” concerns Missing encryption certificate blocks restoration; the reported problem instead is Data requires encryption at rest but query-time access is limited. Encrypt/decrypt mock secrets under separate SQL principals.
Question 309
Ashwood Solutions is responsible for an Azure SQL or Microsoft SQL workload. A legacy SQL application selectively encrypts one stored secret. Operational evidence: Data requires encryption at rest but query-time access is limited. Which acceptance result most directly demonstrates the requirement has been satisfied?
- Encrypted data can be recovered by authorized process only
- Data remains accessible to authorized code through rotation
- Authorized query works without stored SQL passwords
- Only authorized role can decrypt and restores retain keys
Explanation
Correct Answer
D:
Data requires encryption at rest but query-time access is limited. Only authorized role can decrypt and restores retain keys.
Incorrect Answers
A:
“Encrypted data can be recovered by authorized process only” concerns Storage backup compromise could expose plaintext pages; the reported problem instead is Data requires encryption at rest but query-time access is limited. Only authorized role can decrypt and restores retain keys.
B:
“Data remains accessible to authorized code through rotation” concerns Key material is distributed to several developer machines; the reported problem instead is Data requires encryption at rest but query-time access is limited. Only authorized role can decrypt and restores retain keys.
C:
“Authorized query works without stored SQL passwords” concerns Password rotation breaks the app and exposes credentials; the reported problem instead is Data requires encryption at rest but query-time access is limited. Only authorized role can decrypt and restores retain keys.
Question 310
At Seabrook University, a legacy SQL application selectively encrypts one stored secret. The observed constraint is: Data requires encryption at rest but query-time access is limited. What operational condition would provide the earliest useful regression warning?
- Monitor key rotation and decryption failures
- Monitor key backup freshness and test restore completion
- Monitor token failures and assigned role drift
- Monitor key access and driver encryption errors
Explanation
Correct Answer
A:
Data requires encryption at rest but query-time access is limited. Monitor key rotation and decryption failures.
Incorrect Answers
B:
“Monitor key backup freshness and test restore completion” concerns Missing encryption certificate blocks restoration; the reported problem instead is Data requires encryption at rest but query-time access is limited. Monitor key rotation and decryption failures.
C:
“Monitor token failures and assigned role drift” concerns Password rotation breaks the app and exposes credentials; the reported problem instead is Data requires encryption at rest but query-time access is limited. Monitor key rotation and decryption failures.
D:
“Monitor key access and driver encryption errors” concerns Server-side encryption alone leaves plaintext exposed to DB engine; the reported problem instead is Data requires encryption at rest but query-time access is limited. Monitor key rotation and decryption failures.