Designing and Implementing
Cloud-Native Applications
Using Microsoft Azure
Cosmos DB
Which API is considered the "native API" for Azure Cosmos DB?
-MongoDB API
-Cassandra API
-NoSQL API
✓ NoSQL API
- The NoSQL API is the native API for Azure Cosmos DB. All other APIs map
to the NoSQL API in their implementations.
Which property is required to be specified when creating a new Azure Cosmos DB
for NoSQL container?
-Partition key path
-Time-to-live
-Indexing policy
✓ Partition key path
- All containers in an Azure Cosmos DB for NoSQL database must have a
partition key path defined.
Your team has an existing Azure Cosmos DB account, database, and container. A
new team member would like to configure Azure Cosmos DB for a different team
with unique needs for regional replication and default consistency levels. Which new
resource should that member of the team create?
,-Container
-Account
-Database
✓ Account
- In order to have different behavior for replication and default consistency,
your team member must create a new account.
Before creating a container, which Azure Cosmos DB for NoSQL resource should
you create first?
-Database
-Stored procedure
-User-defined function
✓ Database
-Containers are child resources of databases in Azure Cosmos DB.
Which one of these resources is a child resource of an Azure Cosmos DB for NoSQL
account and parent resource for a container?
-Triggers
-Stored procedure
-Database
✓ Database
-Databases are not items in Azure Cosmos DB for NoSQL, they are the
parent resource for containers and child resource for accounts.
Your Azure Cosmos DB container has manually provisioned throughput. Incoming
requests have exceeded the provisioned request units per second (RU/s). What
happens next?
-Azure Cosmos DB will rate-limit subsequent requests.
-Azure Cosmos DB will scale RU/s up to a service maximum of 50,000 RU/s.
-Azure Cosmos DB will scale RU/s up to a maximum RU/s that you've previously
configured.
✓ Azure Cosmos DB will rate-limit subsequent requests.
-Manually provisioned throughput will rate-limit requests, with a response
indicating that a wait should be attempted before retrying.
While building a proof of concept, your web development team was able to
successfully estimate the throughput needs of your application within a 5% margin of
error and doesn't expect any significant variances over time. When running in
, production, the team expects your workload to be extraordinarily stable. What type of
throughput option should you consider?
-Autoscale
-Serverless
-Standard
✓ Standard
-Standard throughput is suited for workloads with steady traffic.
Which type of component in Azure Data Factory will load data out to Azure Cosmos
DB for NoSQL after it has been transformed?
-Sink
-Source
-Input
✓ Sink
- A sink is the destination for data after it has been transformed.
After enabling Synapse Link at the Azure Cosmos DB for NoSQL account level, what
should you do before you can use the Spark connector with a specific container?
-Install Apache Spark in Azure Cosmos DB for NoSQL
-No further action is necessary after enabling Synapse Link
-Enable analytical storage at the container level
✓ Enable analytical storage at the container level
- Each container should have analytical storage enabled.
What rate-based currency acronym is used as a simplification of CPU, memory, and
IOPS?
-RU/s
-TTL
-vCPUs
✓ RU/s
- RU/s is an acronym for request units per second.
Which property of a container should be specified to automatically purge items after
a specified number of seconds?
-Expiration
-DefaultTimeToLive