Sitecore 10 Developer-Focused Features, Exams of Social Sciences

The developer-focused features introduced in sitecore 10, including sitecore with containers, sitecore content serialization, and the sitecore asp.net core rendering sdk. It covers topics such as the benefits of the new development tools, requirements for running sitecore with containers, and the functionality of the sitecore content serialization tool. The document also explores the sitecore architecture in headless development, the use of custom view components, and the deployment of sitecore with the getting started template. Additionally, it provides information on the sitecore rendering host, the sitecore for visual studio plugin, and the differences between the sitecore cli and the sitecore for visual studio serialization options.

Typology: Exams

2023/2024

Available from 09/21/2024

ROCKY-B
ROCKY-B 🇰🇪

4.4

(16)

40K documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
SITECORE 10 DEVELOPER'S FUNDAMENTALS
COLLECTION
Which three options below are Developer-focused features added to the Sitecore
development tool options with the release of Sitecore 10?
a. Sitecore with containers
b. Sitecore MVC
c. Sitecore content Serialization
d. Sitecore ASP.NET Core Rendering SDK
e. Sitecore JSS
f. SXA - Answers -a, c and d
True or False: Any Sitecore Developer working with Sitecore 10 will have to use the
Sitecore Content Serialization Command Line Interface (CLI). - Answers -false. Sitecore
Content Serialization is also available with a Visual Studio plug-in and will work side-by-
side with the Sitecore Serialization CLI.
Which three of the following are considered benefits of using the new Sitecore
development tools introduced with Sitecore 10?
a. Increased Developer productivity
b. Automated component creation
c. Self-populating templates
d. Lower cost of ownership
e. Faster onboarding for new Developers
f. Built-in Sitecore support connector - Answers -a, d and e
If you are looking for information about a standard feature of Sitecore, which website
would you visit to find the Sitecore specific information?
a. support.sitecore.com
b. dev.sitecore.net
c. doc.sitecore.com
d. sitecore.chat - Answers -c. doc.sitecore.com
Which two of the following are requirements for running Sitecore with containers?
a. Windows 10 version 1809 or greater
b. SQL Server 2019
c. Docker Desktop for windows
d. Minimum 8gb or RAM - Answers -a and c. d is a trick question since you need at
least 16gb of ram.
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Sitecore 10 Developer-Focused Features and more Exams Social Sciences in PDF only on Docsity!

SITECORE 10 DEVELOPER'S FUNDAMENTALS

COLLECTION

Which three options below are Developer-focused features added to the Sitecore development tool options with the release of Sitecore 10? a. Sitecore with containers b. Sitecore MVC c. Sitecore content Serialization d. Sitecore ASP.NET Core Rendering SDK e. Sitecore JSS f. SXA - Answers -a, c and d True or False: Any Sitecore Developer working with Sitecore 10 will have to use the Sitecore Content Serialization Command Line Interface (CLI). - Answers -false. Sitecore Content Serialization is also available with a Visual Studio plug-in and will work side-by- side with the Sitecore Serialization CLI. Which three of the following are considered benefits of using the new Sitecore development tools introduced with Sitecore 10? a. Increased Developer productivity b. Automated component creation c. Self-populating templates d. Lower cost of ownership e. Faster onboarding for new Developers f. Built-in Sitecore support connector - Answers -a, d and e If you are looking for information about a standard feature of Sitecore, which website would you visit to find the Sitecore specific information? a. support.sitecore.com b. dev.sitecore.net c. doc.sitecore.com d. sitecore.chat - Answers -c. doc.sitecore.com Which two of the following are requirements for running Sitecore with containers? a. Windows 10 version 1809 or greater b. SQL Server 2019 c. Docker Desktop for windows d. Minimum 8gb or RAM - Answers -a and c. d is a trick question since you need at least 16gb of ram.

True or False: The Sitecore Content Serialization tool allows you to choose the option you are most comfortable with: a command line interface (CLI) or graphical user interface (GUI). - Answers -true Which one of the options is a feature of the ASP.NET Core Rendering SDK? a. A Visual Studio plug-in for content serialization included with the SDK. b. Continuous code deployment to the Sitecore environment through a watcher. c. Integration with Sitecore XP to support Experience Editor, analytics, and personalization. d. A built-in layout service to bypass the need for the Sitecore Layout Service Client. - Answers -c When would you most likely use the ASP.NET Core Rendering SDK over the other Sitecore rendering tools available? Choose one. a. The customer has basic component requirements and could benefit from a generic library. b. As the Developer, you need a SPA experience and prefer operating in a headless environment. c. The customer requires a heavily customized front end and has some complicated business logic. d. Your development team really enjoys developing headless and has quite a bit of JavaScript knowledge. - Answers -c Which of the following is not a necessary workstation prerequisite for using the Getting Started template? Choose one. a. PowerShell Version 5. b. Docker for Windows c. Command Prompt Version 10. d. .NET Core 3.1 SDK - Answers -c Where can you find the walkthrough for downloading, installing, and using the Getting Started template? Choose one. a. Sitecore Slack channel b. Sitecore Stack Exchange c. Sitecore downloads d. Sitecore documentation - Answers -d. The information contained in the walkthrough is also available from the README provided with the MyProject solution files. What arguments are absolute requirements to provide to the int.ps1 script upon execution before running the Getting Started up.ps1 script for the first time? Choose one.

b. Scope c. Name - Answers -b. If you create a module with a path that does not match one of the paths set in the sitecore.json file, what will the outcome be? Choose one. a. Only select items in the module will be serialized, not all of them. b. The module will not be included when you run serialization. c. When you run serialization, Sitecore will search for your module to use it. - Answers - b. When moving to production deployment, why would a Developer want to create item packages? Choose one. a. Packages contain all versions of your solution so you can revert to another version if needed. b. Packages contain everything a Developer needs to deploy to production. c. Packages allow you to share your solution with other Developers to do a code review before launch. - Answers -b. When creating custom Sitecore images for your solution, you should? Choose one. a. Layer built outputs from your solution and other assets onto the base Sitecore runtime images. b. Include a Sitecore runtime Dockerfile for each container that makes up your Sitecore topology. c. Both answers are correct. - Answers -c. Why would a Developer need to use an XDT transform file? Choose one. a. To ensure that any modification needed can be accomplished through Sitecore config patching b. To modify config files that cannot be changed through Sitecore config patching c. To act as a replacement for the Web.config file in your Sitecore implementation - Answers -b How are Sitecore item packages utilized for item deployment into containers? Choose one. a. Packages contain everything a Developer needs to deploy to production. b. Packages can be used as build artifacts in your continuous integration pipeline. c. - Answers -b. True or False: Module asset images are never directly run, just used as a source for layering into your custom images. - Answers -true

True or False: A Docker ENTRYPOINT provides the command to execute when the container is first run. - Answers -true What are the benefits of using the Docker Tools development ENTRYPOINT and watch script? Choose one. a. Faster development feedback loops b. Overcoming limitations of mounted folders in Windows containers c. Clean separation of your solution output from Sitecore-provided files d. All of the answers are correct - Answers -d. Which Visual Studio window allows you to attach to process in a running container? Choose one. a. Modules b. Breakpoints c. Containers d. Server Explorer - Answers -c. True or False: The Sitecore Rendering Host operates outside of the Content Delivery instance and is the front-end application that requests data from the Layout Service and renders the site. - Answers -true Which of the following options outlines the benefits of working with a headless Rendering Host for Sitecore development? Choose one. a. All processes and functions are running within a single application. b. You can run the Rendering Host application directly in Visual Studio. c. Both are correct b. Both are false - Answers -b. As a Developer tasked with building and running cross-platform web, server, and console applications, you must have which of the following installed on your workstation to accomplish the task? Choose one. a. Powershell 5. b. Docker c. .Net Core 3.1 SDK d. All of the above - Answers -d To run the initialization script and install the Getting Started template successfully, You need? Choose one. a. Path to your valid Sitecore license. b. Desired administrative password c. All of the above - Answers -c

True or False: The Rendering Engine acts as a catch point for data flowing out of the Layout Service, then the Rendering Host combines this data with the .NET Core code to create the HTML output for the front end. - Answers -false Which of the following commands is used to enable caching for a site? Choose one. a. enablehtmlcache = 'true' b. cachehtml = "true" c. enablecache="true" d. None of the above - Answers -b Which Docker Compose file has additional containers and specifications for a Docker container deployment of Sitecore with the Getting Started template? Choose one a. docker-compose.yml b. docker-override.yml c. docker-compose.override.yml d. docker-compose.local.yml - Answers -c. What type of environment role is not included in an XP0 Docker container deployment of Sitecore? Choose one. a. Rendering Host b. Content Delivery c. Content Management d. Solr - Answers -b Which of the two Visual Studio projects has the Startup.cs class? Choose one a. MyProject b. Platform c. RenderingHost d. ContentManagement - Answers -c Which statement below best describes the difference between the Sitecore Content Serialization options? Choose one. a. The CLI and Sitecore for Visual Studio are mutually exclusive options from Sitecore for serialization. Your entire team must choose one or the other. b. The CLI and Sitecore for Visual Studio offer the same features with a different interface. You can choose the serialization environment you're most comfortable with. c. The CLI and Sitecore for Visual Studio offer you different serialization features that can be used only from within Visual Studio. d. The CLI and Sitecore for Visual Studio are options provided for serialization from Sitecore and a third party contributor that are compatible with each other. - Answers -b.

You can review the information related to this question in "Tutorial: Visual Studio projects & serialization" and "Video: Using the serialization tools". How do you deploy code into the Content Management instance when using the Getting Started template? Choose one. a. Run the up.ps1 script in PowerShell. b. Copy the src file to the cm container. c. Publish the RenderingHost project from Visual Studio. d. Publish the Platform project from Visual Studio. - Answers -d. You can review the information related to this question in "Tutorial: Visual Studio projects & serialization". What is the view window that is associated with Sitecore for Visual Studio? Choose one. a. Sitecore module explorer b. Sitecore Rocks c. Sitecore for Visual Studio d. Sitecore Serialization control - Answers -a. You can review the information related to this question in "Tutorial: Visual Studio projects & serialization" and "Video: Using the serialization tools". What is the Docker command for pulling the logs for the rendering container? Choose one a. docker rendering logs b. docker-compose logs -f rendering c. docker logs rendering -f d. docker-compose rendering logs - Answers -b. You can review the information related to this question in "Walkthrough: Managing your containers". The Getting Started template deploys what type of Sitecore architecture? Choose one a. Sitecore Experience Management XP b. Sitecore Experience Commerce XC c. Sitecore Experience Management XM d. Sitecore Experience Platform XP0 - Answers -d. You can review the information related to this question in "Tutorial: Sitecore Docker containers". What type of rendering will you be making when working with Sitecore ASP.NET Core Rendering SDK? Choose one a. Controller rendering b. MVC rendering c. View rendering d. JSON rendering - Answers -d. JSON rendering

d. In the Layout.cshtml file under the RenderingHost method - Answers -a. Why do you register the view? Choose one a. To keep documentation of what components have been created and which are yet to be completed. b. To provide the Content Editor with an index of available components for use with Sitecore placeholders c. To build a component catalog for the Layout Service when a request is made from a browser d. To provide the Sitecore placeholder with a component to be rendered when combined with output from the Layout Service - Answers -d True or False: You cannot view the results of component creation without accessing the Experience Editor. - Answers -false. Finished components can also be viewed directly from the rendering host URL. Why would you use a custom Rendering Contents Resolver with a JSON rendering? Choose one. a. Contents resolvers cannot be used with other rendering types, such as view or controller. b. You need access to more complex data from within Sitecore for the component you are creating. c. Contents resolvers are only used to create search components, which is the purpose of JSON renderings. d. JSON renderings cannot be added to placeholders without first including a contents resolver. - Answers -b. How does the Sitecore.LayoutService NuGet package support the development of more advanced components? Choose one. a. The package includes model and view templates that help you simplify the component creation process. b. The package provides libraries that are necessary for the creation of basic model- bound components. c. The package provides access to assemblies and types necessary for extending the Layout Service output. d. The package includes templates specifically for more advanced data structures necessary for view components. - Answers -c. Which of the following would be a good reason for using a custom view component rather than a model-bound view component? Choose one. a. The site needs a component for rendering basic content from a simple data source.

b. The business would like you to create a banner component with content based on a data template. c. The site needs a component that will integrate with a third-party source for content. d. The business needs a promotion component that highlights a single content item. - Answers -c. True or false: Because a partial view is used within another view's rendered output, you do not need to register it with the Startup.cs class. - Answers -false. Partial views, just like model-bound and custom view components, need to be registered in the Startup.cs class before they can be used by the rendering host to render data from the Layout Service output. Why would you want to use a contents resolver to display values from the Sitecore search indexes? Choose one. a. Because contents resolvers can provide a full list of items within the content tree to any given component. b. Because contents resolvers are the default index feature of Sitecore. c. Because contents resolvers allow you write custom C# code to affect the Layout Service output. d. Because a contents resolver is a prebuild search component for Sitecore and simplifies the process. - Answers -c. Which of the following do you use to register a non-default partial view in the Startup.cs class? Choose one. a. .PartialView() b. .RegPartialView() c. .AddView() d. .AddPartialView() - Answers -d. You can review the information related to this question in "Tutorial: Partial view and custom view components". Standard ASP.NET Core view components use model binding? True or false. - Answers -False. Model binding is not standard for view components but is possible with the Sitecore ASP.NET Core Rendering SDK.