
AZ-204 REVISION

Quiz
•
Other
•
2nd Grade
•
Hard

Ntombi Ngcwangu
Used 2+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
49 questions
Chess: The Chessmen

Quiz
•
1st - 12th Grade
50 questions
SWCE and Irrigation and Drainage Engineering Terminology

Quiz
•
KG - 5th Grade
50 questions
logos

Quiz
•
KG - Professional Dev...
49 questions
EMTECH FINALS REVIEWER

Quiz
•
1st - 5th Grade
50 questions
Disney Trivia

Quiz
•
KG - 12th Grade
50 questions
Economics Final

Quiz
•
KG - University
50 questions
KCS General Knowledge 2

Quiz
•
KG - University
51 questions
L2 Colour and lighten hair

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
10 questions
Human-Environment Interactions Vocab Unit 1 Grade 2 Quiz

Quiz
•
2nd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
17 questions
Place value

Quiz
•
2nd Grade
20 questions
Liquid Measurement

Quiz
•
2nd - 5th Grade