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/

Posted in Developing Solutions for Microsoft Azure (beta) Microsoft microsoft az-204 microsoft az-204 dumps microsoft az-204 exam microsoft azure az-204 Microsoft Azure Exam certification 2020 microsoft certification az-204

[September 2020] New Microsoft AZ-204 Brain dumps and online practice tests are shared from Lead4Pass (latest Updated)

The latest Microsoft AZ-204 dumps by Lead4Pass helps you pass the AZ-204 exam for the first time! Lead4Pass Latest Update Microsoft AZ-204 VCE Dump and AZ-204 PDF Dumps, Lead4Pass AZ-204 Exam Questions Updated, Answers corrected! Get the latest LeadPass AZ-204 dumps with Vce and PDF: https://www.lead4pass.com/az-204.html (Q&As: 158 dumps)

[Free AZ-204 PDF] Microsoft AZ-204 Dumps PDF can be collected on Google Drive shared by Lead4Pass: https://drive.google.com/file/d/1S3PFCFD86k-EbZP1YA2y5kPPPiJu5qfS/

[Lead4pass AZ-204 Youtube] Microsoft AZ-204 Dumps can be viewed on Youtube shared by Lead4Pass

Microsoft AZ-204 Online Exam Practice Questions

QUESTION 1
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 q1

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

QUESTION 2
HOTSPOT
You are validating the configuration of an Azure Search indexer.
The service has been configured with an indexer that uses the Import Data option. The index is configured using options
as shown in the Index Configuration exhibit. (Click the Index Configuration tab.)

lead4pass az-204 exam questions q2

You use an Azure table as the data source for the import operation. The table contains three records with item inventory
data that match the fields in the Storage data exhibit. These records were imported when the index was created.
(Click the Storage Data tab.) When users search with no filter, all three records are displayed.

lead4pass az-204 exam questions q2-1

When users search for items by description, Search explorer returns no records. The Search Explorer exhibit shows the
query and results for a test. In the test, a user is trying to search for all items in the table that have a description that
contains the word bag. (Click the Search Explorer tab.)

lead4pass az-204 exam questions q2-2

You need to resolve the issue.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

lead4pass az-204 exam questions q2-3

Correct Answer:

lead4pass az-204 exam questions q2-4

Box 1: Yes
The item description field is not searchable.
Box 2: No
The item description field is not searchable, but we would need to recreate the index.
Box 3: Yes
An indexer in Azure Search is a crawler that extracts searchable data and metadata from an external Azure data source
and populates an index based on field-to-field mappings between the index and your data source. This approach is
sometimes referred to as a \\’pull model\\’ because the service pulls data in without you having to write any code that
adds data to an index.
Box 4: No
References:
https://docs.microsoft.com/en-us/azure/search/search-what-is-an-index
https://docs.microsoft.com/en-us/azure/search/search-indexer-overview

QUESTION 3
A company is developing a solution that allows smart refrigerators to send temperature information to a central location.
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?

lead4pass az-204 exam questions q3

A. B. C. D.
Correct Answer: B
# Create a Service Bus messaging namespace with a unique name. Example:
namespaceName=myNameSpace$RANDOM az servicebus namespace create –resource-group $resourceGroupName
–name $namespaceName –location eastus
References: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quickstart-cli

QUESTION 4
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 q4

Correct Answer:

lead4pass az-204 exam questions q4-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 a 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 5
DRAG DROP
You develop software solutions for mobile delivery service. You are developing a mobile app that users can use to
order from a restaurant in their area; The app uses the following workflow:
1.
A driver selects the restaurants for which they will deliver orders.
2.
Orders are sent to all available drivers in an area;
3.
Only orders for the selected restaurants will appear for the driver.
4.
The first driver to accept an order removes it from the list of available orders.
You need to implement an Azure Service Bus solution.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions
to the answer area and arrange them in the correct order.
Select and Place: 

lead4pass az-204 exam questions q5

Correct Answer:

lead4pass az-204 exam questions q5-1

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:

lead4pass az-204 exam questions q6

Correct Answer:

lead4pass az-204 exam questions q6-1

With the Azure Portal:
Step 1: In the Azure portal, create a Batch account.
First, we create a batch account.
Step 2: In the Azure portal, create a pool of compute nodes

Now that you have a Batch account, create a sample pool of Windows compute nodes for test purposes.
Step 3: In the Azure portal, add a Job.
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. Initially, the job has no tasks.
Step 4: In the Azure portal, create tasks
Now create sample tasks to run in the job. Typically you create multiple tasks that Batch queues and distributes to run
on the compute nodes.
References:
https://docs.microsoft.com/en-us/azure/batch/quick-create-portal

QUESTION 7
DRAG DROP
Contoso, Ltd. provides an API to customers by using Azure API Management (APIM). The API authorizes users with a
JWT token. You must implement response caching for the APIM freeway. The caching mechanism must detect the user ID of the client that accesses data for a given location and cache the response for that user ID. You need to add the
following policies to the policies file: a set-variable policy to store the detected user identity a cache-lookup-value policy
a cache-store-value policy a find-and-replace policy to update the response body with the user profile information To
which policy section should you add the policies? To answer, drag the appropriate sections to the correct policies. Each section 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 q7

QUESTION 8
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:

lead4pass az-204 exam questions q8

QUESTION 9

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 on the review screen.
Margie\\’s Travel is an international travel and booking 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.
Set the DataSources property of the SearchServiceClient.
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 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 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
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

HOTSPOT
You develop 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:

lead4pass az-204 exam questions q11 lead4pass az-204 exam questions q11-1

Correct Answer:

lead4pass az-204 exam questions q11-2 lead4pass az-204 exam questions q11-3

QUESTION 12
HOTSPOT
You plan to deploy a web app to App Service on Linux. You create an App Service plan. You create and push a custom
Docker image that contains the web app to Azure Container Registry.
You need to access the console logs generated from inside the container in real-time.

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:

lead4pass az-204 exam questions q12

Correct Answer:

lead4pass az-204 exam questions q12-1

Box 1: config To Configure logging for a web app using the command: az web app log config Box 2: –docker-container logging Syntax include: az webapp log config [–docker-container-logging {filesystem, off}] Box 3: webapp To download
a web app\\’s log history as a zip file use the command: az webapp log download Box 4: download
References: https://docs.microsoft.com/en-us/cli/azure/webapp/log

QUESTION 13
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 a 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 q13

Correct Answer:

lead4pass az-204 exam questions q13-1


latest updated Microsoft AZ-204 exam questions from the Lead4Pass AZ-204 dumps! 100% pass the AZ-204 exam! Download Lead4Pass AZ-204 VCE and PDF dumps: https://www.lead4pass.com/az-204.html (Q&As: 158 dumps)

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

Posted in Developing Solutions for Microsoft Azure (beta) Microsoft microsoft az-204 microsoft az-204 dumps microsoft az-204 exam microsoft azure az-204 Microsoft Azure Exam certification 2020 microsoft certification az-204

[2020.5] 5 steps to improve Your Microsoft AZ-204 Exam Skills and Pass the AZ-204 Exam

How do I improve my Microsoft AZ-204 exam skills and pass the exam?
May 2020 Update AZ-204 Exam Dump, AZ-204 pdf, Online Microsoft AZ-204 Practice Test Questions Free To Improve Skills and Experience,
Maximum Pass Rate and Best Price/Performance Ratio Lead4Pass AZ-204 Dump: https://www.lead4pass.com/az-204.html (Total Questions: 149 Q&A)

5 Steps exam Tips About Microsoft AZ-204

Latest Updated Microsoft AZ-204 video tutorial

Latest Microsoft Azure AZ-204 exam pdf free download

[PDF Q1-Q13] Free Microsoft AZ-204 pdf dumps download from Google Drive: https://drive.google.com/open?id=18_jHQrRfLVeDEqGcV4DHJ-JashRRatC0

Exam AZ-204: Developing Solutions for Microsoft Azure: https://docs.microsoft.com/en-us/learn/certifications/exams/az-204

Candidates for this exam should have subject matter expertise designing, building, testing, and maintaining cloud applications and services on Microsoft Azure.

Responsibilities for an Azure Developer include participating in all phases of cloud development from requirements definition and design, to development, deployment, and maintenance. performance tuning, and monitoring.

Azure Developers partner with cloud solution architects, cloud DBAs, cloud administrators, and clients to implement solutions.

Skills measured

The content of this exam was updated on May 18, 2020. Please download the exam skills outline below to see what changed.

  • Develop Azure compute solutions (25-30%)
  • Develop for Azure storage (10-15%)
  • Implement Azure security (15-20%)
  • Monitor, troubleshoot, and optimize Azure solutions (10-15%)
  • Connect to and consume Azure services and third-party services (25-30%)

Latest Updates Microsoft AZ-204 Exam Practice Questions and Answers

QUESTION 1
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 on the review screen.
You develop software as a service (SaaS) offering to manage photographs. Users upload photos to a web service
which then stores the photos in Azure Storage Blob storage. The storage account type is General-purpose V2.
When photos are uploaded, they must be processed to produce and save a mobile-friendly version of the image. The process to produce a mobile-friendly version of the image must start in less than one minute.
You need to design the process that starts the photo processing.
Solution: Move photo processing to an Azure Function triggered by the blob upload.
Does the solution meet the goal?
A. Yes
B. No
Correct Answer: A
Azure Storage events allow applications to react to events. Common Blob storage event scenarios include an image or
video processing, search indexing, or any file-oriented workflow.
Events are pushed using Azure Event Grid to subscribers such as Azure Functions, Azure Logic Apps, or even to your
own HTTP listener.
Note: Only storage accounts of kind StorageV2 (general purpose v2) and BlobStorage support event integration.
Storage (general purpose v1) does not support integration with Event Grid.
Reference:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-event-overview

 

QUESTION 2
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:fulldumps az-204 exam questions q2

Correct Answer:

fulldumps az-204 exam questions q2-1

Explanation:
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), 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 3
DRAG DROP
You are creating a script that will run a large workload on an Azure Batch pool. Resources will be reused and do not
need to be cleaned up after use.
You have the following parameters:fulldumps az-204 exam questions q3

You need to write an Azure CLI script that will create the jobs, tasks, and the pool.
In which order should you arrange the commands to develop the solution? To answer, move the appropriate commands
from the list of command segments to the answer area and arrange them in the correct order.
Select and Place:

fulldumps az-204 exam questions q3-1

Correct Answer:

fulldumps az-204 exam questions q3-2

Step 1: az batch pool create
# Create a new Linux pool with a virtual machine configuration.
az batch pool create \
–id my pool \
–VM-size Standard_A1 \
–target-dedicated 2 \
–image canonical:ubuntu-server:16.04-LTS \
–node-agent-SKU-id “batch.node.ubuntu 16.04”
Step 2: az batch job create
# Create a new job to encapsulate the tasks that are added.
az batch job create \
–id my job \
–pool-id mypool
Step 3: az batch task create
# Add tasks to the job. Here the task is a basic shell command.
az batch task create \
–job-id my job \
–task-id task1 \
–command-line “/bin/bash -c \\’printenv AZ_BATCH_TASK_WORKING_DIR\\'”
Step 4: for i in {1..$numberOfJobs} do
References:
https://docs.microsoft.com/bs-latn-ba/azure/batch/scripts/batch-cli-sample-run-job

 

QUESTION 4
You are building a website to access project data related to terms within your organization. The website does not allow
anonymous access. Authentication performed using an Azure Active Directory (Azure AD) app named internal.
The website has the following authentication requirements:
Azure AD users must be able to login to the website.
Personalization of the website must be based on membership in Active Directory groups.
You need to configure the application\\’s manifest to meet the authentication requirements.
How should you configure the manifest? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:fulldumps az-204 exam questions q4

Correct Answer:

fulldumps az-204 exam questions q4-1

Box 1: group membership claims
Scenario: Personalization of the website must be based on membership in Active Directory groups.
Group claims can also be configured in the Optional Claims section of the Application Manifest.
Enable group membership claims by changing the groupMembershipClaim
The valid values are:
“All”
“SecurityGroup”
“DistributionList”
“DirectoryRole”
Box 2: oauth2Permissions
Scenario: Azure AD users must be able to login to the website.
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.
Incorrect Answers:
oauth2AllowImplicitFlow. oauth2AllowImplicitFlow specifies whether this web app can request OAuth2.0 implicit flow
access tokens. The default is false. This flag is used for browser-based apps, like Javascript single-page apps.
References:
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-fed-group-claims

 

QUESTION 5
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 on the review screen.
You are developing an Azure Service application that processes queue data when it receives a message from a mobile
application. Messages may not be sent to the service consistently.
You have the following requirements:
Queue size must not grow larger than 80 gigabytes (GB).
Use first-in-first-out (FIFO) ordering of messages.
Minimize Azure costs.
You need to implement the messaging solution.
Solution: Use the .Net API to add a message to an Azure Service Bus Queue from the mobile application. Create an
Azure Windows VM that is triggered from Azure Service Bus Queue.
Does the solution meet the goal?
A. Yes
B. No
Correct Answer: B
Don\\’t use a VM, instead create an Azure Function App that uses an Azure Service Bus Queue trigger.
Reference: https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-storage-queue-triggered-function

 

QUESTION 6
DRAG DROP
You need to support the message processing for the ocean transport workflow.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to
the answer area and arrange them in the correct order?
Select and Place:fulldumps az-204 exam questions q6

Correct Answer:

fulldumps az-204 exam questions q6-1

Step 1: Create an integration account in the Azure portal You can define custom metadata for artifacts in integration
accounts and get that metadata during runtime for your logic app to use. For example, you can provide metadata for
artifacts, such as partners, agreements, schemas, and maps – all store metadata using key-value pairs. Step 2: Link the
Logic App to the integration account A logic app that\\’s linked to the integration account and artifact metadata you want
to use. Step 3: Add partners, schemas, certificates, maps, and agreements Step 4: Create a custom connector for the
Logic App.


QUESTION 7
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:fulldumps az-204 exam questions q7

Correct Answer:

fulldumps az-204 exam questions q7-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 8
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.
Which of the following actions should you do?
A. In the Azure portal, create a Batch account
B. In Python, implement the class: JobAddParameter
C. In a .NET method, call the method: BatchClient.pool operations.create jobs
D. In Python, implement the class: TaskAddParameter
Correct Answer: C

 

QUESTION 9
DRAG DROP
You are developing a microservices solution. You plan to deploy the solution to a multimode Azure Kubernetes Service
(AKS) cluster.
You need to deploy a solution that includes the following features:
reverse proxy capabilities
configurable traffic routing
TLS termination with a custom certificate Which component should you use? To answer, drag the appropriate
components to the correct requirements. Each component 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:fulldumps az-204 exam questions q9

Correct Answer:

fulldumps az-204 exam questions q9-1

Box 1: Helm
To create the ingress controller, use the Helm to install Nginx-ingress.
Box 2: kubectl
To find the cluster IP address of a Kubernetes pod, use the kubectl get pod command on your local machine, with the
option -o wide.
Box 3: Ingress Controller
An ingress controller is a piece of software that provides reverse proxy, configurable traffic routing, and TLS termination
for Kubernetes services. Kubernetes ingress resources are used to configure the ingress rules and routes for individual
Kubernetes services.
Incorrect Answers:
Virtual Kubelet: Virtual Kubelet is an open-source Kubernetes kubelet implementation that masquerades as a kubelet.
This allows Kubernetes nodes to be backed by Virtual Kubelet providers such as serverless cloud container platforms.
CoreDNS: CoreDNS is a flexible, extensible DNS server that can serve as the Kubernetes cluster DNS. Like
Kubernetes, the CoreDNS project is hosted by the CNCF.
Reference:
https://docs.microsoft.com/bs-cyrl-ba/azure/aks/ingress-basic
https://www.digitalocean.com/community/tutorials/how-to-inspect-kubernetes-networking

 

QUESTION 10
You use Azure Table storage to store customer information for an application. The data contains customer details and is
partitioned by the last name.
You need to create a query that returns all customers with the last name Smith.
Which code segment should you use?
A. TableQuery.GenerateFilterCondition(“PartitionKey”, Equals, “Smith”)
B. TableQuery.GenerateFilterCondition(“LastName”, Equals, “Smith”)
C. TableQuery.GenerateFilterCondition(“PartitionKey”, QueryComparisons.Equal, “Smith”)
D. TableQuery.GenerateFilterCondition(“LastName”, QueryComparisons.Equal, “Smith”)
Correct Answer: C
Retrieve all entities in a partition. The following code example specifies a filter for entities where \\’Smith\\’ is the partition
key. This example prints the fields of each entity in the query results to the console. Construct the query operation for all
customer entities where PartitionKey=”Smith”.
TableQuery query = new TableQuery().Where(TableQuery.GenerateFilterCondition(“PartitionKey”,
QueryComparisons.Equal, “Smith”)); References: https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-howLatest to-use-dotnet

 

QUESTION 11
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:fulldumps az-204 exam questions q11

 

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 on 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 of an Azure Event Grid. Configure event filtering to evaluate the device identifier.
Does the solution meet the goal?
A. Yes
B. No
Correct Answer: B
Instead use an Azure Service Bus, which is used order processing and financial transactions.
Note: An event is a lightweight notification of a condition or a state change. Event hubs are usually used reacting to status
changes.
Reference:
https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services

Share lead4Pass Microsoft AZ-204 Discount codes for free 2020

lead4pass coupon 2020

Lead4Pass Reviews

Lead4Pass has about 10 years of exam experience! Helped many friends pass the Microsoft exam! Lead4pass Year-round Update Exam
guarantees up-to-date and effective! Highest pass rate! The highest price/performance ratio! Guarantee d’It’s the
first time you try to pass the exam!

about lead4pass

Microsoft AZ-204 Exam Tips Summary:

Fulldumps shares the latest Microsoft AZ-204 exam dumps, AZ-204 pdf, AZ-204 exam exercise questions for free.
You can improve your skills and exam experience online to get complete exam questions and answers guaranteed to pass the exam we recommend Lead4Pass AZ-204 exam dumps

Latest update Lead4pass AZ-204 exam dumps: https://www.lead4pass.com/az-204.html (149 Q&As)

[Q1-Q13 PDF] Free Microsoft AZ-204 pdf dumps download from Google Drive: https://drive.google.com/open?id=18_jHQrRfLVeDEqGcV4DHJ-JashRRatC0