Sitecore 10 .NET Developer Certification — Question 28

In a non-SXA website where you are using Sitecore MVC, you are working on the presentation for a website, starting with the layout. What two things are needed to successfully implement a layout? (Choose two.)

Answer options

Correct answer: A, B

Explanation

To successfully implement a layout in Sitecore MVC, you need a layout.cshtml file to define the structure of the layout and a layout definition item to link the layout to the Sitecore content items. The other options, while they may be useful in other contexts, are not strictly necessary for the basic implementation of a layout.