





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A comprehensive set of questions and answers related to sitecore xp certification. It covers key components, developer responsibilities, sitecore interfaces, and fundamental concepts such as items, data templates, and presentation details. The guide also delves into advanced topics like dynamic bonding, sitecore controls, and security, offering valuable insights for developers and sitecore professionals preparing for certification exams. It serves as a practical resource for understanding sitecore's architecture and best practices, enhancing proficiency in sitecore development and administration.
Typology: Exams
1 / 29
This page cannot be seen from the preview
Don't miss anything!






















Name two key components that make up Sitecore XP. - correct answer ✔✔Experience CMS and marketing platform What should you do before contacting support? - correct answer ✔✔Refer to Help Desk best practices What are your responsibilities as a developer? - correct answer ✔✔Build according to recommended practices Name three Sitecore interfaces - correct answer ✔✔Desktop, Content Editor, Experience Editor Everything in Sitecore is an... - correct answer ✔✔Item An item is not a... - correct answer ✔✔File An item's URL is determined by... - correct answer ✔✔It's position in the Content tree Name the process by which items are synchronized between the master and web database - correct answer ✔✔Publishing Which Experience Editor mode would you use to add a new component? - correct answer ✔✔Designing Mode Which Experience Editor mode would you use to add an image or edit text? - correct answer ✔✔Editing mode When a request comes in, Sitecore... - correct answer ✔✔maps URL to an item in the content tree and dynamically assembles presentation
Name the three databases that are installed by default. - correct answer ✔✔master, web, and core Name some foundation features that Sitecore provides out of the box. - correct answer ✔✔Content versioning, multi-language support, Devices (adaptive design) support What is the name of the digital marketing management part of the Experience Platform that collects and aggregates contact information? - correct answer ✔✔xDB (or Experience Database) An item's type is determined by the __________ used to create it. - correct answer ✔✔Data template What is an item composed of? - correct answer ✔✔Field sections and fields What do you need to specify when creating a new field? - correct answer ✔✔Field name and type In the Content Editor, where can you find out which data template an item is based on? - correct answer ✔✔The Quick Info section on that item Some examples of field types are... - correct answer ✔✔Single-line text, rich text, image, date In which scenario would you use data template inheritance? - correct answer ✔✔When fields are repeated in multiple data templates Why is it important to think of your data template creation and inheritance structure from the beginning? - correct answer ✔✔Refactoring template inheritance may cause data loss
Where should Insert Options be configured? - correct answer ✔✔On the data template's standard values which can be overridden at item level Why is it a good idea to configure Insert Options on standard values? - correct answer ✔✔All items using that data template will have the same Insert Options. What are presentation details? - correct answer ✔✔Configuration that determines what an item looks like when requested by the browser Describe how Sitecore resolves a page in comparison to a static HTML site. - correct answer ✔✔Normally, a URL points to an HTML file. In Sitecore, a request maps to an item and the page is dynamically assembled from smaller pieces. What is the name of the main Sitecore .dll? - correct answer ✔✔Sitecore.Kernel.dll What happens if you do not set Copy Local to False for your Sitecore.Kernel reference? - correct answer ✔✔Some dll's in bin folder will be deleted and you will need to get the full set from another installation to continue working. In a Sitecore context, what is the name given to an .aspx file? - correct answer ✔✔A Layout How is a Layout definition item connected to a Layout file? - correct answer ✔✔The Path field on the Layout definition item points to the location of the .aspx file. How do you configure an item's presentation details in Sitecore Rocks? - correct answer ✔✔Right-click->Tasks->Design Layout or CTRL+U. You can also use Command How many Layouts can you assign to a single item? - correct answer ✔✔One -- Per Device
Name three different types of Sitecore components - correct answer ✔✔Sublayout, XSLT rendering, web control What type of file is a Sitecore Sublayout - correct answer ✔✔.ascx A component consists of a file on the file system and... - correct answer ✔✔A definition item in Sitecore How does a component definition item know where to find the associated file? - correct answer ✔✔By a Path field on the definition item What are the benefits of dynamic bonding? - correct answer ✔✔-New page types can be assembled from existing components -Changes to page structure a developer -Supports content re-use -Supports Sitecore's personalization and testing features What is the Sitecore control that allows you to dynamically bind components to a page? - correct answer ✔✔sc:Placeholder What is the Sitecore control to statically include Sublayouts on a page? - correct answer ✔✔cs:Sublayout Describe the process by which a component is bound to a placeholder. - correct answer ✔✔Open presentation details->Add Rendering->select rendering->Edit Placeholder Key property Name the property that you must set on a placeholder to identify it. - correct answer ✔✔Key If all items of a particular type require a particular component, where should these presentation details be configured? - correct answer ✔✔On the standard values of the data template
What does the Sitecore.Context.Item.Database property return in the context of a live website visitor? - correct answer ✔✔Web How should you compare two items in code? - correct answer ✔✔Using their IDs What method do you use to retrieve an item's URL? - correct answer ✔✔LinkManager.GetItemUrl() Why should you not use GetDynamicUrl() for your site's front end? - correct answer ✔✔Unreadable 'developer' URL, uses IDs What object can you pass into the GetItemUrl() method to customize the way your item's URL is rendered? - correct answer ✔✔A UrlOptions object Where can you customize how URLs are rendered globally? - correct answer ✔✔In the LinkManager section of the web.config Sitecore security is an extension of... - correct answer ✔✔Standard .NET membership All code is executed in the context of.... - correct answer ✔✔The current user What affects whether or not a piece of code will run? - correct answer ✔✔The user's permissions What permissions does extranet\anonymously lack by default? - correct answer ✔✔Permission to create or edit items When creating or editing an item, the code must be executed with the appropriate security rights. Name two ways that this can be done. - correct answer ✔✔UserSwitcher or SecurityDisabler How do you put an item into an editing state? - correct answer ✔✔Creating an EditContext
Why should you create / edit items in the master rather than the web database? - correct answer ✔✔Web overwritten by publish Why is it a bad idea to output a field's value straight to the screen? - correct answer ✔✔Not editable in Experience Editor and complex fields contain custom XML Which field types are suitable for editing using the .Value property? - correct answer ✔✔Simple text fields. For example, single-line text fields Why should you use FieldRenderer.Render()? - correct answer ✔✔-Transforms field content into valid HTML - Sitecore controls ultimately go through this method -Automatically makes fields editable in Experience Editor -Allows you to pass in parameters that match the ones available in Sitecore controls
What can you do with methods that could be used across multiple Sitecore projects?
How do you access the Layout Details window for each items? - correct answer ✔✔In Content Editor or Experience Editor, click the Details command. In Sitecore Rocks choose Tasks->Design Layout What is the difference between the Shared Layout tabs versus the Final Layout tab of the Layout Details window? - correct answer ✔✔The Shared Layout tab is for defining presentation details for all versions of an item while the Final Layout tab focuses on the presentation detail of that specific version of the item. What will .return? - correct answer ✔✔Context item Name two axes available in Sitecore query: - correct answer ✔✔ancestor-or-self::, parent:: Why shouldn't you query the entire content tree? - correct answer ✔✔Expensive - particularly if you are iterating through all descendants Unless you are doing a very simple query on a very limited area of your Sitecore tree, what should you use instead? - correct answer ✔✔Sitecore Search How does Sitecore suport each of the CMS pillars: Data Definition, Content, and presentation? - correct answer ✔✔Data definition: data templates, Content: items, Presentation: layouts and components Describe some xWeb Content Management System features that separate Sitecore from other systems - correct answer ✔✔AIDA: Analytics, Insights, Decisions, Automation.(Also accept: goal tracking, testing, reporting, personalization) What is Site core's easy-to-use authoring tool and what functionality does it provide? - correct answer ✔✔The Experience Editor provides editing and designing functionality. (Also accept: marketing) Which interface would an author use to see and edit items in a tree structure? - correct answer ✔✔Content Editor
When do tokens get replaced? - correct answer ✔✔Only when items are created. Why would you need to run a full republish? - correct answer ✔✔Theoretically, you should not need to do this as a user. If you set up some publishing restrictions, will Sitecore automatically publish that content at that exact time? - correct answer ✔✔No. The publishing restrictions only dictates when an item or its versions are publishable or not. What is the difference between the Master and Web database? - correct answer ✔✔In terms of schema, there is no difference. The difference is more conceptual, in that, content for the live website is read from the Web database and content that is work-in-progress should be edited in the Master database. Should a user work directly in the Web database if they need something to go live immediately? - correct answer ✔✔A user should never work directly in the Web database. In fact, they should not even be able to access the Web database in the authoring tools. Why would I want to use the data source in a component? - correct answer ✔✔The data source allows you to build more flexible and re-usable components because the data source is determined by users and not hardcoded by developers. Can we have placeholders inside of placeholders? - correct answer ✔✔Not directly. However, you can have components inside a placeholder that in turn define other placeholders. This is referred to as nested placeholders. Why is it a good idea to avoid using Rich Text fields as much as possible? - correct answer ✔✔One of the benefits of using Sitecore is the separation of content and presentation. The Rich text field is the only exception to this, as it stores HTML content directly. If abused and not configured properly, it may give users the ability to break the design of the site. What do you need to do to allow users to add and remove components from a placeholder using the Experience Editor? - correct answer ✔✔Create a Placeholder Settings item for that placeholder.
What happens when you request a page that has no layout defined in the presentation details? - correct answer ✔✔Sitecore shows a Layout not found error page. Why do you define Presentation Details on Standard Values if the Standard Values item is never going to be mapped to the requested URL? - correct answer ✔✔You want to define those Presentation Details as a default for all items based on that template. This will allow items to have valid presentation details already set when they are created. Can you edit an item in the Experience Editor when the item has no presentation details set? - correct answer ✔✔No, since it cannot be presented. Which fields are editable inline using the Experience Editor? - correct answer ✔✔Text fields (Single-Line, Multi-Line, Rich Text), Date/datetime, Image, General Link. Give an example of when you would use the DisableWebEdit parameter when rendering a field. - correct answer ✔✔Rendering a field inside the tag in the <head> of the HTML. How does Sitecore define a type of item (data schema)? - correct answer ✔✔Using data templates What is the name of the feature that makes WCM possible in Sitecore? - correct answer ✔✔Experience Management ( xManagement) What do you need in addition to the Experience Management to take full advantage of the Sitecore Experience Platform? - correct answer ✔✔You need the Experience Database to take full advantage of the available features. It supports the Analytics and Marketing features. Are all items pages in a Sitecore project? - correct answer ✔✔No, items that are pages have their presentation details set.
What are some of the features of Sitecore Rocks? - correct answer ✔✔Integration with Visual Studio. Creating and editing items, management tools, viewing website file system To provide a rich user experience, what are some recommended practices you should use when you create templates? - correct answer ✔✔Provide default values, use user friendly names and icons, limit the use of Rich Text Editors. Where are default field values defined? - correct answer ✔✔On the Template Standard Values item Why is storing media in the Sitecore database an advantage? - correct answer ✔✔It makes publishing easier because the item and the media are both published so you do not have to keep files in sync. What item setting needs to be specified for authors to be able to add content? - correct answer ✔✔Insert options What is the recommended practice for setting insert options? - correct answer ✔✔Insert options are set on the Template Standard Values item Describe the anatomy of a Sitecore Layout? - correct answer ✔✔A code file on the file system and definition item in the content tree How is the layout file linked to the definition item? - correct answer ✔✔By the Path field on the definition item. How do you display the contents of a field in code? - correct answer ✔✔@Html.Sitecore().Field("") What can you use to translate fields and Help texts in the Sitecore Client? - correct answer ✔✔Sitecore Dictionary entries Which type of component would you create if you wanted to closely follow MVC patterns or invoke complex logic? - correct answer ✔✔Controller Rendering
True or False: The view should contain all the business logic. - correct answer ✔✔False What happens if allowed controls are not specified on a placeholder settings item? - correct answer ✔✔In the Experience Editor, the user will be able to add any component to the placeholder. How do you make Sitecore recognize of a controller rendering? - correct answer ✔✔Create a component definition item and set the controller and controller action. Additionally, you can also set an Area. You want to ensure header and footer are always visible on your Main layout. Will you statically or dynamically bind it? - correct answer ✔✔Statically bind it when you need it to always appear on a layout or rendering. What is the difference between the Renderings and Final Renderings fields? - correct answer ✔✔The Rendering field is shared between all item versions and is used for global changes; The Final Renderings field is not shared and stores language and version-specific changes. An author adds a component to a page in the Experience Editor and the selects the Associated Content dialog box automatically appears. What triggers this behavior? - correct answer ✔✔The component's Datasource Location field is filled in. How can you restrict authors to specific types of item for a component's data source? - correct answer ✔✔Add the data template to the component's Datasource Template field. How are component parameters stored in the Sitecore database? - correct answer ✔✔As clear text in URL query string format What data template must be used as a base template for your Parameters Template? - correct answer ✔✔The Standard Rendering Parameters template
How can you globally change characters in the URLs that are generated from and resolved from Sitecore? - correct answer ✔✔Using the encodeNameReplacements option in the web.config. In which situations would you want to change the Links that are generated for an individual link? - correct answer ✔✔If you need to force the language of content that is to be rendered from Sitecore. Why is it important to have friendly folder structures within your content tree? - correct answer ✔✔Because they dictate the segments that are within your URL. How would you display the direct children of the Home item? - correct answer ✔✔By retrieving the Home item using the Sitecore.Context.Site.StartPath.By invoking the GetChildren() method. What is the danger of using a method like Axes.GetDescendants()? - correct answer ✔✔It retrieves recursively all the children of all the children of the item. If invoked in an item near the root, it would load the entire tree in memory, with the corresponding performance penalty. How can you skip certain items when you build the navigation? - correct answer ✔✔Use LINQ to filter by template or the value of a particular field. How would you render the content of an Image field on the website? - correct answer ✔✔@Html.Sitecore().Field().FieldRenderer.Render() What happens if you use one of those methods to render a Multilist field? - correct answer ✔✔It would render the raw value of the field: pipe-delimited GUIDs How would you render a Multilist field? - correct answer ✔✔By retrieving its value in code and using it to create some output. What class would you use to retrieve the contents of a Tree list field? - correct answer ✔✔Sitecore.Data.Fields.MultilistField
How do you get the children items of an item? - correct answer ✔✔.Children.GetChildren() In what order do children item appear by default? - correct answer ✔✔Alphabetically Why would you preferably avoid sorting items in code, for example, using LINQ? - correct answer ✔✔It might confuse authors to see items appear in a different order to the order shown in the Content Editor. What is the name of the pop-up window in the Experience Editor that can be used to edit fields that are not editable inline? - correct answer ✔✔A Field Editor How would you enable the use of a Field Editor? - correct answer ✔✔By adding a Field Editor Button to a toolbar How would you show a toolbar in a random part of the page? - correct answer ✔✔Using an Edit Frame How would you configure the buttons shown in an Edit Frame? - correct answer ✔✔By creating some definition items in the Core database by adding the Buttons property to the Field Editor What is the biggest challenge when you post forms with Sitecore MVC? - correct answer ✔✔Having multiple controllers invoked in the same page request. Only one of them should handle the post. How do you bind a controller to deal with the post of a View Rendering? - correct answer ✔✔By filling the Form Controller Name and Form Controller Action fields in the definition item of the View Rendering What method do you need to invoke inside a View Rendering form to ensure only its controller reacts to the post - correct answer ✔✔Html.Sitecore().FormHandler()