
AZ-204 REVISION
Authored by Ntombi Ngcwangu
Other
2nd Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
51 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
To get the details of an Azure web app’s settings, which Azure CLI command should a developer execute?
az webapp config appsettings show
az webapp config appsettings display
az webapp config appsettings list
az webapp config appsettings set
Answer explanation
Explanation:
In order to get the details of an Azure web app’s settings, you run the az webapp config appsettings list command. The following is an example of this command:
az webapp config appsettings list --name MyWebapp --resource-group MyResourceGroup --subscription MySubscription
2.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
A developer has created a CDN profile and endpoint, but the content isn’t available on the CDN. Users who are trying to access the CDN URL receive an HTTP 404 status code. What are two possible causes of this?
The file's origin isn't visible to the CDN.
The CDN is trying to serve unsupported file types
The file’s TTL (time-to-live) has expired.
The host is rejecting the host header from the CDN
Answer explanation
Explanation:
There are several possible reasons the CDN URL might return an HTTP 404 status code:
The file's origin isn't visible to the CDN.
The endpoint is misconfigured, causing the CDN to look in the wrong place.
The host is rejecting the host header from the CDN.
The endpoint hasn't had time to propagate throughout the CDN.
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
.NET application logs can only be written to which of the following?
The App Service file system
Blob storage
External storage
Azure Storage account
Azure SQL
Answer explanation
Explanation:
Currently only .NET application logs can be written to Blob storage. Java, PHP, Node.js, and Python application logs can only be stored on the App Service file system (without code modifications to write logs to external storage).
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: Static site hosting with Azure Storage natively supports HTTP and HTTPS for a custom domain?
True
False
Answer explanation
Explanation:
To map a custom domain with HTTPS enabled to a static website endpoint you must integrate the Azure Storage account with Azure CDN.
5.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
You need to scale out an individual App Service app independently of the App Service plan. How do you do this?
Choose all that apply:
Run only one app in each App Service Plan
Set -PerSiteScaling on the App Service Plan to true.
Modify the number of instances on the App.
Azure App Service does not support this scenario.
Answer explanation
Explanation:
You would enable per-app sharing at the app service plan level. Per-app scaling allows for scaling an app independently from the App Service plan that hosts it. This way, for example, an App Service plan can be scaled to 10 instances, but an app can be set to use only 5.
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
You are looking to create scale rules for your container group, which of the following scale rules are available for a container group in Azure Container Instances?
CPU and memory
Scaling is not available for container groups
Service Bus Queue
HTTP traffic
Answer explanation
Explanation:
Scaling isn’t currently available for containers or container groups in Azure Container Instances
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Your team have an application using ASP.NET that has been configured to use Application Insights. You wish to take take control of the telemetry sampling rate by setting it yourselves within the application. Which of the following will achieve your goal?
In the ApplicationInsights.config file disable adaptive sampling and add a configuration to enable fixed-rate sampling
In the ApplicationInsights.config file enable fixed-rate sampling
In the ApplicationInsights.config file disable adaptive sampling and add a configuration to enable ingestion sampling
Set a data sampling percentage in the Usage and estimated costs pane of Application Insights in the Azure portal
Answer explanation
Explanation:
Adaptive sampling is on by default for ASP.NET applications, therefore to use fixed-rate sampling adaptive sampling must be disabled and then configuration of the fixed-rate sampling should be added. Setting a data sampling percentage in the Portal will only function if no other sampling has been configured.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?