Microsoft
70-355 · Question #45
70-355 Question #45: Real Exam Question with Answer & Explanation
Sign in or unlock 70-355 to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.
Question
You are developing a Universal Windows Platform (UWP) app. The app has a custom class named Auditing that is used to track actions that users perform in the app. You implement auditing for many methods throughout the app. You need to configure the auditing process to meet the following requirements:
- You must use a custom attribute to disable auditing for specific methods during automated testing of the app.
- During the automated testing, you must redirect auditing output. You must use a custom attribute to disable auditing for specific methods during automated testing of the app. During the automated testing, you must redirect auditing output. What should you do?
Options
- ARefactor the Auditing class by using the Observer pattern.
- BCreate a new audit interface and implement two different versions of the Auditing class.
- CRefactor the Auditing class by using the Decorator pattern.
- DCreate a new audit interface and implement different versions of the Auditing class for every method that uses the Auditing class.
Unlock 70-355 to see the answer
You've previewed enough free 70-355 questions. Unlock 70-355 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.