You are configuring multi-master replication in Azure Cosmos DB. Which is a key feature of this setup?
ASingle write region only.
BAutomatic conflict resolution.
CReduced availability during conflicts.
DManual control over all writes.
Explanation
Automatic conflict resolution is a feature of multi-master; the other options describe scenarios not applicable to this setting.
Q52
Which service in Azure Cosmos DB enables real-time analytics on operational workloads?
AAzure Synapse Analytics
BChange Feed
CAzure Databricks
DAzure Functions
Explanation
Change Feed allows real-time processing of changes in data, while the others are used for different analytical purposes.
Q53
A company needs to ensure its Cosmos DB data is globally available with low latency. What should it do?
AUse a single-region deployment
BImplement partitioning
CEnable multi-region writes
DIncrease provisioned throughput
Explanation
Enabling multi-region writes ensures low latency and global availability by allowing writes to occur in multiple regions.
Q54
You are configuring a Cosmos DB container settings. What happens if you set a throughput of 400 RU/s?
AAll operations will be throttled
BIt will be cost-effective
CIt can handle 400 reads per second
DIt only allows 400 writes per second
Explanation
400 RU/s provides a balanced capacity for a variety of workloads but is primarily cost-effective not restricting it to reads or writes.
Q55
Which consistency model provides the strongest guarantees in Azure Cosmos DB?
AStrong
BBatched
CEventual
DSession
Explanation
Strong consistency provides the most stringent guarantees by ensuring reads return the latest committed write.
Q56
A company needs to automate its Azure Cosmos DB backups in a cost-effective way. Which feature should they use?
AManual snapshotting
BChange Feed
CContinuous backup
DPoint-in-time restore
Explanation
Continuous backup automatically manages backups without requiring manual intervention.
Q57
You are configuring an Azure Cosmos DB account for global distribution. What is the recommended practice for latency optimization?
ALimit data regions to one
BUse partitioning wisely
CEnable multiple consistency levels
DStore all data in one region
Explanation
Wisely using partitioning can optimize latency by ensuring data is evenly distributed across regions.
Q58
A company needs low latency and high availability for its application accessing time-sensitive data. Which Azure Cosmos DB consistency model should it choose?
ABounded Staleness
BEventual
CStrong
DSession
Explanation
Session consistency provides low latency and is suitable for such scenarios, unlike Strong which incurs higher latency.
Q59
You are configuring automatic scale for your Azure Cosmos DB account to auto-modulate throughput. What threshold can you specifically set?
AMinimum RU/s
BAverage CPU usage
CMaximum RU/s
DDisk space used
Explanation
You can set a Maximum RU/s threshold but cannot set disk space as a criterion.
Q60
What happens when you perform a write operation in Azure Cosmos DB with a partition key but the related partition is offline?
AThe write is rejected.
BThe write is queued.
CThe write fails with a timeout.
DThe write is replicated to other regions.
Explanation
In case the related partition is offline, the write operation is rejected as it cannot reach the target partition.