Learning Sitecore 10 Flashcards

1
Q

A Content Author cannot add components to a page location you’ve identified as the main placeholder. What is the possible solution for this issue?

  • You enable placeholders in Sitecore.config
  • You create a Placeholder Settings item
  • You dynamically bind the Placeholder to the Layout
  • You add a placeholder to Allowed Placeholders folder
A

You add a placeholder to Allowed Placeholders folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

When performing multisite implementation where should shared content be stored?

A

Shared content should be stored out any one site’s content tree structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When you are working with a multisite implementation, what is the recommended practice for creating each site’s tree structure?

A

Create a specific site definition configuration, a folder for each site under the Content item, and a Home item for each site within the folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

From what interfaces can you access the Publishing Wizard?

A

Experience editor and content editor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How would you publish after an item is changed in the code?

A

code publish – manually copy cshtml files from solution to web root folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In what file would you map the home item to a corresponding host name?

A

Patch config file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a template?

A

A Data Structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the Allowed CORS Origin do?

A

Tells Identity server to authenticate requests from two files with different names

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can administrators unlock users who forgets their password?

A

UserManager -> unlock
User Manager -> Select User -> Click Unlock

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the Extranet domain?

A

contains user accounts that correspond to visitors
contains customized roles that gives visitors read access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What rules apply to conflicting roles?

A

Access rights – Denied overrides Allowed.
Security accounts – Access rights assigned to a user account override access rights assigned to a role.
Item – Access rights assigned specifically on an item override access rights specified for the descendants on the parent item.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why is it recommended to assign rights to roles and not users?

A

It is safer and more efficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is Sitecore Support Package used for?

A

It helps the Sitecore team replicate an issue without accessing the actual Sitecore environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are reasons for assigning security rights to roles instead of individual users?

A

Roles enable you to control security access for groups of users and roles simultaneously
Assigning permissions to individual users can be confusing and create risk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the Workflow elements?

A

States, commands, actions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of Field Sections?

A

To group similar fields

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a standard value?

A

A default value for a field that is a fallback value when the field is NULL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Should you edit on the Web Database?

A

No, If you edit on Web DB content changes will be overwritten on the next publish

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

When is template inheritance not recommended for fields with the same name?

A

When the fields require different field sources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

For which fields do you have to set a source field?

A

Multilist, droptree, treelist

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is the difference between a droplist and a multilist?

A

Droplist – users select one item,
Multilist – users select 0 or more

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is a token?

A

Initial values that get replaced when an item is created ($name, $date, etc.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Why would you add a tag to an item?

A

To categorize items and make them easier to search for

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

If two text fields have the same name, but one has a bigger font, are they good candidates for inheritance?

A

Yes, because even though the fonts are different they still have the same source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Where should you set up presentation details?

A

In standard values to standardize the creation process and keep content editors from adding their own presentation details

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What is required to create a layout?

A

A Layout definition item defined in Sitecore mapped to a layout .cshtml file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

What happens if you remove any of the layout details?

A

The rendering will not be visible because in order for a Layout to be visible it requires a Layout and Controls

27
Q

What is a dynamic placeholder?

A

same key – unique content
can add the same placeholder name several times across one or multiple renderings

28
Q

What tag is used to order files in .config files?

A

<loadorder>
</loadorder>

29
Q

What kind of layout would you use if you want to publish a temporary anniversary page?

A

Versioned layout

30
Q

How is a placeholder defined?

A

A placeholder is uniquely defined by a placeholder key

31
Q

Which simple field cannot be rendered using HTML.Sitecore.Field()?

A

Checkbox

32
Q

When adding a new component that shares the same data source as another, what is an alternative to creating it from scratch?

A

Using Compatible Renderings

33
Q

Why would you use static component binding?

A

When you want to stop content editors from removing a component

34
Q

Why would you specify a Datasource location for a rendering?

A

To restrict content editors so they must select content from a specific part of the content tree

35
Q

What is the difference between Datasource location and Datasource template?

A

Datasource location filters by location in the content tree.
Datasource template filters based on a template

36
Q

When would you add insert options on an item in the content tree instead of the standard values for that item’s template?

A

When you want to add additional options from what is in the standard values

37
Q

Describe ASP.NET Core headless architecture.

A

Independently render Sitecore content
De-coupled
light-weight
consumes Sitecore Layout Service

38
Q

What is a Custom View?

A

Reusable, complex logic, used for nav menus, login panels, search bar

39
Q

What doet the Startup.css file do?

A

Map Sitecore rendering component name to an implementation

40
Q

What does sitecore.json do?

A

Specifies what CLI plugins were installed and specifies location of json files containing serialization info

41
Q

What does *.module.json do?

A

Defines a module and which items are part of that module. If an item is not specified in *.module.json it will not be serialized as part of that module.

42
Q

What is the Sitecore Container Registry?

A

It contains the base container images for production and development

43
Q

When would you use HOST_LICENSE_FOLDER instead of SITECORE_LICENSE?

A

When there is an error compressing the license file into a zip folder – SITECORE_LICENCE must contain the zipped version

44
Q

Which renderings are “in-line editable”?

A

Singleline, Image, Datetime

45
Q

What is the purpose of a .env file when deploying Sitecore to containers?

A

The .env file allows you to declare environment variables for your Docker containers

46
Q

What is the primary function of the Layout Service?

A

To provide structured data about Sitecore-based pages including components and their associated content

47
Q

When using Sitecore Content Serialization, what does the sitecore.json file do?

A

It is the configuration file for global development plugins and module locations

48
Q

Match the correct pairs
* Serialization using commands - Platform project in starter template
* Serialization using GUI - Sitecore for VS
* Where Sitecore pipeline etc sits - RenderingHost project in starter template
* Where front end files sit - CLI

A
  • Serialization using commands -> CLI
  • Serialization using GUI -> Sitecore for VS
  • Where Sitecore pipeline etc sits -> Platform project in starter template
  • Where front end files sits -> RenderingHost project in starter template
49
Q

What is the relation between CD server and Rendering host?

A

Layout service in hosted in CD which provide data to rendering host via Layout Service client

50
Q

When you use the field helper, what do you do when you want to ensure that a field cannot be editable inline?

  • Set the Editable parameters to False
  • Choose a non-editable equivalent field type
  • Mark the field as non-editable in the field definition item
  • Use the DisableWebEdit option
A

Use the DisableWebEdit option

51
Q

You have been hired to create a company’s website and as you prepare you must define the data structures in Sitecore to create items and content, what should you use to define data structure?

A

A template

52
Q

Which statement characterizes the Sitecore extranet security domain?

A

It is a domain that contains user account as well as customize roles for managing read access to website.

53
Q

How can you allow login to Sitecore CM shell from multiple host names?

A

Add allowedCorsOriginsGroup for each site

54
Q

What info is available in the workbox?

A

Available workflow commands divided by associated workflow

55
Q

What is the Sitecore approach to assign user permission?

A

Permissions are assigned to roles and users are placed in the roles

56
Q

What is the recommended practice for storing reusable content that is shared between different sites?

A

Store it outside of any one sites content tree structure

57
Q

What should you do to ensure that items created from a template have the title field populated with the name of the item?

A

Use the $name token in the template’s standard values title field

58
Q

You are reviewing content items created from different templates within Sitecore and recognize that the individual items all have a section titled “General Information” with the same three fields Header, Title and Description. If the templates were designed following the best practices, what does this indicate about templates these items are created from?

A

The data template for these items inherit from a base template containing the three fields within the “General Info” section

59
Q

You are working with another developer who has 2 templates with a rich text field name Description. You want content authors to be able to change the font size in the description field on items created from one template but not another. Should the developer define the description field in common parent template?

A

No, because 2 fields use different sources

60
Q

You have 3 rendering options with a complex datasource query. In order to swap the existing rendering with a new one, you have to copy the datasource query, remove old rendering, insert new one, paste the datasource query. What should you do to reduce these steps?

A

Add each rendering to compatible renderings option

61
Q

In Sitecore MVC which static class contains info about any current http request?

A

Sitecore.Context

62
Q

What is the relationship between the rendering host and the content delivery role in the Sitecore headless SDK?

A

Content delivery hosts the headless service which is used by Rendering Host to fetch the content and layout

63
Q

How does content serialization support the development experience?

A

By allowing developers to easily move and share developer-owned items across different environments

64
Q

Which type of view should be used for structural data with multiple placeholders when using the ASP.NET Core Rendering SDK?

A

The Partial view