Free DP-420 Exam Braindumps (page: 9)

Page 8 of 23

HOTSPOT (Drag and Drop is not supported).
You have an Azure Cosmos DB Core (SQL) API account named storage1 that uses provisioned throughput capacity mode.
The storage1 account contains the databases shown in the following table.



The databases contain the containers shown in the following table.



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

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: No
Four containers with 1000 RU/s each.

Box 2: No
Max 8000 RU/s for db2. 8 containers, so 1000 RU/s for each container.

Box 3: Yes
Max 8000 RU/s for db2. 8 containers, so 1000 RU/s for each container. Can very well add an additional container.


Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/plan-manage-costs https://azure.microsoft.com/en-us/pricing/details/cosmos-db/



HOTSPOT (Drag and Drop is not supported).
You have a database named telemetry in an Azure Cosmos DB Core (SQL) API account that stores IoT data. The database contains two containers named readings and devices.
Documents in readings have the following structure.
id
deviceid
timestamp
ownerid
measures (array)
- type
- value
- metricid
Documents in devices have the following structure.
id
deviceid
owner
- ownerid
- emailaddress
- name
brand
model
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Yes
Need to join readings and devices.

Box 2: No
Only readings is required. All required elds are in readings.
Box 3: No
Only devices is required. All required elds are in devices.



The settings for a container in an Azure Cosmos DB Core (SQL) API account are con gured as shown in the following exhibit.



Which statement describes the con guration of the container?

  1. All items will be deleted after one year.
  2. Items stored in the collection will be retained always, regardless of the items time to live value.
  3. Items stored in the collection will expire only if the item has a time to live value.
  4. All items will be deleted after one hour.

Answer(s): C

Explanation:

When DefaultTimeToLive is -1 then your Time to Live setting is On (No default) Time to Live on a container, if present and the value is set to "-1", it is equal to in nity, and items don't expire by default.
Time to Live on an item:
This Property is applicable only if DefaultTimeToLive is present and it is not set to null for the parent container.
If present, it overrides the DefaultTimeToLive value of the parent container.


Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/sql/time-to-live



You have an Azure Cosmos DB Core (SQL) API account named account1 that is con gured for automatic failover. The account1 account has a single read-write region in West US and a read region in East US.
You run the following PowerShell command.
Update-AzCosmosDBAccountFailoverPriority -ResourceGroupName `rg1` -Name `account1` -FailoverPolicy @(`East US`, `West US`)
What is the effect of running the command?

  1. The account will be unavailable to writes during the change
  2. The provisioned throughput for account1 will increase
  3. The account will be con gured for multi-region writes
  4. A manual failover will occur

Answer(s): A

Explanation:

Note: The Update-AzCosmosDBAccountFailoverPriority command updates Failover Region Priority of a CosmosDB Account.
Parameter -FailoverPolicy is an array of strings having region names, ordered by failover priority. E.g eastus, westus


Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/high-availability






Post your Comments and Discuss Microsoft DP-420 exam with other Community members: