Free Sitecore-10-NET-Developer sample questions
Real questions from the Sitecore 10 NET Developer practice bank, with the correct answer and an explanation for each one. No junk, no filler.
Try them in the simulator Same questions, with study, timed and flashcard modes.
Showing 10 of 20 free sample questions.
A developer is creating a set of templates for blog authors. They've created a base template called `_ContentBase` with fields for 'Title' and 'Summary'. They want to create a new template, `BlogPost`, which inherits from `_ContentBase`. To improve the authoring experience, whenever a new `BlogPost` item is created, the 'Title' field should be pre-populated with the name of the item. How should this be accomplished using Sitecore best practices?
A developer needs to retrieve all child items of the `/sitecore/content/Home` item that are based on the 'ProductPage' template. For performance reasons, the query should avoid returning all children and then filtering in memory. Which Sitecore API code snippet performs this query most efficiently?
A website's search functionality is returning inaccurate results for product specifications stored in a 'Rich Text' field. The field contains HTML markup, and searches for terms inside tags (e.g., 'strong') are matching, which is undesirable. To fix this, the search index needs to store a plain-text version of the content. What is the most appropriate way to configure this in Sitecore's content search?
A developer has created a Controller Rendering for a 'Call to Action' component. The component needs a data source item to provide the button text and link. To ensure content authors can easily select a valid data source, the developer wants to restrict the selection to items based on the 'CallToActionData' template, located under `/sitecore/content/Global/CTAs`. Which field on the rendering item should be configured to enable this?
A marketing team wants to display a promotional banner to visitors who arrive at the website from a specific marketing campaign. The campaign is tagged with the UTM code `utm_campaign=summer_sale`. Using the Rule Set Editor, which condition should be used to identify these visitors?
True or False: In a standard Sitecore 10 installation, patch files located in the `App_Config/Include/Project` folder will always be loaded before files in the `App_Config/Include/Feature` folder.
A developer is using the Sitecore CLI to serialize content items for source control. After running `dotnet sitecore ser pull`, they notice that a newly created template is not being serialized. The `module.json` file contains the following rule for templates: ```json { "namespace": "MyProject.Templates", "path": "/sitecore/templates/Project/MyProject", "scope": "ItemAndDescendants", "allowedPushOperations": "CreateUpdateAndDelete" } ``` The new template was created at `/sitecore/templates/Feature/MyFeature`. What is the reason for this issue?
During a Sitecore installation using a Docker container environment for local development, a developer is unable to access the Identity Server login page, receiving a 500 error. Reviewing the Identity Server container logs, they find an error stating 'The client application is not known or is not authorized'. Which file is most likely misconfigured, causing this authentication issue between the CM instance and the Identity Server?
A developer needs to render a 'General Link' field named 'CTA Link' from the current item within a CSHTML view. The goal is to render the full ` ` tag with all attributes (href, title, target, class) as configured by the content author. Which Razor syntax should be used to achieve this?
10 more free samples are waiting
Create a free account to unlock the whole Sitecore-10-NET-Developer sample bank, or get full access to all 223 practice questions in the simulator.