Developer Practice Test
Comprehensive Questions
(Frequently Tested) with
Verified Answers Graded A+
Which of the following statements describes the type of data that can be retrieved using
Microsoft Graph?
https://docs.microsoft.com/en-us/graph/overview#whats-in-microsoft-graph - Answer: All of
the data contained in Microsoft 365, including documents, calendar, email, Teams and people
Microsoft Graph is the gateway to data and intelligence in Microsoft 365. It provides a unified
programmability model that you can use to access the tremendous amount of data in Microsoft
365, Windows 10, and Enterprise Mobility + Security. Microsoft Graph exposes REST APIs and
client libraries to access data on the following Microsoft cloud services: (A) Microsoft 365 core
services: Bookings, Calendar, Delve, Excel, Microsoft 365 compliance eDiscovery, Microsoft
Search, OneDrive, OneNote, Outlook/Exchange, People (Outlook contacts), Planner, SharePoint,
Teams, To Do, Workplace Analytics. (B) Enterprise Mobility and Security services: Advanced
Threat Analytics, Advanced Threat Protection, Azure Active Directory, Identity Manager, and
Intune. (C) Windows 10 services: activities, devices, notifications, Universal Print. (D) Dynamics
365 Business Central.
What advantage does a Spot VM provide over a regularly-provisioned VM?
,https://docs.microsoft.com/en-us/azure/virtual-machines/spot-vms - Answer: Spot instances
are significantly cheaper.
Using Azure Spot Virtual Machines allows you to take advantage of our unused capacity at a
significant cost savings. At any point in time when Azure needs the capacity back, the Azure
infrastructure will evict Azure Spot Virtual Machines. Therefore, Azure Spot Virtual Machines
are great for workloads that can handle interruptions like batch processing jobs, dev/test
environments, large compute workloads, and more.
If your Azure solution relies on third-party public images, some risks are added to your process.
Microsoft recommends keeping a private copy of public images and deploying from there,
instead of deploying directly from public image locations like DockerHub. Which CLI command is
able to copy a public image into Azure Container Registry?
https://docs.microsoft.com/en-ca/azure/container-registry/buffer-gate-public-content#import-
images-to-an-azure-container-registry - Answer: az acr import
As a recommended one-time step, import base images and other public content to your Azure
container registry. The az acr import command in the Azure CLI supports image import from
public registries such as Docker Hub and Microsoft Container Registry and from other private
container registries.
You would like to receive an email every time a new Azure Container Registry is created. Which
of the following steps would accomplish that goal?
https://docs.microsoft.com/en-us/azure/container-registry/monitor-service - Answer: Go into
Azure Monitor. Go into Alerts. Select the Subscription scope. Select the Create or Update
Container Registry signal. Add the action group that emails you. Give it a name and click save
,You are a developer for Acme Inc. You have implemented Redis as a caching service and it's
going great. You are running on a premium plan, and using the top 120 GB of memory cache.
You'd like to increase the memory limit to 500 GB, but Redis does not support that. How can
you get more memory when using Azure Redis? Choose the best answer. - Answer: implement
the Redis Cluster feature, and add a second shard to double the memory available.
Redis Cluster supports up to 10 shards to create 1.2 TB of memory.
ARM templates are said to have a declarative syntax. Why is a declarative syntax better than a
programmatic approach?
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/overview -
Answer: You don't have to check if the resource exists, you simply declare that it should exist
ARM templates allow you to create and deploy an entire Azure infrastructure declaratively. For
example, you can deploy not only virtual machines, but also the network infrastructure, storage
systems, and any other resources you may need.
You have an Azure Container Registry named 'contoso.azurecr.io'. There are several
departments in your company that need to push images to the registry, and you want to keep
them organized. You decide to use respository namespaces to separate out 'sales', 'marketing',
'technology' and 'customerservice'. How do you pull down the container image for the 'website'
project located in the marketing namespace?
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-best-
practices#repository-namespaces - Answer: docker pull constoso.azurecr.io/marketing/website
By using repository namespaces, you can allow sharing a single registry across multiple groups
within your organization. Registries can be shared across deployments and teams. Azure
Container Registry supports nested namespaces, enabling group isolation. However, the registry
manages all repositories independently, not as a hierarchy. The syntax is
contoso.azurecr.io/marketing/website
, Which Azure service provides the ability to store and manage your private Docker container
images? - Answer: Azure Container Registry (ACR)
You can send your container images to Azure Container Registry (ACR) to store them before
deployment
Which type of data can most benefit from being stored in a caching system like Azure Redis
Cache?
https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching?toc=%2fazure
%2fredis-cache%2ftoc.json - Answer: Data that is repeatedly read
Data that is static but read frequently benefits most from being cached, because you can use
the cache to retrieve the data instead of having to go back to the original data source every
time. Data that is written and never read does not need to be cached since caching only
benefits reading. Data that is always changing (like a stock price) cannot be cached since you
always have to go back to the original source to retrieve the latest. Data that is infrequently read
but is static can benefit from caching, but it does not benefit the most of the four options.
What does the CLI command 'az acr build --registry $ACR_NAME --image helloacrtasks:v1 .' do?
https://docs.microsoft.com/en-us/azure/container-registry/container-registry-tutorial-quick-
task - Answer: Performs a docker build and immediately pushes the result image into an ACR
ACR Tasks is a suite of features within Azure Container Registry that provides streamlined and
efficient Docker container image builds in Azure. az acr build is an ACR Task which queues a
quick build, providing streaming logs for an Azure Container Registry.