Download SITECORE CERTIFICATION EXAM 2024/2025 WITH 100% ACCURATE SOLUTIONS and more Exams Nursing in PDF only on Docsity! SITECORE CERTIFICATION EXAM 2024/2025 WITH 100% ACCURATE SOLUTIONS Name two key components that make up Sitecore XP. - Precise Answer ✔✔Experience CMS and marketing platform What should you do before contacting support? - Precise Answer ✔✔Refer to Help Desk best practices What are your responsibilities as a developer? - Precise Answer ✔✔Build according to recommended practices Name three Sitecore interfaces - Precise Answer ✔✔Desktop, Content Editor, Experience Editor Everything in Sitecore is an... - Precise Answer ✔✔Item An item is not a... - Precise Answer ✔✔File An item's URL is determined by... - Precise Answer ✔✔It's position in the Content tree Name the process by which items are synchronized between the master and web database - Precise Answer ✔✔Publishing Which Experience Editor mode would you use to add a new component? - Precise Answer ✔✔Designing Mode Which Experience Editor mode would you use to add an image or edit text? - Precise Answer ✔✔Editing mode When a request comes in, Sitecore... - Precise Answer ✔✔maps URL to an item in the content tree and dynamically assembles presentation Name the three databases that are installed by default. - Precise Answer ✔✔master, web, and core Name some foundation features that Sitecore provides out of the box. - Precise 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? - Precise Answer ✔✔xDB (or Experience Database) An item's type is determined by the __________ used to create it. - Precise Answer ✔✔Data template What is an item composed of? - Precise Answer ✔✔Field sections and fields What do you need to specify when creating a new field? - Precise Answer ✔✔Field name and type In the Content Editor, where can you find out which data template an item is based on? - Precise Answer ✔✔The Quick Info section on that item request maps to an item and the page is dynamically assembled from smaller pieces. What is the name of the main Sitecore .dll? - Precise Answer ✔✔Sitecore.Kernel.dll What happens if you do not set Copy Local to False for your Sitecore.Kernel reference? - Precise 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? - Precise Answer ✔✔A Layout How is a Layout definition item connected to a Layout file? - Precise 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? - Precise Answer ✔✔Right-click->Tasks->Design Layout or CTRL+U. You can also use Command How many Layouts can you assign to a single item? - Precise Answer ✔✔One -- Per Device Name three different types of Sitecore components - Precise Answer ✔✔Sublayout, XSLT rendering, web control What type of file is a Sitecore Sublayout - Precise Answer ✔✔.ascx A component consists of a file on the file system and... - Precise Answer ✔✔A definition item in Sitecore How does a component definition item know where to find the associated file? - Precise Answer ✔✔By a Path field on the definition item What are the benefits of dynamic bonding? - Precise 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? - Precise Answer ✔✔sc:Placeholder What is the Sitecore control to statically include Sublayouts on a page? - Precise Answer ✔✔cs:Sublayout Describe the process by which a component is bound to a placeholder. - Precise 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. - Precise Answer ✔✔Key If all items of a particular type require a particular component, where should these presentation details be configured? - Precise Answer ✔✔On the standard values of the data template What type of components might be good candidates for static binding? - Precise Answer ✔✔Page scaffolding, like headers and footers Name three specialized Sitecore field controls. - Precise Answer ✔✔<sc:Text \>, <sc:Date \>, <sc:Image /> How can Sitecore help you resize images dynamically? - Precise Answer ✔✔Set MaxWidth and/or MaxHeight on the sc:Image tag Name the one mandatory property that must be specified on the Sitecore web controls - Precise Answer ✔✔Field (note: on <sc:FieldRenderer />, the equivalent is FieldName) Sitecore Namespaces - Precise Answer ✔✔-Sitecore.Data - CRUD operations, item manipulation -Sitecore.Context - Information about current request -Sitecore.Links - Links management In which .dll can you find the majority of the API - Precise Answer ✔✔Sitecore.Kernel When Sitecore makes a request, what is the name of the static class that is assembled? - Precise Answer ✔✔Sitecore.Context Why should you use FieldRenderer.Render()? - Precise 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 - for example: image max width -Translates dynamic links in Rich Text Editor fields into SEO-friendly URLs Why is it a bad idea to output raw values to the screen? - Precise Answer ✔✔Not editable in Experience Editor, complex field types will not make sense - images, for example Name the best suited field object for the following field types: single-line text, tree list, drop link, general link: - Precise Answer ✔✔Field, MultilistField, ReferenceField, LinkField What method should you use to render the contents of text, date, Image and link fields to the screen (and why)? - Precise Answer ✔✔FieldRenderer.Render() - Experience Editor support, transforms custom XML, tranforms Rich Text links Why are you unable to render a multilist field to the page using .Render()? - Precise Answer ✔✔It contains IDs, not readable content Setting a component Datasource allows that component to _____. - Precise Answer ✔✔Output content from a content item elsewhere in the tree How can you force Sitecore control to output the content of an item's Datasource? - Precise Answer ✔✔Set DataSource or Item property What do parameters allow you to do? - Precise Answer ✔✔Allow properties to be set per instance of a component How are parameters encoded when set to your component? - Precise Answer ✔✔As a URL query string, that is:key1=value1&key2=value2 What utility converts parameter lists to a NameValueCollection? - Precise Answer ✔✔Web.Util.ParseUrlParameters() Why would you set the Datasource dor a component on the presentation details of an item? - Precise Answer ✔✔When that Datasource should only be used on a particular page Why would you set the component and the Datasource on the standard values' presentation details? - Precise Answer ✔✔When you want all items based on a particular template to have that component with that particular Datasource as default Why would you set the component on the standard values and override the Datasource on the item? - Precise Answer ✔✔When your component has to appear on every page but has a different Datasource for a particular page When does a layout delta get created? - Precise Answer ✔✔When presentation coming from the standard values of an item's templates overridden on that item. How does the XML of a Layout delta differ from the XML specified on a template's standard values? - Precise Answer ✔✔-Layout deltas only contain differences between an item's standard value presentation and any changes made by the author on the item. -The standard value XML contains all presentation details What can you do with methods that could be used across multiple Sitecore projects? - Precise Answer ✔✔Abstract code to a generic utilities project Why can't you preview items under Global? - Precise Answer ✔✔They do not have presentation details Why is the Settings item outside any individual site folder structure? - Precise Answer ✔✔Values shared across all sites What kind of content can you display using a General Widget? - Precise Answer ✔✔Promotions, announcements - anything that can be used across the site Name 2 devices you may want to target with different presentation details: - Precise Answer ✔✔Tables and mobiles When will Sitecore use the language attribute of the site's definition in the web.config? - Precise Answer ✔✔If there is no explicit language in the URL nor a language cookie. How do visitors to your site change the site's language? - Precise Answer ✔✔You have to build language switching for the front-end yourself - using a query string, for example What kind of error checking should you do when rendering items to the screen? - Precise Answer ✔✔Check that each item has a version in the context language What are some important considerations with a multi-site implementaion? - Precise Answer ✔✔Large codebase, sites affect each other's performance Why should you avoid defining the same field multiple times in more than one template? - Precise Answer ✔✔It makes it much harder to manage later on. What would you use the Field source for in the following field types: Image, Rich Text Field, Drop link? - Precise Answer ✔✔Image: Set the folder in the Media Library it will open when selecting an image for the field. | Rich Text: Configuration of the toolbar and functionality of the Rich Text Editor. | Drop link: Set the items to be displayed as options. Why do you create Standard values as options? - Precise Answer ✔✔To be able to define default and initial values What happens if you don't set any insert options? - Precise Answer ✔✔Only admins and privileged users will be able to create content (using the Insert from template option). Where should you set insert options as a best practice? - Precise Answer ✔✔In the Standard Values, so they are applied as a default to newly created items. What happens when you set a field as shared? And unversioned? - Precise Answer ✔✔A shared field contains a single version of the data for all versions in all languages. An unversioned field contains one version of the data per language. When do tokens get replaced? - Precise Answer ✔✔Only when items are created. Why would you need to run a full republish? - Precise 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? - Precise 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? - Precise 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? - Precise 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? - Precise 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? - Precise 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? - Precise 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? - Precise 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? - Precise 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? - Precise 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? - Precise Answer ✔✔No, since it cannot be presented. Which fields are editable inline using the Experience Editor? - Precise 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. - Precise Answer ✔✔Rendering a field inside the <title> tag in the <head> of the HTML. How does Sitecore define a type of item (data schema)? - Precise Answer ✔✔Using data templates What is the name of the feature that makes WCM possible in Sitecore? - Precise Answer ✔✔Experience Management ( xManagement) What do you need in addition to the Experience Management to take full advantage of the Sitecore Experience Platform? - Precise Answer ✔✔You need the What is the recommended practice for setting insert options? - Precise Answer ✔✔Insert options are set on the Template Standard Values item Describe the anatomy of a Sitecore Layout? - Precise 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? - Precise Answer ✔✔By the Path field on the definition item. How do you display the contents of a field in code? - Precise Answer ✔✔@Html.Sitecore().Field("<Field name>") What can you use to translate fields and Help texts in the Sitecore Client? - Precise Answer ✔✔Sitecore Dictionary entries Which type of component would you create if you wanted to closely follow MVC patterns or invoke complex logic? - Precise Answer ✔✔Controller Rendering True or False: The view should contain all the business logic. - Precise Answer ✔✔False What happens if allowed controls are not specified on a placeholder settings item? - Precise 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? - Precise 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? - Precise 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? - Precise 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? - Precise 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? - Precise Answer ✔✔Add the data template to the component's Datasource Template field. How are component parameters stored in the Sitecore database? - Precise Answer ✔✔As clear text in URL query string format What data template must be used as a base template for your Parameters Template? - Precise Answer ✔✔The Standard Rendering Parameters template You have created a new Parameters Template. How do you ensure your component to uses it? - Precise Answer ✔✔On the component's definition item in the Parameters Template field What are Compatible Renderings? - Precise Answer ✔✔Components that can be exchanged or replaced with each other(Components that can be used in place of another component) What should you keep in mind when configuring Compatible Renderings? - Precise Answer ✔✔They should be set on both components so you can exchange them. Both need to be in the Allowed Controls for any placeholders they will appear in. They may need to share data source and parameters. You have a component you would like cached anywhere it is used. Where would you define its cache settings? - Precise Answer ✔✔On the component definition item in the Sitecore tree. Why should you never cache a component that displays personal information? - Precise Answer ✔✔Another visitor to your site can see that information You have a component that you want cached on every Event Details page. Where would you define its cache settings? - Precise Answer ✔✔On the component on the Event Details Template Standard Values item. Why would you want to have the languageEmbedding option set to never? - Precise Answer ✔✔The site is not multilingual. How would an author cause a broken link when renaming an item? - Precise Answer ✔✔The URL is usually made using the item names. If the page was bookmarked in the browser, it will no longer work. You will need to implement 301 redirect logic. How would you disable .aspx being added to all URLs that are generated from Sitecore? - Precise Answer ✔✔By changing the addAspxExtension attribute of the LinkManager. What is the biggest challenge when you post forms with Sitecore MVC? - Precise 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? - Precise 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 - Precise Answer ✔✔Html.Sitecore().FormHandler() Why should you not crate or modify items directly on the web database? - Precise Answer ✔✔If the changes only exist on the web database they will get lost during the next publish operation. What three pieces of information do you require to create an item? - Precise Answer ✔✔Name, Template, Location (parent node) How can you run part of your code with a set of privileges different from those of the context user? - Precise Answer ✔✔UserSwitcher, SecurityDisabler Why does Sitecore not allow the use of certain characters in an item name? - Precise Answer ✔✔Item names are used to form the URLs. Some characters have a special meaning in a URL. What methods do you invoke when you begin and finish editing an item through the API? - Precise Answer ✔✔.Editing.BeginEdit().Editing.EndEdit() What two core services conform the Sitecore Services Client? - Precise Answer ✔✔ItemService, EntityService What is a profile card? - Precise Answer ✔✔A profile card is used to profile content. It acts as a preset of profile keys and values. What is a pattern card? - Precise Answer ✔✔Used during personalization or contact segmentation, pattern cards define archetypes to compare with the current profile of a contact and establish which one corresponds most closely with the interests of the visitor. How can authors change a component through personalization? - Precise Answer ✔✔They can change its data source, hide it, or exchange it for another component. What do you need to do to support the use of personalization? - Precise Answer ✔✔Componentize the page, and use data sources whenever possible. What are your roles as a Sitecore developer? - Precise Answer ✔✔Build and scale according to recommended practices, Support Sitecore marketing and analytics features, Build for the experience editor Where can you find more information? - Precise Answer ✔✔Knowledgebase (support articles), Marketplace (modules), Developer network (forum, downloads) Before contacting support you should... - Precise Answer ✔✔Refer to help desk best practices Name 2 key components of Sitecore XP - Precise Answer ✔✔Experience CMS, Marketing Platform An item's URL is determined by... - Precise Answer ✔✔Its position in the Content Tree Name the process by which items are synchronized between the master and the web DB - Precise Answer ✔✔Publishing Having multiple controllers invoked in the same page request. Only one of them should handle the post. - Precise Answer ✔✔Opens the Select the Associated Content dialog when authors add a new component What happens if the Datasource Location and the Datasource Template fields are both filled in? - Precise Answer ✔✔The "Select the Associated Content" dialog opens and authors can create a new content item using the template specified What happens if the Datasource Location field is empty, but the Datasource Template field is not? - Precise Answer ✔✔The dialog doesn't open automatically, but when the author requests it, they see the whole tree with irrelevant items ghosted What is the benefit of rendering Parameters Templates to authors? - Precise Answer ✔✔Reduces error, Authors do not have to specify the parameter name, Authors can choose values from dropdowns. Which data template is used as a base template for your Parameters Template? - Precise Answer ✔✔Standard Rendering Parameters template If you want your component to use this new Parameters Template, where do you assign it? - Precise Answer ✔✔On the components definition item in the Parameters Template field Search is built using a provider model. What does this mean? - Precise Answer ✔✔You can plug in whatever search provider you want What syntax do you use to query an index? - Precise Answer ✔✔LINQ What is the name of Sitecores default search result class? - Precise Answer ✔✔SearchResultItem When building your own search result class, how do you account for fields with spaces? - Precise Answer ✔✔Decorate with [IndexField("Page Heading")] What method should you use to return a rich results object? - Precise Answer ✔✔GetResults(); You can configure how fields get indexed by type or... - Precise Answer ✔✔Name You can include/exclude by individual field names or... - Precise Answer ✔✔ItemTemplates Which attribute must be set to 'YES' in order for values to be stored in the index? - Precise Answer ✔✔storage Type Which two search providers does Sitecore ship with? - Precise Answer ✔✔Lucene and Solr If you wanted to store the number of comments a news article has, what type of field might you use to perform the calculation? - Precise Answer ✔✔A computed field Why should you tune your index configuration and not index everything by default? - Precise Answer ✔✔Large, unwieldy index as your solution grows What are the three layers that the item cache mechanism have? - Precise Answer ✔✔Item, Data, Prefetch What operation clears the HTML cache? - Precise Answer ✔✔Publishing Which cache is populated when the application starts? - Precise Answer ✔✔Prefetch cache What is the path for .aspx page that clears all cache? - Precise Answer ✔✔/Sitecore/admin/cache.aspx Cache settings are defined in what file? - Precise Answer ✔✔web.config Name three places where component HTML caching options can be defined - Precise Answer ✔✔Definition item, Standard Values, per|instance of the component What mode in Experience Editor shows profile, cache settings and HTML output for individual components? - Precise Answer ✔✔Debug mode Name the 3 publishing modes - Precise Answer ✔✔Incremental, Smart, Republish Publishing restrictions can be applied to _____ , _____ and _____ - Precise Answer ✔✔Numbered versions of items , the item itself and targets List some benefits of using Sitecore Installer - Precise Answer ✔✔Checks prerequisites, correct DLLs, logs, remove an existing installation What are the recommended servers for an installation and which databases are on each server for a production environment? - Precise Answer ✔✔CM with core, master and web | CD with core and web | Separate DB server -xDB with separate collection, reporting and aggregation servers Name some features of Sitecore Instance Manager - Precise Answer ✔✔Packages, customize, extend, reinstall & remove instances Name two development models - Precise Answer ✔✔Inside and outside the web root Which is the best practice? - Precise Answer ✔✔Development outside the web root What are the options to source control your items? - Precise Answer ✔✔You can serialize your items for source control with Sitecore Rocks or use a product like TDS to do it. What is the recommended way of patching in changes to web.config? - Precise Answer ✔✔Patch web.config with include files, located under /App_Config/Include