Posted in AZ-204 Developing Solutions for Microsoft Azure Microsoft Microsoft AZ-204 microsoft az-204 dumps microsoft az-204 exam actual questions microsoft az-204 exam dumps microsoft az-204 pdf microsoft az-204 practice test microsoft az-204 preparation Microsoft Role-based Uncategorized

The latest update of Microsoft AZ-204 online exam practice and complete exam dumps

exam practice

Microsoft AZ-204 exam “Developing Solutions for Microsoft Azure”, get the latest updated AZ-204 exam questions and answers online, we share the AZ-204 exam questions in a variety of ways, you can practice the test online, download the free AZ-204 PDF.
Complete Microsoft AZ-204 exam dumps https://www.lead4pass.com/az-204.html (PDF +VCE). 324 exam questions and answers. 99.5% exam pass rate.
All issues are updated and corrected to ensure that they are true and effective.

Free Microsoft AZ-204 dumps PDF

The free AZ-204 dumps PDF comes from a part of the Lead4Pass AZ-204 exam dumps. Lead4Pass AZ-204 includes two modes of VCE and PDF, you can choose any.

Microsoft AZ-204 free online practice test

Annotation: 1. The question-answer is displayed at the end 2. The picture answer is displayed in the current

QUESTION 1

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear on the review screen.

You develop Azure solutions.

You must grant a virtual machine (VM) access to specific resource groups in Azure Resource Manager.

You need to obtain an Azure Resource Manager access token.

Solution: Use the Reader role-based access control (RBAC) role to authenticate the VM with Azure Resource Manager.

Does the solution meet the goal?

A. Yes
B. No

QUESTION 2

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains
a unique solution that might meet the stated goals. Some question sets might have more than one correct solution,
while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not
appear in the review screen.

You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout
the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five
devices that send data.

You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier.
Additional stores are expected to open in the future.

You need to implement a solution to receive the device data.

Solution: Provision an Azure Event Grid. Configure event filtering to evaluate the device identifier.
Does the solution meet the goal?

A. Yes
B. No

QUESTION 3

You need to resolve a notification latency issue.

Which two actions should you perform?

Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A. Set Always On to true.
B. Ensure that the Azure Function is using an App Service plan.
C. Set Always On to false.
D. Ensure that the Azure Function is set to use a consumption plan.

QUESTION 4

DRAG-DROP

You plan to create a Docker image that runs as an ASP.NET Core application named ContosoApp.

You have a setup script named setup script. ps1 and a series of application files including ContosoApp.dll.

You need to create a Dockerfile document that meets the following requirements: Call setup script.ps1 when the container is built. Run ContosoApp.dll when the container starts.

The Docker document must be created in the same folder where ContosoApp.dll and setup script.ps1 is stored.

Which four commands should you use to develop the solution?

To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order. Select and Place:

microsoft az-204 exam questions q4
Correct Answer:
microsoft az-204 exam questions q4-1

Step 1: WORKDIR /apps/ContosoApp
Step 2: COPY ./The Docker document must be created in the same folder where ContosoApp.dll and setup script.ps1
are stored.
Step 3: EXPOSE ./ContosApp/ /app/ContosoApp
Step 4: CMD powershell ./setupScript.ps1
ENTRYPOINT [“dotnet”, “ContosoApp.dll”]
You need to create a Dockerfile document that meets the following requirements:
Call setup script.ps1 when the container is built.
Run ContosoApp.dll when the container starts.

References:
https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-custom-docker-image

QUESTION 5

A company is developing a solution that allows smart refrigerators to send temperature information to a central location. You have an existing Service Bus. The solution must receive and store messages until they can be processed. You create an Azure Service Bus instance by providing a name, pricing tier, subscription, resource group, and location.
You need to complete the configuration.

Which Azure CLI or PowerShell command should you run?

microsoft az-204 exam questions q5

A. Option A
B. Option B
C. Option C
D. Option D

QUESTION 6

You are developing an e-commerce solution that uses a microservice architecture.
You need to design a communication backplane for communicating transactional messages between various parts of
the solution. Messages must be communicated in a first-in-first-out (FIFO) order.

What should you use?

A. Azure Storage Queue
B. Azure Event Hub
C. Azure Service Bus
D. Azure Event Grid

QUESTION 7

DRAG-DROP

You are developing a solution for a hospital to support the following use cases:
1. The most recent patient status details must be retrieved even if multiple users in different locations have updated the
patient record.
2. Patient health monitoring data retrieved must be the current version or the prior version.
3. After a patient is discharged and all charges have been assessed, the patient billing record contains the final charges.
You provision a Cosmos DB NoSQL database and set the default consistency level for the database account to Strong.
You set the value for Indexing Mode to Consistent.
You need to minimize latency and any impact on the availability of the solution. You must override the default
consistency level at the query level to meet the required consistency guarantees for the scenarios.
Which consistency levels should you implement? To answer, drag the appropriate consistency levels to the correct
requirements. Each consistency level 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:

microsoft az-204 exam questions q7

Correct Answer:

microsoft az-204 exam questions q7-1

Explanation:

Box 1: Strong
Strong: Strong consistency offers a linearizability guarantee. The reads are guaranteed to return the most recent
committed version of an item. A client never sees an uncommitted or partial write. Users are always guaranteed to read
the latest committed write.

Box 2: Bounded staleness
Bounded staleness: The reads are guaranteed to honor the consistent prefix guarantee. The reads might lag behind
writes by at most “K” versions (that is “updates”) of an item or by “t” time interval. When you choose bounded staleness, the “staleness” can be configured in two ways:
The number of versions (K) of the item The time interval (t) by which the reads might lag behind the writes

Box 3: Eventual
Eventual: There\’s no ordering guarantee for reads. In the absence of any further writes, the replicas eventually
converge.
Incorrect Answers:
Consistent prefix: Updates that are returned contain some prefix of all the updates, with no gaps. Consistent prefix
guarantees that read never see out-of-order writes.

Reference:
https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels

QUESTION 8

You are developing a solution that will use Azure messaging services.

You need to ensure that the solution uses a publish-subscribe model and eliminates the need for constant polling.

What are two possible ways to achieve the goal?

Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A. Service Bus
B. Event Hub
C. Event Grid
D. Queue

QUESTION 9

HOTSPOT

You are configuring a new development environment for a Java application.
The environment requires a Virtual Machine Scale Set (VMSS), several storage accounts, and networking components.
The VMSS must not be created until the storage accounts have been successfully created and an associated load
balancer and virtual network are configured.

How should you complete the Azure Resource Manager template? 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 q9
microsoft az-204 exam questions q9-1

Box 1: copyIndex
Notice that the name of each resource includes the copyIndex() function, which returns the current iteration in the loop. copy index() is zero-based.

Box 2: copy
By adding the copy element to the resources section of your template, you can dynamically set the number of resources to deploy.

Box 3: dependsOn
Example:
“type”: “Microsoft.Compute/virtualMachineScaleSets”, “apiVersion”: “2020-06-01”, “name”: “[variables(\’namingInfix\’)]”,
“location”: “[parameters(\’location\’)]”, “sku”: { “name”: “[parameters(\’vmSku\’)]”, “tier”: “Standard”, “capacity”:
“[parameters(\’instanceCount\’)]” }, “dependsOn”: [ “[resourceId(\’Microsoft.Network/loadBalancers\’,
variables(\’loadBalancerName\’))]”, “[resourceId(\’Microsoft.Network/virtualNetworks\’,
variables(\’virtualNetworkName\’))]” ],

Reference: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/copy-resources
https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/quick-create-template-windows

QUESTION 10

A company is developing a solution that allows smart refrigerators to send temperature information to a central location.

You have an existing Service Bus.

The solution must receive and store messages until they can be processed. You create an Azure Service Bus instance
by providing a name, pricing tier, subscription, resource group, and location. You need to complete the configuration.

microsoft az-204 exam questions q10

Which Azure CLI or PowerShell command should you run?

A. Option A
B. Option B
C. Option C
D. Option D

QUESTION 11

You need to monitor ContentUploadService according to the requirements. Which command should you use?

A. az monitor metrics alert create –n alert –g … – -scopes … – -condition “avg Percentage CPU > 8”
B. az monitor metrics alert create –n alert –g … – -scopes … – -condition “avg Percentage CPU > 800”
C. az monitor metrics alert create –n alert –g … – -scopes … – -condition “CPU Usage > 800”
D. az monitor metrics alert create –n alert –g … – -scopes … – -condition “CPU Usage > 8”

QUESTION 12

DRAG-DROP

You need to add code at line EG15 in EventGridController.cs to ensure that the Log policy applies to all services.
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 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:

microsoft az-204 exam questions q12

Correct Answer:

microsoft az-204 exam questions q12-1

Scenario, Log policy: All Azure App Service Web Apps must write logs to Azure Blob storage.

Box 1: Status

Box 2: Succeeded

Box 3: operation name
Microsoft.Web/sites/write is a resource provider operation. It creates a new Web App or updates an existing one.

Reference: https://docs.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations

QUESTION 13

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains
a unique solution. Determine whether the solution meets the stated goals.

You are developing and deploying several ASP.NET web applications to Azure App Service.

You plan to save session state information and HTML output. You must use a storage mechanism with the following requirements:

1. Share session state across all ASP.NET web applications.
2. Support controlled concurrent access to the same session state data for multiple readers and a single writer.
3. Save full HTTP responses for concurrent requests. You need to store the information.

Proposed Solution: Deploy and configure Azure Cache for Redis. Update the web applications.
Does the solution meet the goal?

A. Yes
B. No

QUESTION 14

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:

Correct Answer:

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 the file as the type of storage that you want to enable logs for.
5. Click Add diagnostic setting.

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

QUESTION 15

A company uses Azure SQL Database to store data for an app. The data includes sensitive information.
You need to implement measures that allow only members of the manager’s group to see sensitive information.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.

A. Include the manager’s group.
B. Exclude the manager’s group.
C. Exclude the administrator’s group.
D. Navigate to the following URL: PUT https://management.azure.com/subscriptions/00000000-1111-2222-3333-44444
4444444/resouceGroupos/rg01/providers/Microsoft.Sql/servers/server01/databases/customers/transparentDataEncryption/current?api-version=2014-04-01
E. Run the following Azure PowerShell command: New-AzureRmSqlDatabaseDataMaskingRule -SchemaName “dbo”
-TableName “customers” -ColumnName “ssn” -MaskingFunction “Default”

Solutions:

NumberAnswerWhy
QUESTION 1BInstead, run the Invoke-RestMethod cmdlet to make a request to the local managed identity for the Azure resource’s endpoint.

Reference: https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windowsvm-access-arm
QUESTION 2BInstead use an Azure Service Bus, which is used for order processing and financial transactions.
Note: An event is a lightweight notification of a condition or a state change. Event hubs are usually used to react to status changes.

Reference:
https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services
QUESTION 3ABAzure Functions can run on either a Consumption Plan or a dedicated App Service Plan. If you run in a dedicated mode, you need to turn on the Always On setting for your Function App to run properly. The Function runtime will go idle after a few minutes of inactivity, so only HTTP triggers will actually “wake up” your functions. This is similar to how WebJobs must have Always On enabled.

Scenario: Notification latency: Users report that anomaly detection emails can sometimes arrive several minutes after an anomaly is detected.

Anomaly detection service: You have an anomaly detection service that analyzes log information for anomalies. It is implemented as an Azure Machine Learning model. The model is deployed as a web service. If an anomaly is detected, an Azure Function that emails administrators is called by using an HTTP WebHook.

Reference: https://github.com/Azure/Azure-Functions/wiki/Enable-Always-On-when-running-on-dedicated-App-ServicePlan
QUESTION 5AA service bus instance has already been created (Step 2 below). Next is step 3, Create a Service Bus queue.
Note:
Steps:

Step 1: # Create a resource group
resourceGroupName=”myResourceGroup”
az group create –name $resourceGroupName –location Erastus

Step 2: # Create a Service Bus messaging namespace with a unique name
namespaceName=myNameSpace$RANDOM az servicebus namespace create –resource-group $resourceGroupName –name $namespaceName –location eastus

Step 3: # Create a Service Bus queue
az servicebus queue create –resource-group $resourceGroupName –namespace-name $namespaceName –name BasicQueue

Step 4: # Get the connection string for the namespace
connectionString=$(az servicebus namespace authorization-rule keys list –resource-group $resourceGroupName –namespace-name $namespaceName –name RootManageSharedAccessKey –query primaryConnectionString
–output tsv)

Reference:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cli
QUESTION 6AAs a solution architect/developer, you should consider using Service Bus queues when:
Your solution requires the queue to provide a guaranteed first-in-first-out (FIFO) ordered delivery.
Reference:

https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-azure-and-service-bus-queues-comparedcontrasted
QUESTION 8ACIt is strongly recommended to use available messaging products and services that support a publish-subscribe model, rather than building your own. In Azure, consider using Service Bus or Event Grid. Other technologies that can be used for pub/sub messaging include Redis, RabbitMQ, and Apache Kafka.

Reference: https://docs.microsoft.com/en-us/azure/architecture/patterns/publisher-subscriber
QUESTION 10DA service bus instance has already been created (Step 2 below). Next is step 3, Create a Service Bus queue. Note: Steps:

Step 1: # Create a resource group
resourceGroupName=”myResourceGroup” az group create –name $resourceGroupName –location Erastus

Step 2: # Create a Service Bus messaging namespace with a unique name
namespaceName=myNameSpace$RANDOM az servicebus namespace create –resource-group $resourceGroupName –name $namespaceName –location eastus

Step 3: # Create a Service Bus queue
az servicebus queue create –resource-group $resourceGroupName –namespace-name $namespaceName –name BasicQueue

Step 4: # Get the connection string for the namespace
connectionString=$(az servicebus namespace authorization-rule keys list –resource-group $resourceGroupName –namespace-name $namespaceName –name RootManageSharedAccessKey –query primaryConnectionString –output tsv)

References:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cli
QUESTION 11BScenario: An alert must be raised if the ContentUploadService uses more than 80 percent of available CPU-cores

Reference: https://docs.microsoft.com/sv-se/cli/azure/monitor/metrics/alert
QUESTION 13AThe session state provider for Azure Cache for Redis enables you to share session information between different instances of an ASP.NET web application.
The same connection can be used by multiple concurrent threads.
Redis supports both read and write operations.
The output cache provider for Azure Cache for Redis enables you to save the HTTP responses generated by an ASP.NET web application.

Note: Using the Azure portal, you can also configure the eviction policy of the cache, and control access to the cache by adding users to the roles provided. These roles, which define the operations that members can perform, include Owner, Contributor, and Reader. For example, members of the Owner role have complete control over the cache (including security) and its contents, members of the Contributor role can read and write information in the cache, and members of the Reader role can only retrieve data from the cache.

Reference: https://docs.microsoft.com/en-us/azure/architecture/best-practices/caching
QUESTION 15BEDynamic data masking helps prevent unauthorized access to sensitive data by enabling customers to designate how much of the sensitive data to reveal with minimal impact on the application layer.
SQL users excluded from masking – A set of SQL users or AAD identities that get unmasked data in the SQL query results.

Note: The New-AzureRmSqlDatabaseDataMaskingRule cmdlet creates a data masking rule for an Azure SQL database.

References: https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/newazurermsqldatabasedatamaskingrule?view=azurermps-6.13.0
Get MoreAZ-204 Dumpshttps://www.lead4pass.com/az-204.html (Total Questions: 324 Q&A)

Summary:

We share the latest updated Microsoft Azure 204 exam practice questions for free to help you understand the current exam situation and improve your exam experience.
The free AZ-204 exam practice questions cannot help you pass the exam 100% successfully. If you want to pass the exam successfully for the first time, please choose Lead4Pass Azure 204 exam dumps

ps.

The free AZ-204 dumps PDF comes from a part of the Lead4Pass AZ-204 exam dumps. Lead4Pass AZ-204 includes two modes of VCE and PDF, you can choose any

Posted in AZ-204 Developing Solutions for Microsoft Azure Microsoft Microsoft AZ-204 microsoft az-204 dumps microsoft az-204 exam actual questions microsoft az-204 exam dumps microsoft az-204 pdf microsoft az-204 practice test microsoft az-204 preparation Microsoft Role-based

[May 2021] Get 13 free Microsoft AZ-204 exam practice test questions

Successfully passing the Microsoft AZ-204 exam to obtain certification makes it easy for you to become a top talent.

“Microsoft Azure AZ-204 contains many latest technologies:
develop Azure compute solutions; develop for Azure storage; implement Azure security; monitor, troubleshoot, and optimize Azure solutions; and connect to and consume Azure services and third-party services”

It is not a simple matter to obtain Microsoft Azure AZ-204 certification: first, you need to pay the exam fee of 165 dollars, secondly, you need to learn a lot of professional knowledge for the exam, and finally, you need to take the exam. This kind of process does not guarantee that you will pass the exam. Every year, many people cannot pass the exam smoothly!

I’m not trying to discourage everyone’s confidence, I just say that the Microsoft Azure AZ-204 exam is not easy!
So I share 13 valid Microsoft AZ-204 exam questions for free to help you improve your skills and exam experience!
All the exam questions I shared are the latest updates! All AZ-204 exam dumps come from Lead4pass.com!
Lead4pass will help you save a lot of money and help you pass the exam successfully for the first time! And we have the best exam credibility! You are not the first to need us!

Table Of Content:

  1. Download Microsoft AZ-204 exam pdf online
  2. Microsoft AZ-204 exam video from Youtube
  3. The latest updated Microsoft AZ-204 exam practice questions
  4. Microsoft AZ-204 Exam Certification Coupon Code 2021

Microsoft AZ-204 exam pdf online for free

Share the Microsoft AZ-204 Dumps PDF for free From Lead4pass AZ-204 Dumps part of the distraction collected on Google Drive shared by Lead4pass
https://drive.google.com/file/d/1X4oEpmjyo511Zd7SIA81eE-pvqgBSg5W/

Latest Lead4pass AZ-204 Youtube

Share the latest Microsoft AZ-204 exam practice questions and answers for free from Led4Pass Dumps viewed online by Youtube Videos

Microsoft Azure AZ-204 exam practice question and answer online practice exam 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 practice test q1

Correct Answer:

microsoft az-204 practice test 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 practice test 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:microsoft az-204 practice test q2

Correct Answer:

microsoft az-204 practice test q2-1

Enable Cross-Origin Resource Sharing (CORS) on your Azure App Service Web App.
Enter the full URL of the site you want to allow to access your WEB API or * to allow all domains.
Box 1: cors
Box 2: add
Box 3: allowed-origins
Box 4: http://testwideworldimporters.com/
References:
http://donovanbrown.com/post/How-to-clear-No-Access-Control-Allow-Origin-header-error-with-Azure-App-Service

 

QUESTION 3
You develop a gateway solution for a public-facing news API. The news API back end is implemented as a RESTful
service and uses an OpenAPI specification.
You need to ensure that you can access the news API by using an Azure API Management service instance.
Which Azure PowerShell command should you run?
A. Import-AzureRmApiManagementApi –Context $ApiMgmtContext –SpecificationFormat “Swagger” -SpecificationPath
$SwaggerPath –Path $Path
B. New-AzureRmApiManagementBackend -Context $ApiMgmtContext -Url $Url -Protocol http
C. New-AzureRmApiManagement –ResourceGroupName $ResourceGroup –Name $Name –Location $Location
–Organization $Org –AdminEmail $AdminEmail
D. New-AzureRmApiManagementBackendProxy –Url $ApiUrl
Correct Answer: D
New-AzureRmApiManagementBackendProxy creates a new Backend Proxy Object which can be piped when creating a
new Backend entity.
Example: Create a Backend Proxy In-Memory Object PS C:\>$secpassword = ConvertTo-SecureString
“PlainTextPassword” -AsPlainText -Force PS C:\>$proxyCreds = New-Object
System.Management.Automation.PSCredential (“foo”, $secpassword) PS C:\>$credential = NewAzureRmApiManagementBackendProxy -Url “http://12.168.1.1:8080” -ProxyCredential $proxyCreds
PS C:\>$apimContext = New-AzureRmApiManagementContext -ResourceGroupName “Api-Default-WestUS”
-ServiceName “contoso”
PS C:\>$backend = New-AzureRmApiManagementBackend -Context $apimContext -BackendId 123 -Url
\\’https://contoso.com/awesomeapi\\’ -Protocol http -Title “first backend” -SkipCertificateChainValidation $true -Proxy
$credential Description “backend with proxy server” Creates a Backend Proxy Object and sets up Backend
Incorrect Answers:
A: The Import-AzureRmApiManagementApi cmdlet imports an Azure API Management API from a file or a URL in Web
Application Description Language (WADL), Web Services Description Language (WSDL), or Swagger format.
B: New-AzureRmApiManagementBackend creates a new backend entity in API Management.
C: The New-AzureRmApiManagement cmdlet creates an API Management deployment in Azure API Management.
References: https://docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement/newazurermapimanagementbackendproxy?view=azurermps-6.13.0

 

QUESTION 4
HOTSPOT
You are developing a back-end Azure App Service that scales based on the number of messages contained in a
Service Bus queue.
A rule already exists to scale up the App Service when the average queue length of the unprocessed and valid queue
messages are greater than 1000.
You need to add a new rule that will continuously scale down the App Service as long as the scale-up condition is not
met.
How should you configure the Scale rule? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:microsoft az-204 practice test q4 microsoft az-204 practice test q4-1

Correct Answer:

microsoft az-204 practice test q4-2 microsoft az-204 practice test q4-3

Box 1: Service bus queue
You are developing a back-end Azure App Service that scales based on the number of messages contained in a
Service Bus queue.
Box 2: ActiveMessage Count
ActiveMessageCount: Messages in the queue or subscription that are in the active state and ready for delivery.
Box 3: Count
Box 4: Less than or equal to
You need to add a new rule that will continuously scale down the App Service as long as the scale-up condition is not
met.
Box 5: Decrease count by

 

QUESTION 5
You must implement Application Insights instrumentation capabilities utilizing the Azure Mobile Apps SDK to provide
meaningful analysis of user interactions with a mobile app.
You need to capture the data required to implement the Usage Analytics feature of Application Insights.
Which three data values should you capture? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Trace
B. Session Id
C. Exception
D. User Id
E. Events
Correct Answer: ADE
Application Insights is a service for monitoring the performance and usage of your apps. This module allows you to send
telemetry of various kinds (events, traces, etc.) to the Application Insights service where your data can be visualized in
the Azure Portal.
Application Insights manages the ID of a session for you.
References: https://github.com/microsoft/ApplicationInsights-Android

 

QUESTION 6
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not
appear in the review screen.
You develop Azure solutions.
You must grant a virtual machine (VM) access to specific resource groups in Azure Resource Manager.
You need to obtain an Azure Resource Manager access token.
Solution: Run the Invoke-RestMethod cmdlet to make a request to the local managed identity for the Azure resources
endpoint.
Does the solution meet the goal?
A. Yes
B. No
Correct Answer: A
Get an access token using the VM\\’s system-assigned managed identity and use it to call Azure Resource Manager
You will need to use PowerShell in this portion.
1.
In the portal, navigate to Virtual Machines and go to your Windows virtual machine and in the Overview, click Connect.
2.
Enter in your Username and Password for which you added when you created the Windows VM.
3.
Now that you have created a Remote Desktop Connection with the virtual machine, open PowerShell in the remote
session.
4.
Using the Invoke-WebRequest cmdlet, make a request to the local managed identity for Azure resources endpoint to get
an access token for Azure Resource Manager.
Example: $response = Invoke-WebRequest -Uri \\’http://169.254.169.254/metadata/identity/oauth2/token?apiversion=2018-02-01andresource=https://management.azure.com/\\’ -Method GET -Headers @{Metadata=”true”}
Reference: https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windowsvm-access-arm

 

QUESTION 7
HOTSPOT
You are developing an Azure App Service hosted ASP.NET Core API app by using C#. The API app will allow users to
authenticate by using Twitter and Azure Active Directory (Azure AD).
Users must be authenticated before calling API methods. You must log the user\\’s name for each method call.
You need to configure the API method calls.
Which values 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 practice test q7

Correct Answer:

microsoft az-204 practice test q7-1

Box 1: Authorize
Box 2: X-MS-CLIENT-PRINCIPAL-NAME
App Service passes user claims to your application by using special headers. External requests aren\\’t allowed to set
these headers, so they are present only if set by App Service. Some example headers include:
X-MS-CLIENT-PRINCIPAL-NAME X-MS-CLIENT-PRINCIPAL-ID Here\\’s the set of headers you get from Easy Auth for
a Twitter authenticated user:
{ “cookie”: “AppServiceAuthSession=Lx43…xHDTA==”, …
“x-ms-client-principal-name”: “evilSnobu”,
“x-ms-client-principal-id”: “35….”,
“x-ms-client-principal-idp”: “twitter”,
“x-ms-token-twitter-access-token”: “35…Dj”,
“x-ms-token-twitter-access-token-secret”: “OK3…Jx”,
}
References: https://docs.microsoft.com/en-us/azure/app-service/app-service-authentication-how-to

 

QUESTION 8
DRAG-DROP
You maintain an existing Azure SQL Database instance. Management of the database is performed by an external
party. All cryptographic keys are stored in an Azure Key Vault.
You must ensure that the external party cannot access the data in the SSN column of the Person table.
Will each protection method meet the requirement? To answer, drag the appropriate responses to the correct protection
methods. Each response 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:microsoft az-204 practice test q8

Correct Answer:

microsoft az-204 practice test q8-1

Box 1: Yes
You can configure Always Encrypted for individual database columns containing your sensitive data. When setting up
encryption for a column, you specify the information about the encryption algorithm and cryptographic keys used to
protect
the data in the column.
Box 2: No
Box 3: Yes
In SQL Database, the VIEW permissions are not granted by default to the public fixed database role. This enables
certain existing, legacy tools (using older versions of DacFx) to work properly. Consequently, to work with encrypted
columns
(even if not decrypting them) a database administrator must explicitly grant the two VIEW permissions.
Box 4: No
All cryptographic keys are stored in an Azure Key Vault.
References:
https://docs.microsoft.com/en-us/sql/relational-databases/security/encryption/always-encrypted-database-engine

 

QUESTION 9
You are developing an ASP.NET Core Web API web service. The web service uses Azure Application Insights for all
telemetry and dependency tracking. The web service reads and writes data to a database other than Microsoft SQL
Server.
You need to ensure that dependency tracking works for calls to the third-party database.
Which two Dependency Telemetry properties should you store in the database? Each correct answer presents part of
the solution.
NOTE: Each correct selection is worth one point.
A. Telemetry.Context.Operation.Id
B. Telemetry.Name
C. Telemetry.Context.Cloud.RoleInstance
D. Telemetry.Context.Session.Id
E. Telemetry.Id
Correct Answer: AE
Example:
public async Task Enqueue(string payload)
{
// StartOperation is a helper method that initializes the telemetry item
// and allows correlation of this operation with its parent and children.
var operation = telemetryClient.StartOperation(“enqueue ” + queueName);
operation.Telemetry.Type = “Azure Service Bus”;
operation.Telemetry.Data = “Enqueue ” + queueName;
var message = new BrokeredMessage(payload);
// Service Bus queue allows the property bag to pass along with the message.
// We will use them to pass our correlation identifiers (and other context)
// to the consumer.
message.Properties.Add(“ParentId”, operation.Telemetry.Id);
message.Properties.Add(“RootId”, operation.Telemetry.Context.Operation.Id);
References: https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking

 

QUESTION 10
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:microsoft az-204 practice test q10

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:

microsoft az-204 practice test q10-1

Correct Answer:

microsoft az-204 practice test q10-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 web app 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 11
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains
a unique solution that might meet the stated goals. Some question sets might have more than one correct solution,
while
others might not have a correct solution.
After you answer a question in this question, you will NOT be able to return to it. As a result, these questions will not
appear in the review screen.
Margie\\’s Travel is an international travel and bookings management service. The company is expanding into
restaurant bookings. You are tasked with implementing Azure Search for the restaurants listed in their solution.
You create the index in Azure Search.
You need to import the restaurant data into the Azure Search service by using the Azure Search .NET SDK.
Solution:
1.
Create a SearchServiceClient object to connect to the search index.
2.
Create a DataContainer that contains the documents which must be added.
3.
Create a DataSource instance and set its Container property to the DataContainer.
4.
Call the Documents. Suggest a method of the SearchIndexClient and pass the DataSource. Does the solution meet the
goal?
A. Yes
B. No
Correct Answer: B
Use the following method:
1.
– Create a SearchIndexClient object to connect to the search index
2.
– Create an IndexBatch that contains the documents which must be added.
3.
– Call the Documents. Index method of the SearchIndexClient and pass the IndexBatch.
References: https://docs.microsoft.com/en-us/azure/search/search-howto-dotnet-sdk

 

QUESTION 12
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains
a unique solution that might meet the stated goals. Some question sets might have more than one correct solution,
while
others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not
appear in the review screen.
You are developing an Azure solution to collect point-of-sale (POS) device data from 2,000 stores located throughout
the world. A single device can produce 2 megabytes (MB) of data every 24 hours. Each store location has one to five
devices that send data.
You must store the device data in Azure Blob storage. Device data must be correlated based on a device identifier.
Additional stores are expected to open in the future.
You need to implement a solution to receive the device data.
Solution: Provision an Azure Notification Hub. Register all devices with the hub.
Does the solution meet the goal?
A. Yes
B. No
Correct Answer: B
Instead use an Azure Service Bus, which is used for order processing and financial transactions.
Reference: https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services

 

QUESTION 13
DRAG-DROP
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?
Put the actions in the correct order.
Select and Place:

microsoft az-204 practice test q13

Correct Answer:

microsoft az-204 practice test q13-1

With the Azure CLI:
Step 1: In the Azure CLI, run the command: az batch account create
First, we create a batch account.
Step 2: In Azure CLI, run the command: az batch pool create
Now that you have a Batch account, create a sample pool of Linux compute nodes using the az batch pool create
command.
Step 3: In Azure CLI, run the command: az batch job create
Now that you have a pool, create a job to run on it. A Batch job is a logical group for one or more tasks. A job includes
settings common to the tasks, such as priority and the pool to run tasks on. Create a Batch job by using the az batch
job
create command.
Step 4: In Azure CLI, run the command: az batch task create
Now use the az batch task create command to create some tasks to run in the job.
References:
https://docs.microsoft.com/en-us/azure/batch/quick-create-cli

Get the latest and complete Microsoft Azure AZ-204 exam dumps! Help you pass the first exam successfully! Click here for more…

Microsoft Azure AZ-204 Exam Certification Coupon Code 2021

microsoft coupon code

You have read my entire article, and I have already told you how to successfully pass the Microsoft Azure AZ-204 exam.
You can choose: https://www.lead4pass.com/az-204.html and go directly to the AZ-204 Exam dumps channel! Get your key to successfully pass the exam!
Wish you be happy!

ps.
Get free Microsoft AZ-204 dumps PDF online: https://drive.google.com/file/d/1X4oEpmjyo511Zd7SIA81eE-pvqgBSg5W/

Posted in AZ-204 Developing Solutions for Microsoft Azure Microsoft Microsoft AZ-204 microsoft az-204 dumps microsoft az-204 exam actual questions microsoft az-204 exam dumps microsoft az-204 pdf microsoft az-204 practice test microsoft az-204 preparation Microsoft Role-based

[MAR 2021] Microsoft AZ-204 exam dumps and online practice questions are available from Lead4Pass

The latest updated Microsoft AZ-204 exam dumps and free AZ-204 exam practice questions and answers! Latest updates from Lead4Pass Microsoft AZ-204 Dumps PDF and AZ-204 Dumps VCE, Lead4Pass AZ-204 exam questions updated and answers corrected!
Get the full Microsoft AZ-204 dumps from https://www.lead4pass.com/az-204.html (VCE&PDF)

Latest AZ-204 PDF for free

Share the Microsoft AZ-204 Dumps PDF for free From Lead4pass AZ-204 Dumps part of the distraction collected on Google Drive shared by Lead4pass
https://drive.google.com/file/d/1YIOpqZrnO3KBah69QCV3ip9P4xnC74Me/

The latest updated Microsoft AZ-204 Exam Practice Questions and Answers Online Practice Test is free to share from Lead4Pass (Q1-Q13)

QUESTION 1
DRAG DROP
You are developing a Docker/Go using Azure App Service Web App for Containers. You plan to run the container in an
App Service on Linux. You identify a Docker container image to use.
None of your current resource groups reside in a location that supports Linux. You must minimize the number of
resource groups required.
You need to create the application and perform an initial deployment.
Which three Azure CLI commands should you use to develop the solution? To answer, move the appropriate
commands from the list of commands to the answer area and arrange them in the correct order.
Select and Place: [2021.3] lead4pass az-204 practice test q1

Correct Answer:

[2021.3] lead4pass az-204 practice test q1-1

You can host native Linux applications in the cloud by using Azure Web Apps. To create a Web App for Containers, you
must run Azure CLI commands that create a group, then a service plan, and finally the web app itself.
Step 1: az group create
In the Cloud Shell, create a resource group with the az group create command.
Step 2: az appservice plan create
In the Cloud Shell, create an App Service plan in the resource group with the az appservice plan create command.
Step 3: az webapp create
In the Cloud Shell, create a web app in the myAppServicePlan App Service plan with the az web app create command.
Don\\’t forget to replace it with a unique app name, and with your Docker ID.
References: https://docs.microsoft.com/mt-mt/azure/app-service/containers/quickstart-docker-go?view=sql-serverver15

 

QUESTION 2
HOTSPOT
You need to configure API Management for authentication.
Which policy values should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:[2021.3] lead4pass az-204 practice test q2

Box 1: Validate JWT
The validate-jwt policy enforces the existence and validity of a JWT extracted from either a specified HTTP Header or a
specified query parameter.
Scenario: User authentication (see step 5 below)
The following steps detail the user authentication process:
1.
The user selects Sign in on the website.
2.
The browser redirects the user to the Azure Active Directory (Azure AD) sign-in page.
3.
The user signs in.
4.
Azure AD redirects the user\\’s session back to the web application. The URL includes an access token.
5.
The web application calls an API and includes the access token in the authentication header. The application ID is sent
as the audience (‘aud’) claim in the access token.
6.
The back-end API validates the access token.
Incorrect Answers:
1.
Limit call rate by key – Prevents API usage spikes by limiting call rate, on a per-key basis.
2.
Restrict caller IPs – Filters (allows/denies) calls from specific IP addresses and/or address ranges.
3.
Check HTTP header – Enforces the existence and/or value of an HTTP Header.
Box 2: Outbound
Reference: https://docs.microsoft.com/en-us/azure/api-management/api-management-access-restriction-policies

 

QUESTION 3
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not
appear in the review screen.
You develop an HTTP-triggered Azure Function app to process Azure Storage blob data. The app is triggered using an
output binding on the blob.
The app continues to time out after four minutes. The app must process the blob data.
You need to ensure the app does not time out and processes the blob data.
Solution: Configure the app to use an App Service hosting plan and enable the Always On setting.
Does the solution meet the goal?
A. Yes
B. No
Correct Answer: B
Instead, pass the HTTP trigger payload into an Azure Service Bus queue to be processed by a queue trigger function
and return an immediate HTTP success response.
Note: Large, long-running functions can cause unexpected timeout issues. General best practices include:
Whenever possible, refactor large functions into smaller function sets that work together and return responses fast. For
example, a webhook or HTTP trigger function might require an acknowledgment response within a certain time limit;
it\\’s
common for webhooks to require an immediate response. You can pass the HTTP trigger payload into a queue to be
processed by a queue trigger function. This approach lets you defer the actual work and return an immediate response.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-best-practices

 

QUESTION 4
HOTSPOT
You develop a news and blog content delivery app for Windows devices.
A notification must arrive on a user\\’s device when there is a new article available for them to view.
You need to implement push notifications.
How should you complete the code segment? To answer, select the appropriate options in the answer area;
NOTE: Each correct selection is worth one point.
Hot Area:[2021.3] lead4pass az-204 practice test q4

Correct Answer:

[2021.3] lead4pass az-204 practice test q4-1

 

QUESTION 5
You have an Azure App Services Web App Azure SQL Database instance Azure Storage Account, and an Azure Redis
Cache instance in a resource group.
A developer must be able to publish code to the web app. You must grant the developer the Contribute role to the web
app.
You need to grant the role.
Which two commands can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. az role assignment create
B. az role definition create
C. New-AzureRmRoleAssignment
D. New-AzureRmRoleDefinition
Correct Answer: AC
A: The az role assignment create command creates a new role assignment for a user, group, or service principal.
Example: Create a role assignment for an assignee.
az role assignment create –assignee sp_name –role a_role
C: The New-AzureRmRoleAssignment command assigns the specified RBAC role to the specified principal, at the
specified scope.
Incorrect Answers:
B, D: Creates a custom role in Azure RBAC.
References:
https://docs.microsoft.com/en-us/cli/azure/role/assignment?view=azure-cli-latest#az-role-assignment-create https://docs.microsoft.com/en-us/powershell/module/azurerm.resources/new-azurermroleassignment?view=azurermps-6.13.0

 

QUESTION 6
DRAG DROP
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?
Put the actions in the correct order.
Select and Place:[2021.3] lead4pass az-204 practice test q6

Correct Answer:

[2021.3] lead4pass az-204 practice test q6-1

With the Azure CLI:
Step 1: In the Azure CLI, run the command: az batch account create
First, we create a batch account.
Step 2: In Azure CLI, run the command: az batch pool create
Now that you have a Batch account, create a sample pool of Linux compute nodes using the az batch pool create
command.
Step 3: In Azure CLI, run the command: az batch job create
Now that you have a pool, create a job to run on it. A Batch job is a logical group for one or more tasks. A job includes
settings common to the tasks, such as priority and the pool to run tasks on. Create a Batch job by using the az batch
job
create command.
Step 4: In Azure CLI, run the command: az batch task create
Now use the az batch task create command to create some tasks to run in the job.
References:
https://docs.microsoft.com/en-us/azure/batch/quick-create-cli

 

QUESTION 7
DRAG DROP
You are implementing an order processing system. A point of sale application publishes orders to topics in an Azure
Service Bus queue. The Label property for the topic includes the following data:[2021.3] lead4pass az-204 practice test q7

You need to implement filtering and maximize throughput while evaluating filters. Which filter types should you implement? To answer, drag the appropriate filter types to the correct subscriptions. Each
filter 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:

[2021.3] lead4pass az-204 practice test q7-1

Correct Answer:

[2021.3] lead4pass az-204 practice test q7-2

FutureOrders: SQLFilter HighPriortyOrders: CorrelationFilter CorrelationID only InternationalOrders: SQLFilter Country
NOT USA requires an SQL Filter HighQuantityOrders: SQLFilter Need to use relational operators so an SQL Filter is
needed. all orders: No Filter SQL Filter: SQL Filters – A SqlFilter holds a SQL-like conditional expression that is
evaluated in the broker against the arriving messages\\’ user-defined properties and system properties. All system
properties must be prefixed with sys. in the conditional expression. The SQL-language subset for filter conditions tests
for the existence of properties (EXISTS), as well as for null-values (IS NULL), logical NOT/AND/OR, relational
operators, simple numeric arithmetic, and simple text pattern matching with LIKE. Correlation Filters – A CorrelationFilter
holds a set of conditions that are matched against one or more of an arriving message\\’s user and system properties. A
common use is to match against the CorrelationId property, but the application can also choose to match against
ContentType, Label, MessageId, ReplyTo, ReplyToSessionId, SessionId, To, and any user-defined properties. A match
exists when an arriving message\\’s value for a property is equal to the value specified in the correlation filter. For string
expressions, the comparison is case-sensitive. When specifying multiple match properties, the filter combines them as a
logical AND condition, meaning for the filter to match, all conditions must match. Boolean filters – The TrueFilter and
FalseFilter either cause all arriving messages (true) or none of the arriving messages (false) to be selected for the
subscription. References: https://docs.microsoft.com/en-us/azure/service-bus-messaging/topic-filters

 

QUESTION 8
HOTSPOT
You need to add code at line AM09 to ensure that users can review content using ContentAnalysisService.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:[2021.3] lead4pass az-204 practice test q8

Correct Answer:

[2021.3] lead4pass az-204 practice test q8-1

Box 1: “oauth2Permissions”: [“login”]
oauth2Permissions specifies the collection of OAuth 2.0 permission scopes that the web API (resource) app exposes to
client apps. These permission scopes may be granted to client apps during consent.
Box 2: “oauth2AllowImplicitFlow”:true
For applications (Angular, Ember.js, React.js, and so on), the Microsoft identity platform supports the OAuth 2.0 Implicit
Grant flow.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/develop/reference-app-manifest

 

QUESTION 9
You are implementing an Azure API app that uses built-in authentication and authorization functionality.
All app actions must be associated with information about the current user.
You need to retrieve the information about the current user.
What are two ways to achieve the goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. HTTP headers
B. environment variables
C. /.auth/me HTTP endpoint
D. /.auth/login endpoint
Correct Answer: AC
A: After App Service Authentication has been configured, users trying to access your API are prompted to sign in with
their organizational account that belongs to the same Azure AD as the Azure AD application used to secure the API.
After signing in, you are able to access the information about the current user through the HttpContext.Current.User
property.
C: While the server code has access to request headers, client code can access GET /.auth/me to get the same access
tokens (
References: https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-auth-aad
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/connect-to-api-secured-with-aad

 

QUESTION 10
You are creating a hazard notification system that has a single signaling server which triggers audio and visual alarms
to start and stop.
You implement Azure Service Bus to publish alarms. Each alarm controller uses 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
A 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 11
You are developing a web app that is protected by 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.[2021.3] lead4pass az-204 practice test q11

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

 

QUESTION 12
HOTSPOT
You need to secure the Shipping Function app.
How should you configure the app? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:[2021.3] lead4pass az-204 practice test q12

Correct Answer:

[2021.3] lead4pass az-204 practice test q12-1

Scenario: Shipping Function app: Implement secure function endpoints by using app-level security and include Azure
Active Directory (Azure AD).
Box 1: Function
Box 2: JSON based Token (JWT)
Azure AD uses JSON based tokens (JWTs) that contain claims
Box 3: HTTP
How a web app delegates sign-in to Azure AD and obtains a token
User authentication happens via the browser. The OpenID protocol uses standard HTTP protocol messages.
Reference:
https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-scenarios

 

QUESTION 13
A company uses Azure SQL Database to store data for an app. The data includes sensitive information.
You need to implement measures that allow only members of the manager’s group to see sensitive information.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Include the manager’s group.
B. Exclude the manager’s group.
C. Exclude the administrator’s group.
D. Navigate to the following URL: PUT https://management.azure.com/subscriptions/00000000-1111-2222-3333-44444
4444444/resouceGroupos/rg01/providers/Microsoft.Sql/servers/server01/databases/customers/
transparentDataEncryption/current?api-version=2014-04-01
E. Run the following Azure PowerShell command: New-AzureRmSqlDatabaseDataMaskingRule -SchemaName “dbo”
-TableName “customers” -ColumnName “ssn” -MaskingFunction “Default”
Correct Answer: BE
Dynamic data masking helps prevent unauthorized access to sensitive data by enabling customers to designate how
much of the sensitive data to reveal with minimal impact on the application layer.
SQL users excluded from masking – A set of SQL users or AAD identities that get unmasked data in the SQL query
results.
Note: The New-AzureRmSqlDatabaseDataMaskingRule cmdlet creates a data masking rule for an Azure SQL
database.
References:
https://docs.microsoft.com/en-us/powershell/module/azurerm.sql/newazurermsqldatabasedatamaskingrule?view=azurermps-6.13.0


Fulldumps shares the latest updated Microsoft AZ-204 exam exercise questions, AZ-204 dumps pdf for free.
All exam questions and answers come from the Lead4pass exam dumps shared part! Lead4pass updates throughout the year and shares a portion of your exam questions for free to help you understand the exam content and enhance your exam experience!
Get the full Microsoft AZ-204 exam dumps questions at: https://www.lead4pass.com/az-204.html (pdf&vce)

ps.
Get free Microsoft AZ-204 dumps PDF online: https://drive.google.com/file/d/1YIOpqZrnO3KBah69QCV3ip9P4xnC74Me/

Posted in AZ-204 Developing Solutions for Microsoft Azure Microsoft Microsoft AZ-204 microsoft az-204 dumps microsoft az-204 exam actual questions microsoft az-204 exam dumps microsoft az-204 pdf microsoft az-204 practice test microsoft az-204 preparation Microsoft Role-based

[Jan 2021] Microsoft AZ-204 exam dumps and online practice questions are available from Lead4Pass

The latest updated Microsoft AZ-204 exam dumps and free AZ-204 exam practice questions and answers! Latest updates from Lead4Pass Microsoft AZ-204 Dumps PDF and AZ-204 Dumps VCE, Lead4Pass AZ-204 exam questions updated and answers corrected!
Get the full Microsoft AZ-204 dumps from https://www.lead4pass.com/az-204.html (VCE&PDF)

Latest AZ-204 PDF for free

Share the Microsoft AZ-204 Dumps PDF for free From Lead4pass AZ-204 Dumps part of the distraction collected on Google Drive shared by Lead4pass
https://drive.google.com/file/d/186aUEtFqsr8Yt4Bggz2EE7xIncqn51te/

Latest Lead4pass AZ-204 Youtube

Share the latest Microsoft AZ-204 exam practice questions and answers for free from Led4Pass Dumps viewed online by Youtube Videos

The latest updated Microsoft AZ-204 Exam Practice Questions and Answers Online Practice Test is free to share from Lead4Pass (Q1-Q13)

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 practice test q1

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

lead4pass az-204 practice test q1-1

Correct Answer:

lead4pass az-204 practice test 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 practice test 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 practice test q6

Correct Answer:

lead4pass az-204 practice test 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 practice test 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 practice test q7-1

Correct Answer:

lead4pass az-204 practice test 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 practice test 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 practice test 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 practice test q9-1

Correct Answer:

lead4pass az-204 practice test 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 practice test 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 practice test 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


Fulldumps shares the latest updated Microsoft AZ-204 exam exercise questions, AZ-204 dumps pdf, and Youtube video learning for free.
All exam questions and answers come from the Lead4pass exam dumps shared part! Lead4pass updates throughout the year and shares a portion of your exam questions for free to help you understand the exam content and enhance your exam experience!
Get the full Microsoft AZ-204 exam readiness dump questions at https://www.lead4pass.com/az-204.html (pdf&vce)

ps.
Get free Microsoft AZ-204 dumps PDF online: https://drive.google.com/file/d/186aUEtFqsr8Yt4Bggz2EE7xIncqn51te/