exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 3 question 13 discussion

Actual exam question from Microsoft's AZ-300
Question #: 13
Topic #: 3
[All AZ-300 Questions]

HOTSPOT -
You have a task that includes a WebJob that should run continuously. The WebJob Log exhibit shows the text that is displayed when the WebJob runs. (Click the WebJob Log tab.)

The WebJob is configured as shown in the WebJob Configuration exhibit. (Click the WebJob Configuration tab.)

The WebJob is not functioning as expected. The WebJob Code exhibit has a comment that shows where code should be added. (Click the WebJob Code tab.)

You need to identify any issues with the WebJob. 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:

Show Suggested Answer Hide Answer
Suggested Answer: Explanation

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ekramy_Elnaggar
Highly Voted 5 years, 4 months ago
- The WebJob will run continuously as the code is written : No - The text WebJob setup starting will output to the WebJob logs : No - The timer-elapsed code will be invoked and run at least once: Yes - The WebJob settings are properly configured in the Azure portal: Yes
upvoted 57 times
bootyholeman
5 years, 3 months ago
No - no while(true) ? No - the program will exit before the timer even executed once. Timers are background threads Yes -
upvoted 3 times
...
uhclstud
4 years, 9 months ago
The timer interval is set properly. So why it doesn't run continuously?
upvoted 2 times
cttay71
4 years, 7 months ago
like what bootyholeman mentioned, there is "no while" loop in main(). After console.writeline(webjobstarted), we can put console.readline or while loop to prevent the main thread from exiting.
upvoted 2 times
...
...
Madhu1
4 years, 7 months ago
Options below, https://vceguide.com/wp-content/uploads/2019/10/Microsoft-AZ-300-date-01-06-2019-00001_Page_301_Image_0001.jpg
upvoted 2 times
...
pingpongset
2 years, 7 months ago
Why is this NO? - The text WebJob setup starting will output to the WebJob logs : No
upvoted 1 times
...
...
manhattan
Highly Voted 5 years ago
should be NO NO YES YES look at https://vceguide.com/when-the-webjob-runs-click-the-webjob-log-tab/
upvoted 8 times
...
GangYi
Most Recent 4 years, 7 months ago
Shouldnt it be NO NO NO YES. On third question "The timer-elapsed code will be invoked and run at least once" there is no output logs seem on the question. hence it didnt run.
upvoted 2 times
...
BOC
4 years, 7 months ago
No No Yes Yes
upvoted 1 times
...
Marang73
4 years, 7 months ago
The WebJob will run continuously as the code is written : No - The text WebJob setup starting will output to the WebJob logs : No - The timer-elapsed code will be invoked and run at least once: No Timer code will be executed after 10 seconds but the web job has already stopped. See also the print screen of the log. There is no output of the timer event handler. - The WebJob settings are properly configured in the Azure portal: Yes
upvoted 1 times
...
Sandips
4 years, 8 months ago
Where is the full questions? I dont see it
upvoted 5 times
...
300taker
4 years, 8 months ago
Why " The text WebJob setup starting will output to the WebJob logs" is marked as 'No'. It is not talking about Console logs
upvoted 4 times
...
azureexam
4 years, 9 months ago
why i dint see the 4 options ? The WebJob will run continuously as the code is written : No - The text WebJob setup starting will output to the WebJob logs : No - The timer-elapsed code will be invoked and run at least once: Yes - The WebJob settings are properly configured in the Azure portal: Yes
upvoted 1 times
...
Test_Taker
4 years, 9 months ago
I'm going to say: No, No, No, Yes The timer-elapsed will not run because .Start() was never called. We basically just instantiated the Timer, set some properties, but never did anything with it.
upvoted 2 times
jw_duke
4 years, 8 months ago
check the doc. "You can also start timing by setting property "Enabled" to true." https://docs.microsoft.com/en-us/dotnet/api/system.timers.timer.start?view=netcore-3.1
upvoted 2 times
...
...
odr_rob
4 years, 10 months ago
https://vceguide.com/when-the-webjob-runs-click-the-webjob-log-tab/
upvoted 4 times
...
Prash85
4 years, 11 months ago
NO NO YES YES
upvoted 2 times
...
ruiz
5 years ago
NO,NO,NO,Yes
upvoted 3 times
ruiz
5 years ago
because the process will stop immediately
upvoted 2 times
...
...
Oat
5 years, 5 months ago
NO NO YES YES
upvoted 4 times
...
Oat
5 years, 5 months ago
Which is correct ?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago