Episerver Flashcards
Given the following page property, which blocks can an editor use in MainContentArea?
[AllowedTypes(new[] { typeof(BlueBlock, typeof(RedBlock)}, new[] {typeof(GreenBlock), typeof(RedBlock)})]
public virtual ContentArea MainContentArea { get; set; }
Select the best answer.
A. BlueBlock, RedBlock
B. BlueBlock, RedBlock, GreenBlock
C. BlueBlock
D. GreenBlock, RedBlock
C.
Which statement renders a ContentArea property for On-Page Editing?
Select the best answer.
A. @Html.EditorFor(m => m.MainContentArea)
B. @Html.DisplayFor(m => m.MainContentArea)
C. @Model.MainContentArea
D. @Html.PropertyFor(m => m.MainContentArea)
D.
For each of the following types of content, match the capability using Episerver Service API?
For example, A → 3, B → 1, C → 3, D → 2
A. CMS site (pages, blocks) 1. Import and export
B. Media 2. Import only
C. Forms submissions 3. Full CRUD operations
D. Commerce Product
A → 1, B → 2,
C → 1, D → 3
How can you improve performance of DDS queries?
Select the best answer.
A. Create indexes for the tblBigTable columns that follow the naming pattern Indexed_String01,
Indexed_String02, and so on.
B. Add additional columns to tblBigTable.
C. Implement a custom content provider for DDS.
D. Build an Entity Framework Data Model to access the data in DDS.
A.
How can you create custom validation in Episerver CMS that would prevent content from being
published if the validation rule was broken?
Select all that apply.
A. Implement IValidate interface for a content type.
B. Override Validate method of ContentData.
C. Create class that inherits from ValidationAttribute and apply it to a property.
D. Handle IContentEvents.PublishingContent event and set CancelAction to false.
E. Handle IContentEvents.PublishedContent event and set CancelAction to true.
A, C
What is the signature of IValidate.Validate() method?
Select the best answer.
A. IEnumerable Validate(IContent instance)
B. ValidationError Validate(T instance)
C. IEnumerable Validate(T instance)
D. ValidationError Validate(T instance)
C
Which of these elements can be localized in Episerver CMS? Select all that apply. A. Admin view’s user interface B. Edit view’s user interface C. Pages like Alloy Meet D. Folders like Documents E. Page types like ProductPage F. Media like an uploaded image
A, B, C, E
Where is the localization data stored for built-in Episerver localization provider? Select the best answer. A. *.resx files B. *.rс files C. Database D. None of the above
D (XML Files)
Which class does NOT implement IContent? Select the best answer. A. PageData B. BlockData C. ImageData D. VideoData
B
Which properties are available in the ContentType attribute? Select two. A. Availability B. AvailableInEditMode C. IncludeOn D. GUID E. Prompt F. Access
B, D
Which of the following are true?
Select all that apply.
A. IContentLoader can be used to get the children of a page by passing the page’s
ContentReference to the GetChildren() method.
B. IContentLoader can be used to get the parent of a page by passing the page’s ContentReference
to the GetParent() method.
C. IContentLoader implements IContentRepository.
D. IContentLoader will only return content items to which the current user has access.
A
Which of the following is true?
Select the best answer.
A. IContentLoader returns read-only versions of content whereas IContentRepository returns
content that can be updated.
B. IContentLoader only has methods to query content whereas IContentRepository only has
methods to update content.
C. IContentLoader only has methods to query content whereas IContentRepository has methods to
both query and to update content.
D. IContentLoader and IContentRepository are both part of a conspiracy by the US government to
take over the world.
C
Which cloud service does Episerver Languages add-on use for automatic translation?
Select the best answer.
A. Google Translate
B. Bing Translate
C. Episerver Translate
D. Automatic translation is not supported in Episerver Languages
B
For which of the following do you need an additional license for an on-premise deployment? Select all that apply. A. Episerver Languages B. Episerver Find C. Episerver Mail D. Episerver Social E. Google Analytics for Episerver
B, C, D
Which providers are included in Episerver Search by default? Select all that apply. A. PagesSearchProvider B. FilesSearchProvider C. MenuSearchProvider D. PicturesSearchProvider E. BlocksSearchProvider F. TypesSearchProvider
A, B, E
In the Change Log, which action can you NOT filter for? Select the best answer. A. Check in B. Check out C. Delete language D. Delete children
B
In A/B testing the test duration is defined using what unit of measurement? Select the best answer. A. Seconds B. Page Impressions C. Hours D. Days
D
While creating a page type from Admin view, what is the default value of the sort index field? Select the best answer. A. 100 B. 10 C. 1 D. -1
A
Which .NET Framework version should be targeted for Episerver development with Episerver CMS 11? Select the best answer. A. Latest B. 4.7.1 C. 4.5.2 D. 4.6.1
D
Personalisation can be applied to which of the following?
Select all that apply.
A. A page in a ContentArea property
B. A page in a ContentReference property
C. A page in the Pages tree in Navigation pane
D. A block in a ContentReference property
E. A block in a ContentArea property
F. An image in a ContentReference property
G. Some text in an XhtmlString property
H. An image in an XhtmlString property
A, C, E, G, H
In a load balanced environment, what Episerver feature can be used to invalid a page in object cache? Select the best answer. A. WCF UDP endpoint B. WCF TCP endpoint C. Remote Events D. Azure Service Bus
C
What is the unofficial recommended maximum number of children for each node? Select the best answer. A. 200 B. 100 C. None D. 1000
B
Which service type do we use for querying a Lucene index? Select the best answer. A. IContentLoader B. IPageCriteriaQueryService C. SearchHandler D. SearchClient
C
What are the benefits of Episerver CMS multi-site setup?
Select all that apply.
A. Share among your websites the same content assets, such as media files and blocks.
B. Run your websites on the same IIS application as long as you configure the site IIS to respond to
multiple host names.
C. Easily remove websites when they are not needed anymore.
D. Install websites through XCOPY deployment by copying application files.
A, B, C
The customer has a requirement to display on the company’s website a list of latest job vacancies.
Customer partners have public SOAP services to retrieve information about open job positions. What is
the best technology choice to implement required data integration?
Select the best answer.
A. Content Provider
B. Scheduled Job
C. Partial Router
D. Service API
C (least effort)
With Episerver Forms, which types can you derive from to create a custom Forms element? Select all that apply. A. PageData B. ElementBlockBase C. BlockData D. ValidatableElementBlockBase
B, D
Which products and services are included as components of DXC Service? Select all that apply. A. Episerver Search B. Microsoft Azure Service Bus C. Microsoft Azure Storage Queues D. Microsoft Azure SQL Database E. Microsoft Azure Storage Blobs F. Episerver Find
B, D, E, F
If you want to save an item implementing IContent, you need to get an instance of what?
Select the best answer.
A. EPiServer.IContentLoader
B. EPiServer.IContentRepository
C. Doesn’t matter which one you choose, both are valid and work in same manner, as long as you call
CreateWriteableClone method after calling the Get method.
B
When a page is created programmatically, what is the Status of the page immediately after creation? Select the best answer. A. Published B. AwaitingApproval C. NotCreated D. CheckedOut
C
If a property has an empty value, which means it is not stored in the database, what will it return? Select the best answer. A. 0 B. Empty string C. null D. false
C
<membership>
<providers>
<clear></clear>
<add></add>
<add></add>
<add name="SqlServerMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web,
Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
~~~
Which membership provider(s) are used to authenticate users when they log in to an Episerver site
with this configuration?
Select all that apply.
A. WindowsMembershipProvider
B. SqlServerMembershipProvider
C. MultiplexingMembershipProvider
~~~
</providers></membership>
A
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <languages> <language name="English" id="en"> <mystring>my string</mystring> <subnode> <myotherstring>my other string</myotherstring> </subnode> </language> </languages>
<localization>
<providers>
<add virtualPath="~/Resources/LanguageFiles" name="languageFiles"
type="EPiServer.Framework.Localization.XmlResources.FileXmlLocalizationProvider, ...
string label = LocalizationService.Current
.GetString("myotherstring");
~~~
You have configured the localization
provider as shown in the Web.config.
What does the following statement return?
Select the best answer.
A. null
B. my other string
C. my string
D. myotherstring
~~~
</providers></localization>
D
You have written the following statement to save changes to a page programmatically, but the current
user doesn’t have Publish access right to the content, and the statement throws an exception. Which
access level should you use to allow the page to be published? Select the best answer.
repo.Save(content,
EPiServer.DataAccess.SaveAction.Publish,
EPiServer.Security.AccessLevel._________);
. FullAccess
B. Publish
C. NoAccess
D. Edit
C
Which of the following properties can be set for the [TemplateDescriptor] attribute. Select all that apply. A. ModelType B. Name C. Type D. Inherited
A, B, D
Which of the following are options of the SaveAction enum that you would use with the
IContentRepository Save API in CMS 10? Select all that apply.
A. Publish
B. DelayedPublish
C. CheckOut
D. Save
E. Reject
A, C, E
Which two interfaces must be implemented by a content type to be stored in the content repository and versioned independently? A. IContentData B. IContentRepository C. IContent D. IVersionable
C, D
Which is not a method of IContentLoader? Select the best answer. A. GetChildren B. GetParent C. GetDescendents D. GetItems
B
A custom content provider can deliver which of the following content types? Select all that apply. A. Root Page B. Pages C. Start Page D. Blocks E. Media assets F. Waste Basket G. Folders
B, D, E, G
Full Text Search is supported by which of the following content providers? Select the best answer. A. Default Content Provider B. Custom Content providers C. Remote Page Provider D. All of the above
A
Which of the following statements about caching are true?
Select all that apply.
A. Object cache and output cache invalidate stored objects using Remote Events.
B. Object cache stores read-only objects.
C. Object cache stores objects on the client-side.
D. Output cache invalidates when content is published.
E. File caching uses IIS kernel caching to boost performance.
A, B, D, E
Which of the following statements caches the response for 20 minutes, assuming Web.config has a default configuration? Select the best answer. A. [ContentOutputCache(Duration = 1200)] B. [ContentOutputCache(Duration = 20)] C. [OutputCache(Duration = 1200)] D. [ContentOutputCache]
A
Which of the following statements are true regarding Initialization Modules?
Select all that apply.
A. Contains Initialize and Uninitialize methods
B. Initialize method is guaranteed to be called only once
C. If an exception occurs the system gets re-started
D. If an exception occurs initialization is stopped, retries at next incoming request
A, D
If a page is scheduled to be published at 10:30 am and the Publish Delayed Content Versions scheduled job is running every one hour starting at 09:00 am, when will the page be published? Select the best answer. A. 09:00 am B. 10:00 am C. 10:30 am D. 11:00 am E. 11:30 am
D
When testing a scheduled job, as well as manually starting the job, why should you let the scheduler
trigger it as well?
Select the best answer.
A. To check that the system clock is synchronized.
B. Jobs triggered manually are ran in the context of the current user, while scheduled jobs don’t
automatically run under any user context.
C. Manually triggered jobs are ran on the IIS worker process, while scheduled jobs run under the
windows scheduler.
D. There is no need, jobs triggered manually and automatically are identical.
B
Where should you register your own dependency resolver?
Select the best answer.
A. In the Global.asax
B. In an OWIN StartUp class
C. In an initialization module implementing IConfigurableModule
D. In an initialization module implementing IInitializationModule
C
In a multi-site multi-server deployment scenario, which of the following is correct?
Select the best answer.
A. Each site has its own content database that is kept synchronized using Remote Events.
B. Load-balancing across multiple servers uses Remote Events to invalidate cached objects.
C. Load-balancing across multiple servers requires the Episerver CMO add-on.
D. Each site has its own file share for BLOBs that is kept synchronized using Mirroring.
B
What does the following statement do if contentReference is not a NewsPage?
Select the best answer.
var newsPage = loader.Get(contentReference) as NewsPage;
A. Throws an exception.
B. Returns the Root page.
C. Returns an instance of the default content type.
D. Returns null.
D
Which of these Web.config elements controls caching for content assets like an image or PDF? Select the best answer. A. B. C. D.
B
How many mandatory fields are there in the DDS? Select the best answer. A. 2 B. 3 C. 4 D. 6
C
Which attributes can you apply to a class for a content type? Select all that apply. A. [ContentType] B. [Display] C. [Access] D. [UIHint] E. [ImageUrl] F. [AvailableContentTypes] G. [GroupDefinitions]
A, C, E, F
Which interface should you implement if you want to create a controller class that would be detected by the CMS template resolver? Select the best answer. A. IController B. ITemplate C. IRenderTemplate D. IRenderController
C
If an editor wants to preview a page in various languages, what should the editor do?
Select the best answer.
A. Change the browser settings to various languages, and in the page’s toolbar, toggle Preview mode.
B. In the page’s basic information area, use Tools and Language Settings to switch to various
languages.
C. In the page’s toolbar, toggle view settings to various languages.
D. In Admin view, change the master language of the site to various languages.
C
Which of these are not features of Episerver Search? Select all that apply. A. Full-text search B. Event driven indexing C. Dynamic Facets D. Static facets E. DXC Service compatible
C, E
Which of these statements are true of XForms?
Select all that apply.
A. Client-side validation can be performed.
B. Server-side validation can be performed.
C. XForms form definitions implement IContent.
D. XForms form submissions must be stored in DDS.
E. XForms implement a W3C standard.
A, B, E
Which of these statements are true about Episerver Forms? Select all that apply. A. Supports Episerver CMS 9 and higher. B. Installed by default. C. Allows file uploads. D. Supports conditional fields
A, C, D
Which of the following attributes will affect visitors and can be passed to the “AdditionalViewData”
parameter in the following statement instead of “???”
@Html.PropertyFor(x => x.CurrentPage.MainContentArea,
additionalViewData: new { ??? = “something” })
Select all that apply.
A. CustomTag
B. CssClass
C. id
D. @class
E. ChildrenCustomTagName
A, B, E
Which of the following data types are supported out-of-the-box? Select all that apply. A. string B. ContentReference C. float D. bool E. string[]
A, B, D