Download Developing Solutions for Microsoft Azure.AZ-203.SelfTestEngine.2019-07-04.49q.vcex

Vendor: Microsoft
Exam Code: AZ-203
Exam Name: Developing Solutions for Microsoft Azure
Date: Jul 04, 2019
File Size: 4 MB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

Question 1
You need to resolve a notification latency issue.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
  1. Set Always On to false.
  2. Set Always On to true.
  3. Ensure that the Azure Function is set to use a consumption plan.
  4. Ensure that the Azure Function is using an App Service plan.
Correct answer: BD
Explanation:
Azure Functions can run on either a Consumption Plan or a dedicated App Service Plan. If you run in a dedicated mode, you need to turn on the Always On setting for your Function App to run properly. The Function runtime will go idle after a few minutes of inactivity, so only HTTP triggers will actually "wake up" your functions. This is similar to how WebJobs must have Always On enabled. Scenario: Notification latency: Users report that anomaly detection emails can sometimes arrive several minutes after an anomaly is detected.Anomaly detection service: You have an anomaly detection service that analyzes log information for anomalies. It is implemented as an Azure Machine Learning model. The model is deployed as a web service.If an anomaly is detected, an Azure Function that emails administrators is called by using an HTTP WebHook. References:https://github.com/Azure/Azure-Functions/wiki/Enable-Always-On-when-running-on-dedicated-App-Service-Plan
Azure Functions can run on either a Consumption Plan or a dedicated App Service Plan. If you run in a dedicated mode, you need to turn on the Always On setting for your Function App to run properly. The Function runtime will go idle after a few minutes of inactivity, so only HTTP triggers will actually "wake up" your functions. This is similar to how WebJobs must have Always On enabled. 
Scenario: Notification latency: Users report that anomaly detection emails can sometimes arrive several minutes after an anomaly is detected.
Anomaly detection service: You have an anomaly detection service that analyzes log information for anomalies. It is implemented as an Azure Machine Learning model. The model is deployed as a web service.
If an anomaly is detected, an Azure Function that emails administrators is called by using an HTTP WebHook. 
References:
https://github.com/Azure/Azure-Functions/wiki/Enable-Always-On-when-running-on-dedicated-App-Service-Plan
Question 2
You are writing code to create and run an Azure Batch job. 
You have created a pool of compute nodes. 
You need to choose the right class and its method to submit a batch job to the Batch service. 
Which method should you use?
  1. JobOperations.EnableJobAsync(String, IEnumerable<BatchClientBehavior>,CancellationToken)
  2. JobOperations.CreateJob()
  3. CloudJob.Enable(IEnumerable<BatchClientBehavior>)
  4. JobOperations.EnableJob(String,IEnumerable<BatchClientBehavior>)
  5. CloudJob.CommitAsync(IEnumerable<BatchClientBehavior>, CancellationToken)
Correct answer: E
Explanation:
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 the BatchClient.JobOperations.CreateJob method to create a job on your pool. The Commit method submits the job to the Batch service. Initially the job has no tasks. {     CloudJob job = batchClient.JobOperations.CreateJob();     job.Id = JobId;     job.PoolInformation = new PoolInformation { PoolId = PoolId };     job.Commit(); } ... References:https://docs.microsoft.com/en-us/azure/batch/quick-run-dotnet
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 the BatchClient.JobOperations.CreateJob method to create a job on your pool. 
The Commit method submits the job to the Batch service. Initially the job has no tasks. 
    CloudJob job = batchClient.JobOperations.CreateJob(); 
    job.Id = JobId; 
    job.PoolInformation = new PoolInformation { PoolId = PoolId }; 
    job.Commit(); 
... 
References:
https://docs.microsoft.com/en-us/azure/batch/quick-run-dotnet
Question 3
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?
  1. In the Azure portal, add a Job to a Batch account.
  2. In a .NET method, call the method: BatchClient.PoolOperations.CreateJob
  3. In Python, implement the class: JobAddParameter
  4. In Azure CLI, run the command: az batch pool create
Correct answer: B
Explanation:
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 the 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
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 the 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
Question 4
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?
  1. In the Azure portal, create a Batch account.
  2. In a .NET method, call the method: BatchClient.PoolOperations.CreatePool
  3. In Python, implement the class: JobAddParameter
  4. In Python, implement the class: TaskAddParameter
Correct answer: B
Explanation:
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 the BatchClient.JobOperations.CreateJob method to create a job on your pool. Incorrect Answers:C, D: 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-dotnethttps://docs.microsoft.com/en-us/azure/batch/quick-run-python
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 the BatchClient.JobOperations.CreateJob method to create a job on your pool. 
Incorrect Answers:
C, D: 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
https://docs.microsoft.com/en-us/azure/batch/quick-run-python
Question 5
You need to implement the e-commerce checkout API. 
Which three actions should you perform? Each correct answer presents part of the solution. 
NOTE: Each correct selection is worth one point.
  1. Set the function template’s Mode property to Webhook and the Webhook type property to Generic JSON.
  2. Create an Azure Function using the HTTP POST function template.
  3. In the Azure Function App, enable Cross-Origin Resource Sharing (CORS) with all origins permitted.
  4. In the Azure Function App, enable Managed Service Identity (MSI).
  5. Set the function template’s Mode property to Webhook and the Webhook type property to GitHub.
  6. Create an Azure Function using the Generic webhook function template.
Correct answer: ABD
Explanation:
Scenario: E-commerce application sign-ins must be secured by using Azure App Service authentication and Azure Active Directory (AAD).D: A managed identity from Azure Active Directory allows your app to easily access other AAD-protected resources such as Azure Key Vault. Incorrect Answers:C: CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain.References:https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity
Scenario: E-commerce application sign-ins must be secured by using Azure App Service authentication and Azure Active Directory (AAD).
D: A managed identity from Azure Active Directory allows your app to easily access other AAD-protected resources such as Azure Key Vault. 
Incorrect Answers:
C: CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain.
References:
https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity
Question 6
You need to provision and deploy the order workflow.
Which three components should you include? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
  1. Connections
  2. On-premises Data Gateway
  3. Workflow definition
  4. Resources
  5. Functions
Correct answer: BCE
Explanation:
Scenario: The order workflow fails to run upon initial deployment to Azure.   
Scenario: The order workflow fails to run upon initial deployment to Azure.
  
Question 7
You develop a serverless application using several Azure Functions. These functions connect to data from within the code. 
You want to configure tracing for an Azure Function App project. 
You need to change configuration settings in the host.json file. 
Which tool should you use?
  1. Visual Studio
  2. Azure portal
  3. Azure PowerShell
  4. Azure Functions Core Tools (Azure CLI)
Correct answer: B
Explanation:
The function editor built into the Azure portal lets you update the function.json file and the code file for a function. The host.json file, which contains some runtime-specific configurations, is in the root folder of the function app.     References:https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference#fileupdate
The function editor built into the Azure portal lets you update the function.json file and the code file for a function. The host.json file, which contains some runtime-specific configurations, is in the root folder of the function app. 
  
References:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference#fileupdate
Question 8
You are developing a mobile instant messaging app for a company. 
The mobile app must meet the following requirements:
  • Support offline data sync. 
  • Update the latest messages during normal sync cycles. 
You need to implement Offline Data Sync. 
Which two actions should you perform? Each correct answer presents part of the solution. 
NOTE: Each correct selection is worth one point.
  1. Retrieve records from Offline Data Sync on every call to the PullAsync method.
  2. Retrieve records from Offline Data Sync using an Incremental Sync.
  3. Push records to Offline Data Sync using an Incremental Sync.
  4. Return the updatedAt column from the Mobile Service Backend and implement sorting by using the column.
  5. Return the updatedAt column from the Mobile Service Backend and implement sorting by the message id.
Correct answer: BE
Explanation:
B: Incremental Sync: the first parameter to the pull operation is a query name that is used only on the client. If you use a non-null query name, the Azure Mobile SDK performs an incremental sync. Each time a pull operation returns a set of results, the latest updatedAt timestamp from that result set is stored in the SDK local system tables. Subsequent pull operations retrieve only records after that timestamp.E (not D): To use incremental sync, your server must return meaningful updatedAt values and must also support sorting by this field. However, since the SDK adds its own sort on the updatedAt field, you cannot use a pull query that has its own orderBy clause.References:https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-offline-data-sync
B: Incremental Sync: the first parameter to the pull operation is a query name that is used only on the client. If you use a non-null query name, the Azure Mobile SDK performs an incremental sync. Each time a pull operation returns a set of results, the latest updatedAt timestamp from that result set is stored in the SDK local system tables. Subsequent pull operations retrieve only records after that timestamp.
E (not D): To use incremental sync, your server must return meaningful updatedAt values and must also support sorting by this field. However, since the SDK adds its own sort on the updatedAt field, you cannot use a pull query that has its own orderBy clause.
References:
https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-offline-data-sync
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.
  1. HTTP headers
  2. environment variables
  3. /.auth/me HTTP endpoint
  4. /.auth/login endpoint
Correct answer: AC
Explanation:
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-aadhttps://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/connect-to-api-secured-with-aad
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
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?
  1.   
  2.   
  3.   
  4.   
Correct answer: B
Explanation:
# 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
# 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
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!