How should you deploy App1.exe?

You deploy an Azure Web App named ContosoApp. ContosoApp runs on five instances.
You need to run an application named App1.exe automatically as a background process for ContosoApp. The
solution must ensure that App1.exe runs in one instance only.
How should you deploy App1.exe?

You deploy an Azure Web App named ContosoApp. ContosoApp runs on five instances.
You need to run an application named App1.exe automatically as a background process for ContosoApp. The
solution must ensure that App1.exe runs in one instance only.
How should you deploy App1.exe?

A.
as a continuous web job

B.
in a new worker role instance

C.
as a scheduled web job

D.
as a virtual application

Explanation:
https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-create-web-jobs#CreateScheduled



Leave a Reply 8

Your email address will not be published. Required fields are marked *


fracks

fracks

A continuously running WebJob will run on all of your instances. On-demand and scheduled WebJobs run on a single instance

Ricky

Ricky

If your web app runs on more than one instance, a continuously running WebJob will run on all of your instances. On-demand and scheduled WebJobs run on a single instance selected for load balancing by Microsoft Azure.
+
For Continuous WebJobs to run reliably and on all instances, enable the Always On* configuration setting for the web app otherwise they can stop running when the SCM host site has been idle for too long.

Starlin

Starlin

This question was in my exam today. The only difference was that instead of Scheduled WebJob was On-Demand WebJob.

Kluud

Kluud

Tnx Starlin!

mslover

mslover

So both Triggered (Scheduled/OnDemand) and Continuous jobs can run in a single instance.

https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-create-web-jobs#webjob-types

So it comes down to: “You need to run an application named App1.exe automatically as a background process”.

https://docs.microsoft.com/en-gb/azure/architecture/best-practices/background-jobs#hosting-environment

“WebJobs run within the context of your web app as a continuous process. WebJobs also run in response to a trigger event from Azure Scheduler or external factors.”

To me the correct answer will be A.

Gman

Gman

I agree with you Mslover. Continuous sounds better.

https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-create-web-jobs

Continuous:
“Starts immediately when the WebJob is created. To keep the job from ending, the program or script typically does its work inside an endless loop. If the job does end, you can restart it.
Runs on all instances that the web app runs on. You can optionally restrict the WebJob to a single instance.”

Lars SCH

Lars SCH

New 70-533 Exam Questions Updated Recently (17/Nov/2017):

NEW QUESTION 219
A company uses Azure to host virtual machines (VMs) and web apps. You plan to deploy a new web app in the Shared App Service tier. The web app must support running up to 25 instances concurrently. You need to ensure that you can configure HTTPS for the new web app. What should you do?

A. Configure the domain name mapping.
B. Set the deployment credentials for the app service.
C. Create a new app service.
D. Scale up to the Premium App Service tier.

Answer: A

NEW QUESTION 220
A company uses Azure to host virtual machines (VMs) and web apps. A line of business (LOB) application that runs on a VM uses encrypted storage. You need to ensure that the VMs support the LOB application. What should you do?

A. Run the Set-AzureRmVMDiskEncryptionExtension Azure PowerShell cmdlet.
B. Use a Premium Storage disk for the VM.
C. Run the Add-AzureRmVmssSecret Azure PowerShell cmdlet.
D. Scan the environment from the Azure Security Manager.

Answer: A

NEW QUESTION 221
A company has an existing on-premises Active Directory environment that is synchronized using DirSync. They plan to transition the DirSync deployment to Azure Active Directory (Azure AD) Connect. You need to identify a transition path for the company. What should you do?

A. Install a new on-premises domain controller.
B. Create a new Azure AD instance.
C. Upgrade the on-premises Active Directory Domain Service (AD DS) forest functional level to Windows Server 2016.
D. Deploy Azure AD Connect in parallel.

Answer: D

NEW QUESTION 222
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 sections, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You manage an Azure SQL Database. The database has weekly backups that are stored in an Azure Recovery Services vault. You need to maximize the time that previous backup versions are stored.
Solution: You configure a retention policy that is set to 20 years.
Does the solution meet the goal?

A. Yes
B. No

Answer: B
Explanation:
Store Azure SQL Database backups for up to 10 years. Many applications have regulatory, compliance, or other business purposes that require you to retain database backups beyond the 7-35 days provided by Azure SQL Database automatic backups. By using the long-term backup retention feature, you can store your SQL database backups in an Azure Recovery Services vault for up to 10 years.

NEW QUESTION 223
A company deploys Microsoft SQL Server on an Azure Standard_DS3 virtual machine (VM). You need to modify the disk caching policy. Which Azure PowerShell cmdlet should you run?

A. Set-AzureRmVmOperatingSystem
B. Set-AzureRmVmDataDisk
C. Update-Disk
D. Update-AzureDisk

Answer: B
Explanation:
The Set-AzureRmVMDataDisk cmdlet modifies properties of a virtual machine data disk.
Incorrect:
Not A: The Set-AzureRmVMOperatingSystem cmdlet sets operating system properties for a virtual machine. You can specify logon credentials, computer name, and operating system type.
Not C: The Update-Disk cmdlet updates cached information about the specified Disk object only.
Not D: The Update-AzureDisk cmdlet changes the label that is associated with a disk in the disk repository of the current Azure subscription.

NEW QUESTION 224
You create an Azure Recovery Services vault and download the backup agent installation file. You need to complete the installation of the backup agent. What should you do first?

A. Configure network throttling.
B. Set the storage replication option.
C. Download the vault credentials file.
D. Select the data to back up.

Answer: C
Explanation:
After you have created the vault, prepare your infrastructure to back up files and folders by downloading and installing the Microsoft Azure Recovery Services agent, downloading vault credentials, and then using those credentials to register the agent with the vault. You can install the agent after you have downloaded the vault credentials.
Note:
On the Prepare infrastructure blade, click Download.

NEW QUESTION 225
You plan to use Azure Monitor with AutoScale Services. You create a URI to be used with the monitoring service. You need to configure an alert that specifies the URI. Which Azure Command-Line Interface (CLI) command or Azure PowerShell cmdlet should you run?

A. New-AzureRmAlertRuleEmail
B. Azure insights logprofile add
C. New-AzureRmAlertRuleWebhook
D. New-AzureRmAutoscaleRule

Answer: C
Explanation:
The New-AzureRmAlertRuleWebhook cmdlet creates an alert rule webhook.
Incorrect:
Not A: The New-AzureRmAlertRuleEmail cmdlet creates an e-mail action for an alert rule.
Not B: The azure insights logprofile add command adds a log profile.
Not D: The New-AzureRmAutoscaleRule cmdlet creates an Autoscale rule.

NEW QUESTION 226
A company uses Azure to host virtual machines (VMs) and web apps. You need to ensure that you can configure a schedule to scale app services. How should you configure the app service?

A. Set the scale by metric setting to Queue.
B. Set the scale up by instances setting to 5.
C. Set the scale down by instances setting to 5.
D. Ensure that linked resources are also scaled.
E. Set the scale by metric setting to None.

Answer: A
Explanation:
The Automatic scale – Queue mode automatically scales if the number of messages in a queue goes above or below a specified threshold. Role instances are created or deleted when this happens.
Incorrect:
Not B, Not C: To set the scale up/scale down by instances setting you must first set the scale by metric setting to CPU.
Not D: Scale linked resources. Often when you scale a role, it’s beneficial to scale the database that the application is using also. If you link the database to the cloud service, you can access the scaling settings for that resource.

NEW QUESTION 227
You are an administrator of the Azure subscription for your company. You are updating an Azure Resource Manager (ARM) template. You need to ensure that the JSON file uses the latest version available. Which template element should you modify?

A. parameters
B. resources
C. $schema
D. variables

Answer: A

NEW QUESTION 228
You are the Azure administrator for your company. The company has developed a mobile application used to support sales people in the field. The application uses Azure Active Directory (Azure AD) accounts for authentication. The application sends and receives HTTP requests on publicly accessible endpoints. You need to provide the ability to authenticate the application using Azure. Which tool should you use?

A. OAuth 2.0 authorization code grant
B. Azure AD Connect
C. Azure Portal
D. Azure AD Graph API

Answer: A
Explanation:
Azure Active Directory (Azure AD) uses OAuth 2.0 to enable you to authorize access to web applications and web APIs in your Azure AD tenant.
Note:
The authorization code grant type is used to obtain both access tokens and refresh tokens and is optimized for confidential clients. Since this is a redirection-based flow, the client must be capable of interacting with the resource owner’s user-agent (typically a web browser) and capable of receiving incoming requests (via redirection) from the authorization server.

NEW QUESTION 229
……

P.S. These New 70-533 Exam Questions Were Just Updated From The Real 70-533 Exam, You Can Get The Newest 70-533 Dumps In PDF And VCE From — https://www.passleader.com/70-533.html (243q VCE and PDF)

Good Luck!