Exit demo SITECORE-NET-DEV Sitecore .NET Developer 10 PDF format · free preview

Sitecore SITECORE-NET-DEV - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/sitecore-net-dev.html

Question 1
Single choice

Prior to the creation of any content items based on templates, you have taken over the creation of data templates from a previous Developer. Based on the design plan, two templates were created, ItemA and ItemB. Both templates have three identical fields: Title, Subtitle, and Description.
Based on Sitecore best practices, how would you improve the template design?

A.

Set the template for ItemB as a base template for ItemA and set the template for ItemA as the base template for ItemB to ensure proper inheritance.

B.

Set both templates to inherit from a new base template with the three duplicated fields, removing the fields from the existing templates.

C.

Delete the templates and start over again with new templates, one for the three duplicated fields and one for all the other fields from ItemA and ItemB.

D.

Set the template for ItemB as the base template for ItemA's template and delete the duplicated fields from ItemB's template.

Question 2
Single choice

If the path of a specific module file is not set in the sitecore.json file, what will happen when you run standard serialization commands?

A.

When you run push or pull serialization commands, the tool will search for your module to access the includes.

B.

You will receive a warning advising you some modules are not included and ask if you wish to include them in the serialization attempt.

C.

The paths and related items included in the module will not be serialized when you run a push or pull command.

D.

Only selected items in the specific module will be serialized, but it will not include all of them.

Question 3
Single choice

You want to control the order in which patch files load.

Which element could you use in the Layers.config file to accomplish this?

A.

<configLayer>

B.

<loadOrder>

C.

<configLoad>

D.

<patchOrder>

Question 4
Single choice

With Sitecore MVC, how do you ensure a field cannot be edited when you use the field helper to render content?

A.

Use the non-editable equivalent field type.

B.

Use the DisableWebEdit option.

C.

Set the editable parameter to "false".

D.

Mark the field as non-editable in the field definition item.

Question 5
Single choice

As a Developer, why should you assign security to roles instead of users when setting up security on a site?

A.

Security can be managed more efficiently as the rights and permissions apply to a group of users.

B.

Role-based security allows multiple users to have the same username but different passwords.

C.

Assigning security to roles enables individual rights and permissions to be configured by users.

D.

Individual users with a role can set their own item security permissions.

Question 6
Single choice

If you want to limit the serialization of items under the Navigation item to the item itself and those one step below, what property should you add to the includes to indicate this limitation?

A.

Item path

B.

Scope

C.

Nothing, this is the default

D.

Name

Question 7
Single choice

While developing using Sitecore MVC, you modify a file in your Visual Studio project outside of the webroot folder.

What can you do to see the changes within the Sitecore installation?

A.

Publish the file using the Sitecore Rocks Publish file command.

B.

Copy the file to the webroot using Visual Studio's Publish command.

C.

Use the Sitecore Global Publish to publish everything.

D.

Publish the entire site when you are in the Content Editor.

Question 8
Single choice

How does content serialization with the Sitecore CLI or Sitecore for Visual Studio support the development experience?

A.

By acting as a data-storage solution for every item in the content tree

B.

By providing a process for building out templates and layouts with a graphical interface walkthrough

C.

By providing a feature for testing content synchronization during the development process

D.

By allowing Developers to easily move and share Developer-owned items across different environments

Question 9
Single choice

You are designing a component that will allow users to select a content item from a specific place within the content tree as the data source.

How will you ensure the component is flexible and the user can select a content item upon use?

A.

Ensure the insert options for the component are enabled so the Author can change the content item for the component.

B.

Ensure the users can create a new component from Experience Editor and configure the Datasource Template field.

C.

Ensure the component supports a change to the data source and configure the Datasource Location field.

D.

Ensure you add a placeholder within the component so the Experience Editor prompts the user for a content item.

Question 10
Single choice

What is the purpose of item includes within Sitecore Content Serialization module.json files?

A.

Includes specify which path or paths of the content tree should be serialized.

B.

Includes determine how and when the automatic schedule for module serialization is executed.

C.

Includes specify which other modules are dependencies for the given items.

D.

Includes specify how items are serialized and committed to source control.

Showing 10 of 50 questions · Unlock the full set