Sunday 30 August 2020

Sitecore Certification Sample Questions - Part 5



1. How can you retrieve the datasource in a view rendering with default model?

Model.item

2. When you are working with the Sitecore.Data.Items.Item object, how do you get a reference to its parent item?

.parent()

3. Why would you define a Sitecore Package?

You need to copy certain items/files from one Sitecore installation to another

4. What is the raw value of a field?

The value of the field as stored in the database

5. When would you render the raw value of a field to the website?

Never render a raw value to the website

6. Why would you make an item in a bucket?

If it will have a large number of descendants

7. Why would an item show in the content tree even through it is a child of a bucketed item?

It is not bucketable

8. What is the advantage of setting StorageType=Yes in an index field?

There is no need to access Sitecore database to query its value.

9. For performance reasons it is best to:

Add only what is required to the index

10. Where does the home item for your site is defined

a. Web.Config

b. Sitecore.config

c. Layers.config

d. App.config



Answer: b

No comments:

Post a Comment