70-573 · Question #89
You need to disable the CriticalExceptionCount measure for all sandboxed solutions. You write the following code segment. (Line numbers are included for reference only.) 01 SPUserCodeService…
The correct answer is D. measure.ResourcesPerPoint = 0. MNEMONIC RULE: Zero ResourcesPerPoint For example, AbnormalProcessTerminationCount has a ResourcesPerPoint value of 1. Every time asandboxed solution terminates abnormally, 1 point is added. If you want to increase the penalty for asandboxed solution that terminates, you can…
Question
You need to disable the CriticalExceptionCount measure for all sandboxed solutions. You write the following code segment. (Line numbers are included for reference only.) 01 SPUserCodeService userCode = SPUserCodeSecvi.ee. Local; 02 SPResourceHeasureCollection measures = userCode.ResourceHeasures ; 03 SPResourceHeasure measure = measures [" CriticalExc eptionCounc "] ; 04 05 measure.Update (); Which code segment should you add at line 04?
Options
- Ameasure.ResourcesPerPoint = 1;
- Bmeasure. AfosoluteLimit. = 0;
- Cmeasure.AbsoluteLimit = 1;
- Dmeasure.ResourcesPerPoint = 0;
How the community answered
(43 responses)- A7% (3)
- B2% (1)
- C12% (5)
- D79% (34)
Explanation
MNEMONIC RULE: Zero ResourcesPerPoint For example, AbnormalProcessTerminationCount has a ResourcesPerPoint value of 1. Every time asandboxed solution terminates abnormally, 1 point is added. If you want to increase the penalty for asandboxed solution that terminates, you can set ResourcesPerPoint to another value, such as 2. You can use0 if you are not concerned about this metric. SharePoint 2010 Sandboxed Solutions-Resource Quotas
Topics
Community Discussion
No community discussion yet for this question.