[2021.7 updated] the latest update to Microsoft AZ-204 dumps and free sharing of exam practice questions from Lead4Pass

Microsoft AZ-204 exam ready here! Get the latest AZ-204 exam exercise questions and exam dumps pdf for free! 100% pass the exam to select
the full Microsoft AZ-204 exam dumps the link to get VCE or PDF. All exam questions are updated!

[2021.7 Updated] The latest update of the actual valid Microsoft AZ-204 exam questions and answers come from Lead4pass

QUESTION 1
HOTSPOT
You need to configure security and compliance for the corporate website files.
Which Azure Blob storage settings should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:microsoft az-204 exam questions q1

Correct Answer:

microsoft az-204 exam questions q1-1

Box 1: role-based access control (RBAC)
Azure Storage supports authentication and authorization with Azure AD for the Blob and Queue services via Azure role-based access control (Azure RBAC).
Scenario: File access must restrict access by IP, protocol, and Azure AD rights.
Box 2: storage account type
Scenario: The website uses files stored in Azure Storage
Auditing of the file updates and transfers must be enabled to comply with General Data Protection Regulation (GDPR).
Creating a diagnostic setting:
1.
Sign in to the Azure portal.
2.
Navigate to your storage account.
3.
In the Monitoring section, click Diagnostic settings (preview).
4.
Choose file as the type of storage that you want to enable logs for.
5.
Click Add diagnostic setting.

microsoft az-204 exam questions q1-2

Reference: https://docs.microsoft.com/en-us/azure/storage/common/storage-introduction https://docs.microsoft.com/enus/azure/storage/files/storage-files-monitoring

 

QUESTION 2
HOTSPOT
You need to update the APIs to resolve the testing error.
How should you complete the Azure CLI command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Get complete free AZ-204 exam questions and answers:https://www.fulldumps.com/get-13-free-microsoft-az-204-exam-practice-test-questions/

Get more Microsoft exam questions and answers :https://www.fulldumps.com/microsoft-dumps/

Get the complete Microsoft AZ-204 brain dump (PDF +VCE) updated at any time: https://www.lead4pass.com/az-204.html

Lead4pass offers the latest Microsoft AZ-204 Google Drive

[Latest updates] Free Microsoft AZ-204 dumps pdf download from Google Drive: https://drive.google.com/file/d/186aUEtFqsr8Yt4Bggz2EE7xIncqn51te/

Dumpscertification Exam Table of Contents:

Microsoft AZ-204 Practice testing questions from Youtube

latest updated Microsoft AZ-204 exam questions and answers

QUESTION 1
HOTSPOT You are developing an Azure Function App by using Visual Studio. The app will process orders input by an
Azure Web App. The web app places the order information into Azure Queue Storage. You need to review the Azure
Function App code is shown below.lead4pass az-204 exam questions q1

NOTE: Each correct selection is worth one point.
Hot Area:

lead4pass az-204 exam questions q1-1

Correct Answer:

lead4pass az-204 exam questions q1-2

Box 1: No
expiration time – The time that the message expires.
InsertionTime – The time that the message was added to the queue.
Box 2: Yes
maxDequeueCount – The number of times to try processing a message before moving it to the poison queue. The default
value is 5.
Box 3: Yes
When there are multiple queue messages waiting, the queue trigger retrieves a batch of messages and invokes function
instances concurrently to process them. By default, the batch size is 16. When the number being processed gets down
to 8, the runtime gets another batch and starts processing those messages. So the maximum number of concurrent
messages being processed per function on one virtual machine (VM) is 24.
Box 4: Yes
References:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue

QUESTION 2
You are developing a project management service by using ASP.NET. The service hosts conservations, files, to-do lists,
and a calendar that users can interact with at any time.
The application uses Azure Search for allowing users to search for keywords in the project data.
You need to implement code that creates the object which is used to create indexes in the Azure Search service.
Which two objects should you use? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. SearchCredentials
B. SearchIndexClient
C. SearchServiceClient
D. SearchService
Correct Answer: BC
The various client libraries define classes like Index, Field, and Document, as well as operations like Indexes. Create
and Documents. Search on the SearchServiceClient and SearchIndexClient classes.
Example:
The sample application we\\’ll be exploring creates a new index named “hotels”, populates it with a few documents, then
executes some search queries. Here is the main program, showing the overall flow:
/ This sample shows how to delete, create, upload documents, and query an index
static void Main(string[] args)
{
IConfigurationBuilder builder = new ConfigurationBuilder().AddJsonFile(“appsettings.json”);
IConfigurationRoot configuration = builder.Build();
SearchServiceClient serviceClient = CreateSearchServiceClient(configuration);
Console.WriteLine(“{0}”, “Deleting index…\n”);
DeleteHotelsIndexIfExists(serviceClient);
Console.WriteLine(“{0}”, “Creating index…\n”);
CreateHotelsIndex(serviceClient);
ISearchIndexClient indexClient = serviceClient.Indexes.GetClient(“hotels”);
References:
https://docs.microsoft.com/en-us/azure/search/search-howto-dotnet-sdk

QUESTION 3
You develop an Azure web app. You monitor the performance of the web app by using Application Insights.
You need to ensure the cost for Application Insights does not exceed a preset budget.
What should you do?
A. Implement ingestions sampling using the Application Insights SDK.
B. Set a daily cap for the Application Insights instance.
C. Implement ingestion sampling using the Azure portal.
D. Implement adaptive sampling using the Azure portal.
E. Implement adaptive sampling using the Application Insights SDK.
Correct Answer: E
Sampling is an effective way to reduce charges and stay within your monthly quota.
You can set sampling manually, either in the portal on the Usage and estimated costs page; or in the ASP.NET SDK in
the .config file; or in the Java SDK in the ApplicationInsights.xml file, to also reduce the network traffic.
Adaptive sampling is the default for the ASP.NET SDK. Adaptive sampling automatically adjusts to the volume of
telemetry that your app sends. It operates automatically in the SDK in your web app so that telemetry traffic on the
network is
reduced.
Incorrect Answers:
B: You can use the daily volume cap to limit the data collected.
To change the daily cap, in the Configure section of your Application Insights resource, in the Usage and estimated
costs pane, select Daily Cap.
References:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/sampling

QUESTION 4
You are developing a web app that is protected by the Azure Web Application Firewall (WAF). All traffic to the web app is
routed through an Azure Application Gateway instance that is used by multiple web apps. The web app address is
contoso.azurewebsites.net.
All traffic must be secured with SSL. The Azure Application Gateway instance is used by multiple web apps.
You need to configure the Azure Application Gateway for the app.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. In the Azure Application Gateway\\’s HTTP setting, enable the Use for App service setting.
B. Convert the web app to run in an Azure App Service Environment (ASE).
C. Add an authentication certificate for contoso.azurewebsites.net to the Azure Application gateway.
D. In the Azure Application Gateway\\’s HTTP setting set the value of the Override backend path option to
contoso22.azurewebsites.net.
Correct Answer: AD
D: The ability to specify a host override is defined in the HTTP settings and can be applied to any back-end pool during
rule creation. The ability to derive the hostname from the IP or FQDN of the back-end pool members. HTTP settings
also
provide an option to dynamically pick the hostname from a back-end pool member\\’s FQDN if configured with the
option to derive hostname from an individual back-end pool member.
A (not C): SSL termination and end to end SSL with multi-tenant services.
In the case of end to end SSL, trusted Azure services such as Azure App Service web apps do not require whitelisting the
backends in the application gateway. Therefore, there is no need to add any authentication certificates.lead4pass az-204 exam questions q4

Reference: https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-web-app-overview

QUESTION 5
You need to secure the Shipping Logic App. What should you use?
A. Azure App Service Environment (ASE)
B. Integration Service Environment (ISE)
C. VNet service endpoint
D. Azure AD B2B integration
Correct Answer: B
Explanation:
Scenario: The Shipping Logic App requires secure resources to the corporate VNet and use dedicated storage
resources with a fixed costing model.
You can access Azure Virtual Network resources from Azure Logic Apps by using integration service environments
(ISEs).
Sometimes, your logic apps and integration accounts need access to secured resources, such as virtual machines
(VMs) and other systems or services, that are inside an Azure virtual network. To set up this access, you can create an integrated service environment (ISE) where you can run your logic apps and create your integration accounts.
Reference:
https://docs.microsoft.com/en-us/azure/logic-apps/connect-virtual-network-vnet-isolated-environment-overview

QUESTION 6
HOTSPOT
You have a web service that is used to pay for food deliveries. The web service uses Azure Cosmos DB as the data
store.
You plan to add a new feature that allows users to set a tip amount. The new feature requires that a property named tip
on the document in Cosmos DB must be present and contain a numeric value.
There are many existing websites and mobile apps that use the web service that will not be updated to set the tip
property for some time.
How should you complete the trigger?
NOTE: Each correct selection is worth one point.
Hot Area:lead4pass az-204 exam questions q6

Correct Answer:

lead4pass az-204 exam questions q6-1

Box 1: getContext().getRequest();
Box 2: if(isNaN(i)[“tip”] ..
In JavaScript, there are two ways to check if a variable is a number :
isNaN() – Stands for “is Not a Number”, if the variable is not a number, it returns true, else return false.
typeof – If variable is a number, it will return a string named “number”.
Box 3:r.setBody(i);
// update the item that will be created
References:
https://docs.microsoft.com/bs-latn-ba/azure/cosmos-db/how-to-write-stored-procedures-triggers-udfs
https://mkyong.com/javascript/check-if-variable-is-a-number-in-javascript/

QUESTION 7
HOTSPOT
You are creating a CLI script that creates Azure web app related services in Azure App Service. The web app uses
the following variables:lead4pass az-204 exam questions q7

You need to automatically deploy code from GitHub to the newly created web app.
How should you complete the script? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

lead4pass az-204 exam questions q7-1

Correct Answer:

lead4pass az-204 exam questions q7-2

Box 1: az appservice plan create
The azure group creates command successfully returns JSON result. Now we can use a resource group to create an azure
app service plan
Box 2: az webapp create
Create a new web app…
Box 3: –plan $webappname
..with the service plan, we created in step.
Box 4: az webapp deployment
Continuous Delivery with GitHub. Example:
az webapp deployment source config –name firstsamplewebsite1 –resource-group websites–repo-URL $gitrepo –branch
master –git-token $token
Box 5: –repo-URL $gitrepo –branch master –manual-integration
References:
https://medium.com/@satish1v/devops-your-way-to-azure-web-apps-with-azure-cli-206ed4b3e9b1

QUESTION 8
DRAG DROP
You are developing an ASP.NET Core Web API web service that uses Azure Application Insights to monitor
performance and trade events.
You need to enable logging and ensure that log messages can be correlated to events tracked by Application Insights.
How should you complete the code? To answer, drag the appropriate code segments to the correct locations. Each
code segment may be used once, more than once, or not at alt. You may need to drag the split bar between panes or
scroll to
view content.
NOTE: Each correct selection is worth one point.
Select and Place:lead4pass az-204 exam questions q8

QUESTION 9
HOTSPOT
You are developing an ASP.NET Core web application. You plan to deploy the application to Azure Web App for
Containers.
The application needs to store runtime diagnostic data that must be persisted across application restarts. You have the
following code:lead4pass az-204 exam questions q9

You need to configure the application settings so that diagnostic data is stored as required.
How should you configure the web app\\’s settings? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

lead4pass az-204 exam questions q9-1

Correct Answer:

lead4pass az-204 exam questions q9-2

Box 1: If WEBSITES_ENABLE_APP_SERVICE_STORAGE If WEBSITES_ENABLE_APP_SERVICE_STORAGE
the setting is unspecified or set to true, the /home/ directory will be shared across scale instances, and files written will
persist across restarts
Box 2: /home
Reference: https://docs.microsoft.com/en-us/azure/app-service/containers/app-service-linux-faq

QUESTION 10
DRAG DROP
You are a developer for a software as a service (SaaS) company that uses an Azure Function to process orders. The
Azure Function currently runs on an Azure Function App that is triggered by an Azure Storage queue.
You are preparing to migrate the Azure Function to Kubernetes using Kubernetes-based Event-Driven Autoscaling
(KEDA).
You need to configure Kubernetes Custom Resource Definitions (CRD) for the Azure Function.
Which CRDs should you configure? To answer, drag the appropriate CRD types to the correct locations. Each CRD
type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to
view
content.
NOTE: Each correct selection is worth one point.
Select and Place:lead4pass az-204 exam questions q10

Box 1: Deployment
To deploy Azure Functions to Kubernetes using the func Kubernetes deploy command has several attributes that directly
control how our app scales, once it is deployed to Kubernetes.
Box 2: ScaledObject
With –polling-interval, we can control the interval used by KEDA to check Azure Service Bus Queue for messages.
Example of ScaledObject with polling interval
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata: name: transformer-fn namespace: tt labels:
deploymentName: transformer-fn spec: scaleTargetRef:
deploymentName: transformer-fn
pollingInterval: 5
minReplicaCount: 0
maxReplicaCount: 100
Box 3: Secret
Store connection strings in Kubernetes Secrets.
Example: To create the Secret in our demo Namespace:
# create the k8s demo namespace kubectl create namespace tt
# grab connection string from Azure Service Bus
KEDA_SCALER_CONNECTION_STRING=$(az servicebus queue authorization-rule keys list \ -g $RG_NAME \
–namespace-name $SBN_NAME \ –queue-name inbound \ -n keda-scaler \ –query “primaryConnectionString” \ -o tsv)
# create the kubernetes secret
kubectl create secret generic tt-keda-auth \ –from-literal KedaScaler=$KEDA_SCALER_CONNECTION_STRING \
–namespace tt
Reference: https://www.thinktecture.com/en/kubernetes/serverless-workloads-with-keda/

QUESTION 11
DRAG DROP
You need to add markup at line AM04 to implement the ContentReview role.
How should you complete the markup? To answer, drag the appropriate JSON segments to the correct locations. Each
JSON segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll
to view content.
NOTE: Each correct selection is worth one point.
Select and Place:lead4pass az-204 exam questions q11

Explanation:
Box 1: allowedMemberTypes
allowedMemberTypes specifies whether this app role definition can be assigned to users and groups by setting it to
“User”, or to other applications (that are accessing this application in daemon service scenarios) by setting to
“Application”, or
to both.
Note: The following example shows the appRoles that you can assign to users.
“appId”: “8763f1c4-f988-489c-a51e-158e9ef97d6a”,
“appRoles”: [
{
“allowedMemberTypes”: [
“User”
],
“displayName”: “Writer”,
“id”: “d1c2ade8-98f8-45fd-aa4a-6d06b947c66f”,
“isEnabled”: true,
“description”: “Writers Have the ability to create tasks.”,
“value”: “Writer”
} ], “availableToOtherTenants”: false,
Box 2: User
Scenario: In order to review content a user must be part of a ContentReviewer role.
Box 3: value specifies the value which will be included in the roles claim in authentication and access tokens.
Reference:
https://docs.microsoft.com/en-us/graph/api/resources/approle

QUESTION 12
You are creating a hazard notification system that has a single signaling server that triggers audio and visual alarms
to start and stop.
You implement the Azure Service Bus to publish alarms. Each alarm controller uses the Azure Service Bus to receive alarm
signals as part of a transaction. Alarm events must be recorded for audit purposes. Each transaction record must
include
information about the alarm type that was activated.
You need to implement a reply trail auditing solution.
NOTE: Each correct selection is worth one point.
A. Assign the value of the hazard message MessageId property to the DeliveryCount property.
B. Assign the value of the hazard message SequenceNumber property to the DeliveryCount property.
C. Assign the value of the hazard message MessageId property to the SequenceNumber property.
D. Assign the value of the hazard message MessageId property to the CorrelationId property.
E. Assign the value of the hazard message SessionID property to the SequenceNumber property…
F. Assign the value of the hazard message SessionID property to the ReplyToSessionId property.
Correct Answer: DF
D: CorrelationId: Enables an application to specify a context for the message for the purposes of correlation; for
example, reflecting the MessageId of a message that is being replied to.
F: ReplyToSessionId: This value augments the ReplyTo information and specifies which SessionId should be set for the
reply when sent to the reply entity.
Incorrect Answers:
A, B: DeliveryCount number of deliveries that have been attempted for this message. The count is incremented when a message lock
expires, or the message is explicitly abandoned by the receiver. This property is read-only.
C, E: SequenceNumber
The sequence number is a unique 64-bit integer assigned to a message as it is accepted and stored by the broker and
functions as its true identifier. For partitioned entities, the topmost 16 bits reflect the partition identifier. Sequence
numbers
monotonically increase and are gapless. They roll over to 0 when the 48-64 bit range is exhausted. This property is read-only.
References: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messages-payloads

QUESTION 13
You are developing a software solution for an autonomous transportation system. The solution uses large data sets and
Azure Batch processing to simulate navigation sets for entire fleets of vehicles.
You need to create compute nodes for the solution on Azure Batch.
What should you do?
A. In the Azure portal, add a Job to a Batch account.
B. In a .NET method, call the method: BatchClient.PoolOperations.CreateJob
C. In Python, implement the class: JobAddParameter
D. In Azure CLI, run the command: az batch pool create
Correct Answer: B
A Batch job is a logical grouping of one or more tasks. A job includes settings common to the tasks, such as priority and
the pool to run tasks on. The app uses BatchClient.JobOperations.CreateJob method to create a job on your pool.
Note:
Step 1: Create a pool of compute nodes. When you create a pool, you specify the number of compute nodes for the
pool, their size, and the operating system. When each task in your job runs, it\\’s assigned to execute on one of the
nodes in
your pool.
Step 2: Create a job. A job manages a collection of tasks. You associate each job to a specific pool where that job\\’s
tasks will run. Step 3: Add tasks to the job. Each task runs the application or script that you uploaded to process the
data
files it downloads from your Storage account. As each task completes, it can upload its output to Azure Storage.
Incorrect Answers:
C: To create a Batch pool in Python, the app uses the PoolAddParameter class to set the number of nodes, VM size,
and a pool configuration.
References: https://docs.microsoft.com/en-us/azure/batch/quick-run-dotnet

Lead4Pass Microsoft discount code

lead4pass coupon 2020

About lead4pass

Lead4Pass has 8 years of exam experience! A number of professional Microsoft exam experts! Update exam questions throughout the year! The most complete exam questions and answers! The safest buying experience! The greatest free sharing of exam practice questions and answers!
Our goal is to help more people pass the Microsoft exam! Exams are a part of life, but they are important!
In the study, you need to sum up the study! Trust Lead4Pass to help you pass the exam 100%!
why lead4pass

Summarize:

Dumpscertification free to share Microsoft AZ-204 exam exercise questions, AZ-204 pdf, AZ-204 exam video! Lead4pass updated exam questions and answers throughout the year!
Make sure you pass the exam successfully. Select lead4Pass AZ-204 to pass the Microsoft AZ-204 exam “Developing Solutions for Microsoft Azure“.

ps.

Latest update Lead4pass AZ-204 exam dumps: https://www.lead4pass.com/az-204.html (185 Q&As)
[Latest updates] Free Microsoft AZ-204 Dumps pdf download from Google Drive: https://drive.google.com/file/d/186aUEtFqsr8Yt4Bggz2EE7xIncqn51te/