Microsoft
70-576 · Question #128
70-576 Question #128: Real Exam Question with Answer & Explanation
Sign in or unlock 70-576 to reveal the answer and full explanation for question #128. The question stem and answer options stay visible for context.
Question
You are designing a SharePoint 2010 solution that includes a custom site definition and a custom master page. The solution has the following three features: - A hidden site-scoped feature named X that adds the custom master page to the Master Page gallery. - A Web-scoped feature named Y with a feature receiver that sets the master page of the Web to the master page from feature X. - A Web-scoped feature named Z with a feature receiver that populates the default.aspx file with sample content. Any Web site that is created based on the solution's custom site definition must have the master page and the sample content applied to it automatically. Your design must ensure that features X, Y, and Z can be activated in the proper order. Which approach should you recommend?
Options
- AInclude features X, Y, and Z in that order in the onet.xml file for the site definition.
- BInclude a user control in the custom master page to activate feature Z the first time the page is
- CSet feature dependencies so that feature X is dependent upon feature Y and feature Y is
- DSet feature dependencies so that feature Y is dependent upon feature Z, and then use feature
Unlock 70-576 to see the answer
You've previewed enough free 70-576 questions. Unlock 70-576 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.