What happens when you exceed the provisioned throughput in Azure Cosmos DB?
AQueries are throttled
BData loss occurs
CLatency improves temporarily
DThroughput increases automatically
Explanation
Queries are throttled when the provisioned throughput is exceeded to ensure fair resource usage.
Q112
Which indexing mode in Azure Cosmos DB allows for flexible querying but may incur higher storage costs?
AConsistent
BCustom
CSpatial
DDefault
Explanation
Custom indexing mode provides more control over indexing, allowing optimization for specific queries but typically increases storage costs due to additional index storage requirements.
Q113
A company needs to automatically scale its Azure Cosmos DB based on application usage. What feature should be used?
AAutoscale provisioned throughput
BManual scaling
CPartitioning
DReplicated throughput
Explanation
Autoscale provisioned throughput automatically adjusts the RU/s based on usage, ensuring performance without manual intervention.
Q114
What happens when you exceed the provisioned throughput in Azure Cosmos DB?
ARequest succeeds with extra charge
BRequest fails with 429 status
CDatabase shuts down temporarily
DRead throughput is prioritized
Explanation
When throughput limits are exceeded, requests return a 429 status code, indicating Too Many Requests and signaling to retry later.
Q115
Which feature of Azure Cosmos DB ensures low latency?
AMultiple consistency models
BGlobal distribution of data
CStored procedures support
DData encryption at rest
Explanation
Global distribution allows low latency by bringing data closer to users.
Q116
A company needs to ensure its documents in Azure Cosmos DB do not exceed 2 MB in size. What should they implement to handle larger documents?
AChunking the data
BUsing stored procedures
CIncreased throughput provision
DChange partition key
Explanation
Chunking allows larger documents to be stored in smaller parts without losing data integrity.
Q117
What happens when you change the partition key of an existing container in Azure Cosmos DB?
AData is automatically migrated
BData access is improved
CThis is not allowed
DThroughput is automatically adjusted
Explanation
Azure Cosmos DB does not allow changing the partition key once defined.
Q118
A company needs to optimize their data queries in Azure Cosmos DB to handle an increase in read throughput. Which approach should they consider?
AImplement dedicated database throughput
BUse manual partitioning for data
CReduce the number of indexes
DUse multiple account regions
Explanation
Dedicated throughput increases performance for database operations, while other options do not directly improve read throughput.
Q119
What happens when you exceed the provisioned throughput on a Cosmos DB container?
AAll operations are blocked
BRequests are throttled with 429 status
CData is automatically replicated
DThroughput is dynamically increased
Explanation
Exceeding throughput results in throttled requests with a 429 status code, while other options are incorrect behaviors.
Q120
You are configuring Azure Cosmos DB for multi-region replication. Which configuration helps achieve low-latency reads?
ARead replicas in multiple regions
BActive-Active with multi-region writes
CChange feed processing only
DUsing single region fallback
Explanation
Active-Active configuration allows for low-latency reads by enabling writes in multiple regions, unlike other options that do not support this effectively.