Microsoft Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB - DP-420무료 덤프문제 풀어보기
You plan to create an Azure Cosmos DB database named db1 that will contain two containers.
One of the containers will contain blog posts, and the other will contain users. Each item in the blog post container will include:
- A single blog post
- All the comments associated to the blog post
- The names of the users who created the blog post and added the
comments to the blog post
Items in the blog post container will be partitioned based on the post ID. Items in the user container will be partitioned based on the user ID.
You need to minimize the number of request units allocated to queries that list all the posts of a given user. The solution must minimize administrative and development effort.
What should you include in the solution?
One of the containers will contain blog posts, and the other will contain users. Each item in the blog post container will include:
- A single blog post
- All the comments associated to the blog post
- The names of the users who created the blog post and added the
comments to the blog post
Items in the blog post container will be partitioned based on the post ID. Items in the user container will be partitioned based on the user ID.
You need to minimize the number of request units allocated to queries that list all the posts of a given user. The solution must minimize administrative and development effort.
What should you include in the solution?
정답: C
설명: (Fast2test 회원만 볼 수 있음)
Hotspot Question
You have an Azure Cosmos DB for NoSQL database that hosts a container named Container1.
You are evaluating whether to implement Always Encrypted for Container1.
How will the JSON components of the data in Container1 be affected by implementing Always Encrypted? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You have an Azure Cosmos DB for NoSQL database that hosts a container named Container1.
You are evaluating whether to implement Always Encrypted for Container1.
How will the JSON components of the data in Container1 be affected by implementing Always Encrypted? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

정답:

Hotspot Question
You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named account1.
For account1, you plan to implement an integrated gateway that will use the D4s SKU.
You need to optimize integrated gateway performance for point reads from account1. The solution must meet the following requirements:
- For new point reads, maximize how long returned items remain in the
integrated cache.
- For new and repeating point reads, maximize the cost benefits of the
integrated cache.
What should you do for each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You have an Azure subscription that contains an Azure Cosmos DB for NoSQL account named account1.
For account1, you plan to implement an integrated gateway that will use the D4s SKU.
You need to optimize integrated gateway performance for point reads from account1. The solution must meet the following requirements:
- For new point reads, maximize how long returned items remain in the
integrated cache.
- For new and repeating point reads, maximize the cost benefits of the
integrated cache.
What should you do for each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

정답:

You have an Azure Cosmos DB Core (SQL) API account.
You configure the diagnostic settings to send all log information to a Log Analytics workspace.
You need to identify when the provisioned request units per second (RU/s) for resources within the account were modified.
You write the following query.
AzureDiagnostics
| where Category == "ControlPlaneRequests"
What should you include in the query?
You configure the diagnostic settings to send all log information to a Log Analytics workspace.
You need to identify when the provisioned request units per second (RU/s) for resources within the account were modified.
You write the following query.
AzureDiagnostics
| where Category == "ControlPlaneRequests"
What should you include in the query?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
Hotspot Question
You have an Azure Cosmos DB for NoSQL account that has a single write region in West Europe.
You run the following Azure CLI script.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

You have an Azure Cosmos DB for NoSQL account that has a single write region in West Europe.
You run the following Azure CLI script.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

정답:

Explanation:
Box 1: Yes
The Automatic failover option allows Azure Cosmos DB to failover to the region with the highest failover priority with no user action should a region become unavailable.
Box 2: No
West Europe is used for failover. Only North Europe is writable. To Configure multi-region set UseMultipleWriteLocations to true.
Box 3: No
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/how-to-multi-master
https://docs.microsoft.com/en-us/azure/cosmos-db/optimize-cost-regions
You have an Azure Cosmos DB account named account1.
You need to access account1 from an on-premises environment by using a Site-to-Site VPN.
What should you use?
You need to access account1 from an on-premises environment by using a Site-to-Site VPN.
What should you use?
정답: A
설명: (Fast2test 회원만 볼 수 있음)
You plan to create an Azure Cosmos DB for NoSQL account that will have a single write region and three read regions.
You need to set the consistency level for the account. The solution must meet the following requirements:
- In the write region, writes must replicate synchronously across at
least three replicas.
- In the read regions, reads must see writes in order for transactional batches.
- Throughput for reads and writes must be maximized.
Which consistency level should you select?
You need to set the consistency level for the account. The solution must meet the following requirements:
- In the write region, writes must replicate synchronously across at
least three replicas.
- In the read regions, reads must see writes in order for transactional batches.
- Throughput for reads and writes must be maximized.
Which consistency level should you select?
정답: D
You have an Azure Cosmos DB for NoSQL database named db1 that writes to multiple Azure regions.
You need to test the performance of db1 in the secondary region.
Which command should you run first?
You need to test the performance of db1 in the secondary region.
Which command should you run first?
정답: C
설명: (Fast2test 회원만 볼 수 있음)
Case Study 1 - Litware, inc
Overview
Litware, Inc. is a United States-based grocery retailer. Litware has a main office and a primary datacenter in Seattle. The company has 50 retail stores across the United States and an emerging online presence. Each store connects directly to the internet. Existing environment.
Cloud and Data Service Environments. Litware has an Azure subscription that contains the resources shown in the following table.

Each container in productdb is configured for manual throughput. The con-product container stores the company's product catalog data. Each document in con-product includes a con- productvendor value. Most queries targeting the data in con-product are in the following format.
SELECT * FROM con-product p WHERE p.con-productVendor - 'name'
Most queries targeting the data in the con-productVendor container are in the following format SELECT * FROM con-productVendor pv ORDER BY pv.creditRating, pv.yearFounded Existing environment.
Current Problems.
Litware identifies the following issues:
- Updates to product categories in the con-productVendor container do not propagate automatically to documents in the con-product container.
- Application updates in con-product frequently cause HTTP status code 429 "Too many requests".
- You discover that the 429 status code relates to excessive request unit (RU) consumption during the updates.
Requirements.
Planned Changes
Litware plans to implement a new Azure Cosmos DB for NoSQL account named account2 that will contain a database named iotdb. The iotdb database will contain two containers named con- iot1 and con-iot2.
Litware plans to make the following changes:
- Store the telemetry data in account2.
- Configure account1 to support multiple read-write regions.
- Implement referential integrity for the con-product container.
- Use Azure Functions to send notifications about product updates to different recipients.
- Develop an app named App1 that will run from all locations and query the data in account1.
- Develop an app named App2 that will run from the retail stores and query the data in account2.
- App2 must be limited to a single DNS endpoint when accessing account2.
Requirements.
Business Requirements
Litware identifies the following business requirements:
- Whenever there are multiple solutions for a requirement, select the solution that provides the best performance, as long as there are no additional costs associated.
- Ensure that Azure Cosmos DB costs for IoT-related processing are predictable.
- Minimize the number of firewall changes in the retail stores.
Requirements.
Product Catalog Requirements
Litware identifies the following requirements for the product catalog:
- Implement a custom conflict resolution policy for the product catalog data.
- Minimize the frequency of errors during updates of the con-product container.
- Once multi-region writes are configured, maximize the performance of App1 queries against the data in account1.
- Trigger the execution of two Azure functions following every update to any document in the con- product container.
Hotspot Question
You plan to implement con-iot1 and con-iot2.
You need to configure the default Time to Live setting for each container. The solution must meet the IoT telemetry requirements.
What should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Overview
Litware, Inc. is a United States-based grocery retailer. Litware has a main office and a primary datacenter in Seattle. The company has 50 retail stores across the United States and an emerging online presence. Each store connects directly to the internet. Existing environment.
Cloud and Data Service Environments. Litware has an Azure subscription that contains the resources shown in the following table.

Each container in productdb is configured for manual throughput. The con-product container stores the company's product catalog data. Each document in con-product includes a con- productvendor value. Most queries targeting the data in con-product are in the following format.
SELECT * FROM con-product p WHERE p.con-productVendor - 'name'
Most queries targeting the data in the con-productVendor container are in the following format SELECT * FROM con-productVendor pv ORDER BY pv.creditRating, pv.yearFounded Existing environment.
Current Problems.
Litware identifies the following issues:
- Updates to product categories in the con-productVendor container do not propagate automatically to documents in the con-product container.
- Application updates in con-product frequently cause HTTP status code 429 "Too many requests".
- You discover that the 429 status code relates to excessive request unit (RU) consumption during the updates.
Requirements.
Planned Changes
Litware plans to implement a new Azure Cosmos DB for NoSQL account named account2 that will contain a database named iotdb. The iotdb database will contain two containers named con- iot1 and con-iot2.
Litware plans to make the following changes:
- Store the telemetry data in account2.
- Configure account1 to support multiple read-write regions.
- Implement referential integrity for the con-product container.
- Use Azure Functions to send notifications about product updates to different recipients.
- Develop an app named App1 that will run from all locations and query the data in account1.
- Develop an app named App2 that will run from the retail stores and query the data in account2.
- App2 must be limited to a single DNS endpoint when accessing account2.
Requirements.
Business Requirements
Litware identifies the following business requirements:
- Whenever there are multiple solutions for a requirement, select the solution that provides the best performance, as long as there are no additional costs associated.
- Ensure that Azure Cosmos DB costs for IoT-related processing are predictable.
- Minimize the number of firewall changes in the retail stores.
Requirements.
Product Catalog Requirements
Litware identifies the following requirements for the product catalog:
- Implement a custom conflict resolution policy for the product catalog data.
- Minimize the frequency of errors during updates of the con-product container.
- Once multi-region writes are configured, maximize the performance of App1 queries against the data in account1.
- Trigger the execution of two Azure functions following every update to any document in the con- product container.
Hotspot Question
You plan to implement con-iot1 and con-iot2.
You need to configure the default Time to Live setting for each container. The solution must meet the IoT telemetry requirements.
What should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

정답:

Explanation:
Box 1: On (3,600 seconds)
Note: Litware identifies the following IoT telemetry requirements:
Automatically delete items in con-iot1 after one hour unless a per-item time to live is set.
Box 2: Off
Ensure that the items in con-iot2 persist regardless of the per-item time to live setting.
Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/time-to-live
Hotspot Question
You have an on-premises network.
You have an Azure subscription that contains an Azure Cosmos DB account named account1 and an Azure virtual network named VNet1. VNet1 contains two virtual machines named VM1 and VM2. VNet1 is connected to the on-premises network by using a Site-to-Site (S2S) VPN.
You need to meet the following requirements:
- Block access to the public endpoint of account1.
- Allow only VM1 to access account1.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You have an on-premises network.
You have an Azure subscription that contains an Azure Cosmos DB account named account1 and an Azure virtual network named VNet1. VNet1 contains two virtual machines named VM1 and VM2. VNet1 is connected to the on-premises network by using a Site-to-Site (S2S) VPN.
You need to meet the following requirements:
- Block access to the public endpoint of account1.
- Allow only VM1 to access account1.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

정답:

Hotspot Question
You plan to create an Azure Cosmos DB database named db1 that will contain two containers.
One of the containers will contain blog posts, and the other will contain users. Each item in the blog post container will include:
- A single blog post
- All the comments associated to the blog post
- The names of the users who created the blog post and added the
comments
You need to design a solution to update usernames in the user container without causing data integrity issues. The solution must minimize administrative and development effort.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

You plan to create an Azure Cosmos DB database named db1 that will contain two containers.
One of the containers will contain blog posts, and the other will contain users. Each item in the blog post container will include:
- A single blog post
- All the comments associated to the blog post
- The names of the users who created the blog post and added the
comments
You need to design a solution to update usernames in the user container without causing data integrity issues. The solution must minimize administrative and development effort.
What should you include in the solution? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

정답:
