{"id":16508,"date":"2026-09-19T07:52:36","date_gmt":"2026-09-19T07:52:36","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=16508"},"modified":"2026-09-19T07:52:36","modified_gmt":"2026-09-19T07:52:36","slug":"microsoft-dp-420-practice-test-questions-and-exam-dumps-part9-q161-180","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/microsoft-dp-420-practice-test-questions-and-exam-dumps-part9-q161-180\/","title":{"rendered":"Microsoft DP-420 Practice Test Questions and Exam Dumps Part9 Q161-180"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><b>View Full <\/b><a href=\"https:\/\/www.examlabs.com\/dp-420-exam-dumps\"><b>Microsoft DP-420 Exam Dumps<\/b><\/a><b> and Practice Test Dumps.<\/b><\/p>\n<p><b><br \/>\n<\/b><b>Q1. You store customers, suppliers, and employees in the same Azure Cosmos DB for NoSQL container. The application must easily identify the entity type of each document. What should you include in the documents?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> A different consistency level for each entity.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A discriminator property such as <\/span><span style=\"font-weight: 400;\">type<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A separate partition key definition for every item.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A continuation token.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. A discriminator property such as <\/b><b>type<\/b><b>.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> When multiple entity types share a container, a discriminator property such as <\/span><span style=\"font-weight: 400;\">type<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">entityType<\/span><span style=\"font-weight: 400;\">, or <\/span><span style=\"font-weight: 400;\">documentType<\/span><span style=\"font-weight: 400;\"> allows application code and queries to identify the logical type of each document. This supports efficient filtering and keeps the data model understandable while still allowing related entity types to share throughput and partitioning. Consistency is configured at the account or request level rather than per document type. A container has one partition-key definition, and continuation tokens are used for query pagination. Multi-entity containers work best when the entity types share compatible access patterns and partitioning requirements.<\/span><\/p>\n<p><b>Q2. Your application has version 1 and version 2 documents in the same container. Version 2 introduces renamed properties. You want the application to process both formats during migration. Which design is best?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Delete all version 1 documents immediately.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Disable indexing until every item is migrated.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Use separate Azure subscriptions for each schema version.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Store a schema-version property and handle each version appropriately.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. Store a schema-version property and handle each version appropriately.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Cosmos DB allows documents in the same container to have different JSON structures. Adding a schema-version property lets application code determine how each document should be interpreted and supports gradual migrations without requiring all existing data to be rewritten at once. The application can read older versions and transform them as needed while new writes use the latest structure. Disabling indexing does not solve compatibility, and separate subscriptions would add unnecessary complexity. Explicit schema versioning is especially useful in cloud-native applications where document models evolve over time while production data remains available.<\/span><\/p>\n<p><b>Q3. A workload frequently queries data by <\/b><b>tenantId<\/b><b>, but several individual tenants generate extremely large volumes. You cannot use hierarchical partition keys for this existing design. What strategy can improve distribution?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Create a synthetic partition key that combines tenant identity with another suitably distributed value.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Use a constant partition-key value for the entire tenant population.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Use a Boolean property as the partition key.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Remove the partition key.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Create a synthetic partition key that combines tenant identity with another suitably distributed value.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> A synthetic partition key combines multiple business properties into one generated partition-key value. For example, an application might combine tenant ID with a bucket, month, region, or another value that increases cardinality and distributes a high-volume tenant across more logical partitions. The application must consistently generate and use the synthetic value when writing and querying items. Constant or Boolean keys have very low cardinality and can cause hot partitions. Partitioning cannot simply be removed from a scalable container. Synthetic keys are useful when no single existing property provides an acceptable balance of routing and distribution.<\/span><\/p>\n<p><b>Q4. Your application has two important query patterns that require fundamentally different partition keys, and neither pattern can tolerate frequent cross-partition queries. What should you consider?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Force both workloads into one low-cardinality partition.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Disable indexing.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Maintain separate containers or projections optimized for each access pattern.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Use TTL to switch partition keys at runtime.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Maintain separate containers or projections optimized for each access pattern.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> A container has a defined partitioning strategy, so fundamentally different access patterns may not be optimizable with one partition key. Separate containers or denormalized projections can allow each workload to use a partition key aligned to its own dominant queries. Change feed processing can help synchronize projections when duplicated data is required. Disabling indexes does not change routing, while TTL manages expiration rather than partition-key selection. Modeling multiple projections is common in NoSQL systems because data duplication can be an intentional tradeoff when it substantially improves query efficiency and scalability.<\/span><\/p>\n<p><b>Q5. You are estimating the throughput required for a new Cosmos DB application. Which workload characteristic should have the greatest influence on the estimate?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Expected request patterns, RU cost per operation, and peak request rate.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The number of Azure subscriptions owned by the company.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The number of developers on the project.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The name of the Cosmos DB account.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Expected request patterns, RU cost per operation, and peak request rate.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Cosmos DB throughput planning should be based on the operations the application performs, the request-unit cost of those operations, and the expected request rate during peak periods. Reads, queries, writes, indexing policies, item sizes, and consistency choices can all affect RU consumption. Multiplying representative RU costs by expected workload volume provides a much more meaningful estimate than organizational metadata. Capacity planning should also consider uneven partition usage, future growth, autoscale requirements, and regional replication because an apparently sufficient overall RU allocation can still suffer from localized hot partitions.<\/span><\/p>\n<p><b>Q6. You need custom conflict resolution for multi-region writes. The business rule must decide which version wins when concurrent updates occur. What should you implement?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> A TTL policy.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A query continuation token.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> An integrated cache.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A custom conflict-resolution policy.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. A custom conflict-resolution policy.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Multi-region writes can create conflicts when the same logical item is updated concurrently in different regions. If the default last-writer-wins behavior does not match the business requirement, a custom conflict-resolution policy can implement application-specific reconciliation logic. The chosen approach should be deterministic and carefully tested because conflict behavior directly affects data correctness. TTL governs document expiration, continuation tokens handle query paging, and integrated cache accelerates eligible reads. Conflict-resolution design is an important part of any active-active architecture where concurrent writes to the same data are possible.<\/span><\/p>\n<p><b>Q7. A Cosmos DB account uses several readable regions. Your application is deployed in West Europe and should prefer nearby reads while still failing over if the region is unavailable. What should you configure?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> A unique key.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> SDK preferred regions.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A TTL override.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> An analytical store.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. SDK preferred regions.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Preferred regions allow the Cosmos DB SDK to prioritize specific account regions when routing requests. An application deployed in West Europe can list nearby regions first, reducing network latency during normal operation while still allowing the SDK to use another healthy region when necessary. The configured list should correspond to actual Cosmos DB regions and the application&#8217;s deployment topology. Unique keys enforce data constraints, TTL controls expiration, and analytical store supports analytics. Region-aware SDK configuration complements Cosmos DB&#8217;s global distribution and failover capabilities.<\/span><\/p>\n<p><b>Q8. You need to query documents where an optional property can contain different JSON types. The query should return only items where the property is an array. Which approach should you use?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> A stored procedure.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Manual failover.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A type-checking SQL function such as <\/span><span style=\"font-weight: 400;\">IS_ARRAY<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Continuous backup.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. A type-checking SQL function such as <\/b><b>IS_ARRAY<\/b><b>.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Flexible JSON schemas mean that the same property can be missing or contain different types across documents. Cosmos DB SQL includes type-checking functions that let queries test whether a value is an array, object, string, number, Boolean, or another supported type. This allows queries to safely filter heterogeneous documents before applying array-specific logic. Stored procedures handle server-side transactional work, failover controls regional roles, and backup handles recovery. Type-aware query expressions are especially useful in containers that intentionally support multiple document versions or entity shapes.<\/span><\/p>\n<p><b>Q9. You want a SQL query to return the absolute value of a numeric difference calculated from document properties. Which type of built-in function should you use?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Backup function.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Change feed function.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Geographic function only.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Mathematical function.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. Mathematical function.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Cosmos DB SQL provides built-in mathematical functions that operate on numeric expressions. A function such as <\/span><span style=\"font-weight: 400;\">ABS<\/span><span style=\"font-weight: 400;\"> can calculate the absolute value of a difference directly as part of a query projection or filter. Built-in functions are typically preferable to transferring all records to application code solely to perform simple calculations. Change feed and backup capabilities do not perform query mathematics, while spatial functions are specifically intended for geographic calculations. As with all query expressions, developers should evaluate request-unit cost and index usage for large workloads.<\/span><\/p>\n<p><b>Q10. You need server-side logic that runs after an item has been created and is explicitly requested by the client during the operation. Which server-side object should you use?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> A post-trigger.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A UDF used in a SELECT statement.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A continuation token.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A composite index.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. A post-trigger.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> A post-trigger is server-side JavaScript that executes after a supported item operation when the client explicitly specifies the trigger. It can be useful for certain logic that needs to run after the primary mutation while remaining within the supported server-side execution model. Triggers are not automatically invoked for all writes; the application must request them. A UDF is called from queries and returns calculated values. Continuation tokens support paging, while composite indexes optimize queries. Triggers should be used carefully because explicit application-side logic is often easier to maintain.<\/span><\/p>\n<p><b>Q11. Your application must retrieve query results in pages and expose an API that lets callers resume later. What should the API return with each nonfinal page?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> The account&#8217;s primary key.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The item&#8217;s TTL.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A continuation token.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> The conflict-resolution policy.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. A continuation token.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> A continuation token represents the position of a paginated Cosmos DB query and allows a later request to continue from that point. An API can return the token to its caller or store it as part of application state. Continuation tokens help applications handle large query result sets without retrieving everything in a single response. The account key authenticates requests and should never be exposed to clients. TTL controls item expiration, while conflict policy determines multi-region conflict behavior. Continuation-token handling is a core SDK pattern for scalable pagination.<\/span><\/p>\n<p><b>Q12. You perform many independent creates and updates and want the SDK to group work efficiently for maximum throughput. Atomicity across operations is not required. Which capability should you enable?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Strong consistency.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Bulk support.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A single-partition stored procedure for every request.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Integrated cache.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Bulk support.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Bulk support improves throughput for large numbers of independent operations by allowing the SDK to schedule them efficiently and execute work concurrently across partitions. It is suitable for migrations, imports, or large update workloads where individual requests do not need to form one transaction. Transactional Batch should be used instead when multiple same-partition operations must succeed or fail together. Strong consistency affects reads, stored procedures add unnecessary complexity for independent work, and integrated cache optimizes eligible reads rather than writes. Bulk workloads must still respect available throughput and partition distribution.<\/span><\/p>\n<p><b>Q13. You need to continuously maintain a reporting summary container from operational order changes. The summary must not slow down the original order write transaction. Which pattern is most appropriate?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Use change feed processing to update the reporting summary asynchronously.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Perform a cross-partition query after every order write.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Increase TTL on all order documents.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Put the summary only in integrated cache.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Use change feed processing to update the reporting summary asynchronously.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Change feed processing allows downstream logic to react to order changes after the transactional write is committed. A processor or Azure Function can maintain aggregated summary documents without forcing the original write request to calculate and update reporting data synchronously. This is a common materialized-view or persisted-aggregation pattern. Cross-partition queries after every write could be expensive and add latency. TTL is unrelated, and integrated cache is not durable storage. Asynchronous projections should be designed for idempotency and eventual consistency because retries can occur.<\/span><\/p>\n<p><b>Q14. You need Cosmos DB changes to invoke serverless code automatically. Which Azure integration is most direct?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Azure Bastion.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Azure Functions with a Cosmos DB trigger.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Azure Policy.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Azure DNS.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Azure Functions with a Cosmos DB trigger.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> The Azure Cosmos DB trigger for Azure Functions uses the change feed to invoke serverless function code when new or updated items become available. It provides a convenient managed integration for event-driven workflows such as notifications, archiving, aggregation, or integration with external systems. Azure Bastion provides secure VM connectivity, Azure Policy governs resource compliance, and Azure DNS provides name resolution. Function triggers simplify change feed consumption by handling much of the coordination required for scalable processing.<\/span><\/p>\n<p><b>Q15. You want Cosmos DB operational data replicated into Microsoft Fabric for analytical use with minimal custom ETL work. Which capability should you choose?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Integrated cache.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> A JavaScript UDF.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> TTL.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Azure Cosmos DB Mirroring for Microsoft Fabric.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. Azure Cosmos DB Mirroring for Microsoft Fabric.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Cosmos DB Mirroring for Microsoft Fabric provides a managed integration that makes operational Cosmos DB data available to Fabric analytics scenarios without requiring developers to build and maintain conventional ETL pipelines for replication. This can simplify architectures where operational data needs to feed reporting or analytical workloads in Fabric. The Spark connector is another option when Spark-based processing or direct transactional-store access is required. Integrated cache, UDFs, and TTL address unrelated application concerns. Mirroring is particularly useful when managed analytical replication is preferred over custom data movement.<\/span><\/p>\n<p><b>Q16. A Fabric Warehouse contains mirrored analytical data. An analyst needs to query how the warehouse looked at a previous point in time. Which capability should be used?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Point reads.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Manual failover.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Time travel in Fabric Warehouse.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Session consistency.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Time travel in Fabric Warehouse.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Time travel in Microsoft Fabric Warehouse allows supported analytical queries to inspect historical states of warehouse data. This can help with auditing, debugging, historical comparison, or investigation of changes. It is different from Cosmos DB point-in-time restore, which is a database recovery feature. Point reads retrieve current Cosmos DB items, manual failover changes write-region roles, and session consistency governs transactional read behavior. Candidates should distinguish transactional recovery from analytical historical-query capabilities in the broader Cosmos DB and Fabric ecosystem.<\/span><\/p>\n<p><b>Q17. You need to minimize the impact of repeated identical read operations against relatively stable data. Which Cosmos DB performance feature should you consider?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Multi-region writes.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Unique key policy.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Periodic backup.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Integrated cache.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. Integrated cache.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Integrated cache can reduce request-unit consumption and improve latency for eligible repeated reads by serving results from the dedicated gateway cache instead of repeatedly accessing the transactional backend. This works best when the application can tolerate configured cache staleness for the cached data. Multi-region writes improve global write availability, unique keys enforce integrity, and periodic backup handles recovery. Cache configuration should be aligned with freshness requirements because not every workload can accept potentially stale results.<\/span><\/p>\n<p><b>Q18. You want to determine whether a production container has uneven storage distribution across partitions. Which information should you monitor?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Only the account&#8217;s consistency level.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Data distribution across partitions.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Only the number of Azure regions.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Backup frequency.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. Data distribution across partitions.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Monitoring data distribution across partitions helps identify whether partition-key values are evenly spreading stored items or causing a disproportionate concentration of data. Uneven storage can indicate that the partition key has insufficient cardinality or that a small set of values dominates the workload. Throughput distribution should also be monitored because storage can be balanced while request volume remains skewed. Consistency level, region count, and backup frequency do not directly indicate partition data skew. Production observations are valuable because real data distributions may differ from assumptions made during design.<\/span><\/p>\n<p><b>Q19. A Cosmos DB account is experiencing elevated latency. Azure Monitor shows normal server-side latency, but application requests are much slower. What is the most likely area to investigate next?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Client-side or network latency and SDK diagnostics.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> TTL expiration configuration only.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Unique key definitions only.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Backup retention.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Client-side or network latency and SDK diagnostics.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> If server-side latency is normal but end-to-end application latency is high, the delay likely occurs outside the Cosmos DB service processing path. Possible causes include network distance, DNS, connection setup, client resource exhaustion, inappropriate connectivity mode, retries, or application processing. SDK diagnostics can provide detailed timing information that helps isolate these factors. TTL, unique keys, and backup retention do not normally explain a large gap between server-side and application-observed latency. Comparing service metrics with client diagnostics is an important troubleshooting technique.<\/span><\/p>\n<p><b>Q20. You need to recover a single container after an accidental deletion, and the account has continuous backup enabled. Which operation is appropriate?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Change the partition key and wait.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Disable indexing.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Restore the container from a point before the deletion.<\/span><\/li>\n<li><b><\/b><span style=\"font-weight: 400;\"> Enable integrated cache.<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Restore the container from a point before the deletion.<\/b><\/p>\n<p><b>Explanation:<\/b><span style=\"font-weight: 400;\"> Continuous backup supports point-in-time restore within the supported retention window. After an accidental container deletion, administrators should identify a restore point immediately before the unwanted operation and restore the affected resource according to the supported recovery workflow. Changing partition keys, disabling indexes, or enabling cache cannot recreate deleted data. Restore processes should be tested in advance, and restored data should be validated before applications are redirected. Backup and restore planning is essential for protecting against operational mistakes as well as application-level corruption.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; View Full Microsoft DP-420 Exam Dumps and Practice Test Dumps. Q1. You store customers, suppliers, and employees in the same Azure Cosmos DB for NoSQL container. The application must easily identify the entity type of each document. What should you include in the documents? A different consistency level for each entity. A discriminator property [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/16508"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=16508"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/16508\/revisions"}],"predecessor-version":[{"id":16572,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/16508\/revisions\/16572"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=16508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=16508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=16508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}