Download Developing Solutions for Microsoft Azure.dump4pass.AZ-204.2021-01-27.6e.82q.vcex

Download Exam

File Info

Exam Developing Solutions for Microsoft Azure
Number AZ-204
File Name Developing Solutions for Microsoft Azure.dump4pass.AZ-204.2021-01-27.6e.82q.vcex
Size 5.96 Mb
Posted January 27, 2021
Downloads 85
Download Developing Solutions for Microsoft Azure.dump4pass.AZ-204.2021-01-27.6e.82q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%



 
 



Demo Questions

Question 1

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. 

Correct Answer: Exam simulator is required

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 2

You are deploying an Azure Kubernetes Services (AKS) cluster that will use multiple containers. 
You need to create the cluster and verify that the services for the containers are configured correctly and available. 
Which four commands should you use to develop the solution? To answer, move the appropriate command segments from the list of command segments to the answer area and arrange them in the correct order. 

Correct Answer: Exam simulator is required

Step 1: az group create
Create a resource group with the az group create command. An Azure resource group is a logical group in which Azure resources are deployed and managed. 
Example: The following example creates a resource group named myAKSCluster in the eastus location.
az group create --name myAKSCluster --location eastus 
Step 2 : az aks create
Use the az aks create command to create an AKS cluster.  
Step 3: kubectl apply
To deploy your application, use the kubectl apply command. This command parses the manifest file and creates the defined Kubernetes objects. 
Step 4: az aks get-credentials
Configure it with the credentials for the new AKS cluster. Example: 
az aks get-credentials --name aks-cluster --resource-group aks-resource-group 
References:
https://docs.bitnami.com/azure/get-started-aks/




Question 3

You plan to create a Docker image that runs as ASP.NET Core application named ContosoApp. You have a setup script named setupScript.ps1 and a series of application files including ContosoApp.dll. 
You need to create a Dockerfile document that meets the following requirements:
Call setupScript.ps1 when the container is built. 
Run ContosoApp.dll when the container starts. 
The Dockerfile document must be created in the same folder where ContosoApp.dll and setupScript.ps1 are stored. 
Which four commands should you use to develop the solution? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order. 

Correct Answer: Exam simulator is required

Step 1: WORKDIR /apps/ContosoApp
Step 2: COPY ./-
The Docker document must be created in the same folder where ContosoApp.dll and setupScript.ps1 are stored. 
Step 3: EXPOSE ./ContosApp/ /app/ContosoApp
Step 4: CMD powershell ./setupScript.ps1
ENTRYPOINT ["dotnet", "ContosoApp.dll"] 
You need to create a Dockerfile document that meets the following requirements:
Call setupScript.ps1 when the container is built. 
Run ContosoApp.dll when the container starts. 
References:
https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-custom-docker-image




Question 4

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:

     

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. 

Correct Answer: Exam simulator is required

Step 1: az batch pool create
# Create a new Linux pool with a virtual machine configuration.  
az batch pool create \ 
--id mypool \ 
--vm-size Standard_A1 \ 
--target-dedicated 2 \ 
--image canonical:ubuntuserver: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 myjob \ 
--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 myjob \ 
--task-id task1 \ 
--command-line "/bin/bash -c 'printenv AZ_BATCH_TASK_WORKING_DIR'"  
Step 4: for i in  do
References:
https://docs.microsoft.com/bs-latn-ba/azure/batch/scripts/batch-cli-sample-run-job




Question 5

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. 

Correct Answer: Exam simulator is required

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 webapp create command. Don't forget to replace with a unique app name, and <docker-ID> with your Docker ID. 
References:
https://docs.microsoft.com/mt-mt/azure/app-service/containers/quickstart-docker-go?view=sql-server-ver15




Question 6

You are preparing to deploy an Azure virtual machine (VM)-based application. The VMs that run the application have the following requirements: 
When a VM is provisioned the firewall must be automatically configured before it can access Azure resources  
Supporting services must be installed by using an Azure PowerShell script that is stored in Azure Storage  You need to ensure that the requirements are met.  
Which features should you use? To answer, drag the appropriate features to the correct requirements. Each feature 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.

Correct Answer: Exam simulator is required

References:
https://docs.microsoft.com/en-us/azure/automation/automation-hybrid-runbook-worker
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/run-command




Question 7

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 a solution that will be deployed to an Azure Kubernetes Service (AKS) cluster. The solution will include a custom VNet, Azure Container Registry images, and an Azure Storage account. 
The solution must allow dynamic creation and management of all Azure resources within the AKS cluster. 
You need to configure an AKS cluster for use with the Azure APIs. 
Solution: Create an AKS cluster that supports network policy. Create and apply a network to allow traffic only from within a defined namespace. 
Does the solution meet the goal? 

  • A: Yes
  • B: No

Correct Answer: A

When you run modern, microservices-based applications in Kubernetes, you often want to control which components can communicate with each other. The principle of least privilege should be applied to how traffic can flow between pods in an Azure Kubernetes Service (AKS) cluster. Let's say you likely want to block traffic directly to back-end applications. The Network Policy feature in Kubernetes lets you define rules for ingress and egress traffic between pods in a cluster. 
References:
https://docs.microsoft.com/en-us/azure/aks/use-network-policies




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. 
What should you do? 
Put the actions in the correct order. 

Correct Answer: Exam simulator is required

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 9

You are creating a CLI script that creates an Azure web app and related services in Azure App Service. The web app uses the following variables:

     

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.

Correct Answer: Exam simulator is required

Box 1: az appservice plan create
The azure group creates command successfully returns JSON result. Now we can use resource group to create a azure app service plan 
Box 2: az webapp create
Create a new web app.. 
Box 3: --plan $webappname
..with the serviceplan 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 10

You are developing an Azure Web App. You configure TLS mutual authentication for the web app. 
You need to validate the client certificate in the web app. To answer, select the appropriate options in the answer area. 
NOTE: Each correct selection is worth one point.

Correct Answer: Exam simulator is required

Accessing the client certificate from App Service. 
If you are using ASP.NET and configure your app to use client certificate authentication, the certificate will be available through the HttpRequest.ClientCertificate property. For other application stacks, the client cert will be available in your app through a base64 encoded value in the "X-ARR-ClientCert" request header. Your application can create a certificate from this value and then use it for authentication and authorization purposes in your application. 
References:
https://docs.microsoft.com/en-us/azure/app-service/app-service-web-configure-tls-mutual-auth










CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files