Does this meet the goal?

Posted by: Pdfprep Category: AZ-104 Tags: , ,

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 have an Azure web app named App1. App1 runs in an Azure App Service plan named Plan1.

Plan1 is associated to the Free pricing tier.

You discover that App1 stops each day after running continuously for 60 minutes.

You need to ensure that App1 can run continuously for the entire day.

Solution: You add a continuous WebJob to App1.

Does this meet the goal?
A . Yes
B . No

Answer: B

Explanation:

A web app can time out after 20 minutes of inactivity. Only requests to the actual web app reset the timer. Viewing the app’s configuration in the Azure portal or making requests to the advanced tools site (https://<app_name>.scm.azurewebsites.net) don’t reset the timer. If your app runs continuous or scheduled (Timer trigger) WebJobs, enable Always On to ensure that the WebJobs run reliably. This feature is available only in the Basic, Standard, and Premium pricing tiers.

The app service plan mentioned in the question is associated to the free tier , so addition of a continuous WebJob to App1 is not possible. So the proposed solution won’t meet the goal.

Reference: https://docs.microsoft.com/en-us/azure/app-service/webjobs-create

Leave a Reply

Your email address will not be published.