exam questions

Exam 70-764 All Questions

View all questions & answers for the 70-764 exam

Exam 70-764 topic 1 question 70 discussion

Actual exam question from Microsoft's 70-764
Question #: 70
Topic #: 1
[All 70-764 Questions]

You administer a Microsoft SQL Server 2016 instance that has several SQL Server Agent jobs configured.
SQL Server Agent jobs fail, the error messages returned by the job steps are truncated.
The following error message is an example of the truncated error message:
"Executed as user CONTOSO\ServiceAccount. ...0.4035.00 for 64-bit Copyright (C) Microsoft Corp 1984-2011. All rights reserved. Started 63513 PM Error 2012-06-23 183536.87 Code 0XC001000E Source UserImport Description Code 0x00000000
Source Log Import Activity Descript... The package execution fa... The step failed."
You need to ensure that all the details of the job step failures are retained for SQL Server Agent jobs.
What should you do?

  • A. Expand agent logging to include information from all events.
  • B. Disable the Limit size of job history log feature.
  • C. Configure event forwarding.
  • D. Configure output files.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
When you have a multiple-step job, then log all steps against a single file. Check the 'Append output to existing file' checkbox for all steps in the job that execute after the initial step. This results in a log file with all of the job steps from the last job execution. Each time the first step executes (each time the job is kicked-off) the file will be overwritten, so we have a record of the last set of output.
References: https://www.mssqltips.com/sqlservertip/1411/verbose-sql-server-agent-logging/

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
MelKr
5 years ago
I would choose to select "Include step output in history" which sounds more like A
upvoted 1 times
...
TheSwedishGuy
5 years, 4 months ago
Jobstep 2 and above can write to the output file used by jobstep 1 if you check a simple checkbox in the second jobstep's advanced tab in SSMS.
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 ...