Learning for the Sitecore 9 exam Flashcards
Where is the home item for your site is defined?
Sitecore.config
How do you retrieve your site’s start item location?
Sitecore.Context.Site.StartPath;
How do you install a Sitecore package from within Sitecore?
Control Panel>Administration>Install a Package
What’s the default base template for all templates?
Standard Template
How can you extend the Sitecore Framework?
- Packages
- Modules
- Update Packages
Which tasks can Sitecore Rocks plugin for visual studio be used to perform?
- Manage Packages
- Create Anti-Packages
- Create Items
- Create Templates
What is an Anti-Package?
Helps you create a package with an option to roll back the changes
The Sitecore Package Designer helps you to…?
- Add Items statically or dynamically
- Set installation options
How can you install a package in Sitecore?
- Installation Wizard
- Sitecore Rocks
- Control Panel
Where is the default site configuration located?
/app_config/Sitecore.config under site
What static class contains the information about the current HTTP request and your site installation?
Sitecore.Context
Where is the Home page or start item for your site defined in the Sitecore.config?
Rootpath and Startitem
How can you retrieve your site’s start item location programmatically?
String startPath = Sitecore.Context.Site.StartPath
Item Homepage = Sitecore.Context.Database.GetItem(startPath)
What’s the path of the Single website and Home Item?
/Sitecore/Content/Home
What are the recommended practices for a multisite implementation?
- Creating a folder for each site
- Ensuring that each site folder has its own Home item
- Storing shared content outside of each site folder
Visual Studio is the main tool to…?
- Configure and manage Sitecore project
- Code Layouts and renderings
- Manage configuration files
True or false; Everything in site is an item
True
An item consists of…?
- Fields
- Field Sections
True or false; the item is an addressable unit of data?
True
True or false; templates are the foundation of all content in Sitecore?
True
What do templates define?
- Type of item
- Field sections
- Field names
- Field types
What does the field type determine for the field in the Content Editor and the Experience Editor?
The Editor Control
True or false; modifying the base template of the template affects all items immediately?
True
True or false; all templates inherit from the standard template?
True
Name the available Tokens in the standard values?
$name
$date
$now
What option overrides the Field Name in Sitecore interface?
Title
Sitecore publishes items from… to…?
Master to Web database
True or false; sitecore groups the files in layers and maps each layer to a folder in the App_Config folder?
True
Sitecore groups files in layers and maps each layer to a folder. Where is this folder located?
App_Config
What are the two types of rendering most commonly used in Sitecore?
- View Rendering
- Controller Rendering
Which rendering is only used occasionally?
Item Rendering
What renderings are supported only for legacy reasons?
- Method Rendering
- XSLT Rendering
- Url Rendering
Where do you create a model in Sitecore for structured data to be consumed by MVC view?
Layout>Model
What steps are required for a custom route in Sitecore?
- Define a custom route
- Register the custom route
True or false; areas enable you to group collections of controllers and views together to help subdivide and organize complex projects?
True
What’s the recommended practice to add Sitecore libraries to your project?
Using Nuget
What are the advantages of creating a project outside of the web root folder?
- Separation of Concern: between solution files and Sitecore files
- Use the same visual studio project when you upgrade Sitecore or create a new instance.
- Easy to backup, restore, and move project.
What server roles are supported in the attribute of the Web.config file?
- Content Delivery
- Content Management
- Processing
- Reporting
- Standalone
What are three major components of the Sitecore 9 product?
- Sitecore Experience Manager (XM)
- Sitecore Experience Platform (XP)
- Sitecore Experience Commerce
What component-based architecture guidelines are used by Sitecore?
Helix
What are the main topics important to Helix and Modular architecture?
- Dependencies
- Layers
- Modules
True or false; low coupling relies on keeping the number of dependencies between different parts down to the absolute minimum?
True
True or false; high cohesion does not rely on breaking the solution down into the right parts with logic that belong together?
False
How can you control the dependencies between modules in Sitecore?
Using Explicit dependencies
The layer concept in Helix provides a structure that is extremely suitable for…?
- Creating and maintaining solutions of any size
- Producing maintenance-friendly and clean code
- Making the dependency flow clear everywhere in the solution
What layers are defined by the Sitecore Architecture Conventions?
- Project
- Feature
- Foundation
What’s the most unstable layer in your Sitecore structure?
Project
What layer of the Sitecore Architecture Conventions stitch the features of the solution together into a cohesive solution?
Project
What layer of the Sitecore Architecture Conventions can contain page types, layout and graphical design?
Project
What layer of the Sitecore Architecture Conventions contains the concrete features of the solution?
Feature
Which layer is the lowest level and most stable layer in Helix?
Foundation
Which layer contains the framework such as Sitecore, .Net, Bootstrap, Jquery etc. ?
Foundation
The concept of modules is derived from…?
Component-based Architecture
Which service is responsible for processing and storing data?
xDB
How can the xDB core be accessed?
xConnect Client API
True or false; the client has direct access to the collection database or the search index.
False
What single end point named is used by the collection and Search in the development environment?
xdb.collection
Where do you configure the xConnect end points?
\App_Config\ConnectionStrings.config
Which tool can help you connect to Sitecore using a Console application?
xConnect Client API
Which model defines the CLR types, facets, and events?
xConnect Collection model
True or false; the xConnect service must have a JSON representation of any model that a client application wishes to use.
True
How does the developer extend the xConnect?
- Adding Contact and Interaction facets
- Adding Custom events
How can you control the types of items that users can insert beneath an existing item?
Using the Insert Options
What’s the second pillar of Experience Manager?
Content
What do you call a content instance of a template?
Item
Where are items stored in Sitecore?
Database
Which database stores the edited item when you edit an item in Sitecore?
Master
True or false; all content is publishable when no restrictions are applied.
True
How are items identified in Sitecore?
- ID
- Path
- URL
True or false; items in Sitecore do not store website content?
False
True or false; editors do not need to lock the item before modifying it?
False
What does the user need to specify when inserting an item from a template in Sitecore?
- Template Location
- Item Name
Which user can create content anywhere in the tree?
Administrator
How can developers create content directly from Sitecore Explorer?
Right-click an item > Add New Item
How can developers add multiple items at once?
Sitecore Explorer > Right-click an item> Add New Item > Click Add on the Add new dialog box
What are the recommended practices for creating content in Sitecore?
- Place pages under the Site’s Home or Start item
- Set insert options
- Limit the number of children
- Limit the number of versions
True or false; the number of children that an item has and the number of versions can affect performance?
True
A regular user calls stating that he is unable to create content under the Home item. What is a possible cause of this issue?
Insert options are not defined
How does the language store in the content tree?
In the Item
Where do you manage languages in Sitecore?
Control Panel
True or false; each language version can have it’s own list of numbered versions.
True
Where can you set a friendly name for an item that can be translated?
Display Name
How does the Sitecore handles an item without a Display Name?
Name is used as a fallback
True or false; Name and Display appear on the content item for all users.
False
(it displays only for administrators)
In regards to version control, the fields in Sitecore can be…?
- Versioned
- Shared
- Unversioned
What version is created by default when you create a field in Sitecore?
Versioned
Which version control option will allow users to create single version of field value for all languages?
Shared
Which version control option will allow users to create unique version of the field value per language?
Unversioned
True or false; all fields must be versioned in Sitecore?
False
True or false; Sitecore automatically translate the labels, button text, etc. in other languages that you specify?
False
Where does Sitecore look for the language when a user clicks the URL or a link on the web page?
- The sc_lang query string parameter
- The language prefix in the path in the requested URL
- The language cookie associated with the context site
- The default language associated with the context logical site
- The DefaultLanguage setting specified in Sitecore.org
Why is setting the icons and creating user friendly names important when working with templates in Sitecore?
It’s easier for the user to identify the template for creating items.
What’s the best way to define default values and setting for items?
Use Template’s standard values
What are recommended practices for data Architecture?
- Making good use of Template Inheritance
- Using Icons and user-friendly names for templates
- Using a template’s Standard Values to define default values and settings for items
What are recommended practices for Content Structure?
- Controlling the user experience and content tree by configuring Insert Options
- Ensuring the tree structure mirrors the site structure
- Limiting the child items and item versions
What layer(s) does the Sitecore.Services.Client framework provides on both the Server and the Client side of the Sitecore applications for the developers to use to develop data-driven applications?
Service
Which Web API is used by Sitecore.Services.Client as a foundation?
ASP.NET Web API
What attribute needs to be set on the controller to enable the features of Sitecore.Services.Client framework?
[ServicesController]
What services are provided by the Stecore.Services.Client framework?
ItemService
EntityService