SC10 Questions Flashcards

1
Q

What is the purpose of the “extranet” security domain?

A

The official definition from Sitecore is “it is the default domain and most user accounts will be extranet\anonymous when they visit the website”

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

You have a placeholder included in the code of a rendering, however, when the rendering is placed on the site in Experience Editor, the authors do not have the ability to add controls to the placeholder, what could cause this?

A

placeholder settings item

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

How do you debug a container?

A

Attach to the w3wp process associated with the container

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

Some developers wish to use the Sitecore CLI and others Sitecore for Visual Studio.

A

This is totally fine, the two can be used together.

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

A user was recently assigned a new role and now they cannot access a portion of the tree that was previously accessible, what happened?

A

The new role has an explicit deny-read permission.

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

What does the <includes> element define with regards to serialization</includes>

A

The content path of the items to serialize.

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

What if a module is not included in sitecore.json?

A

It will not be serialized during a push or pull.

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

How do you push file changes to a web root that is outside of Visual Studio?

A

You use VS Publish to move files.

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

How does the rendering host interact with the CD role?

A

The CD role is a web service endpoint that returns json object data via the layout service to the rendering host.

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

You need to change the homepage for only a few days for a sale, how do you do it in the easiest way possible

A

Rely on Final layout to push a new version.

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

Users are complaining about having to copy and paste data source queries from one component type to another. is there a way to resolve this?

A

Yes, edit the compatible renderings for each rendering definition

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

How do you target a specific placeholder when editing presentation details?

A

Placeholder key

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

How do you mark a field as read-only via Sitecore MVC helpers?

A

@Html.Sitecore().Field(“Field Name”, new { DisableWebEdit = true })

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

Why do we use startup.cs in the rendering host?

A

To link a component name with its implementation

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

If we use a view rendering, what property do we need to fill in?

A

The path to the cshtml file

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

What is the best practice for assigning permissions in Sitecore?

A

Assign permissions to a role, then assign the role to users

17
Q

In the rendering host, which view type is best for navigation and login components?

A

Custom view component

18
Q

Which field type cannot use Html.Sitecore.Field(“field id”)?

A

Checkbox

19
Q

You have two rich text fields, each on a different template. You want to shift this field to a base template and have each template inherit the base. However, on one of the templates the rich text field must allow the “bold” option, while the other cannot. Is this possible?

A

No, since the “source” property must differ per template type you must separate this at the template level. You cannot move this field to a base template and still satisfy the requirements.

20
Q

Why would you use a multi-list field vs a droplist field?

A

A multi-list field lets the content author select more than one option.

21
Q

You must allow a content author to only select templates of type News Article as a data source for a rendering. Which field do you set?

A

Datasource Template

22
Q

Why would you use HOST_LICENSE_FOLDER over SITECORE_LICENSE environment variable?

A

Because when encoding the license it was too large and thus you must reference it via the folder

23
Q

What is a standard value?

A

A place to set the default value for fields on a template during item creation.

24
Q

Is it a good idea to set presentation details on an item level?

A

No, set them on standard values to give the content authors a good staring point when creating items

25
Q

You need to set the “Title” field to be the name of the item, how do you do it?

A

Set the Title field to “$name” on the standard value of the item template.

26
Q

You need to specify the order that configuration files are loaded, how do you do it?

A

Use the <loadOrder> element</loadOrder>

27
Q

You need to publish a single item, what are the two ways you can do this?

A

content editor and experience editor

28
Q

Why is there a master and web database?

A

So that content can be edited in master without affecting live content in web.

29
Q

What if we let content authors edit directly in web?

A

Bad idea because only one version would exist, disallows extra versions.

30
Q

How do we ensure model bound views are editable in experience editor?

A

Use standard Sitecore types when defining the properties, e.g. TextField, ImageField, on the model class.

31
Q

There is static content on every page. How do you configure it so that content authors cannot change the renderings in this placeholder?

A

You mark the placeholder as non-editable

32
Q

What is the best practice for where to put shared content in a multi-site scenario in the content tree?

A

You put it outside the roots of both sites in the content tree

33
Q

What should be the reason of this SIA installation error?

A

Invalid Solr Path