Ace001 4-0

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 54

ACE001

Alfresco Certified Engineer

Version 4.0

QUESTION NO: 1

In share-config-custom.xml you see the following line <show id="ge:effectiveDate" for-


mode="edit" force="true">. Which two things are true?

A. The ge:effectiveDate field will be editable in create, edit and view form modes.

B. The ge:effectiveDate field will be forced to be editable in all form modes.

C. The ge:effectiveDate field must be edited by the user before the form can be saved.

D. The forms system will try to find ge:effectiveDate on an aspect even if not defined on the
node being displayed.

E. The ge:effectiveDate field will be forced to be editable in view mode only.

F. The ge:effectiveDate field will only appear in edit mode, it will not be shown in view or create
modes.

Answer: D, F

QUESTION NO: 2

You have determined that you need to increment a workflow variable named "counter" after a
userTask has been completed. Identify where you should place this logic into.

A. The "transition" event on the sequence flow following the userTask node

B. The "assign" listener on the userTask

C. The condition on the sequence flow following the userTask


D. The "complete" listener on the userTask

Answer: D

QUESTION NO: 3

When using Solr indexing both the repository and Solr have their own public/private key pair,
which are stored in their own respective keystores. What is this used for?

A. To protect communications between the Solr and Alfresco Share using SSL without mutual
authentication.

B. To encrypt, and protect, the document content stored in the repository.

C. To protect communications between the repository and Solr using SSL with mutual
authentication.

D. To encrypt, and protect, the underlying Lucene index used by Solr.

Answer: C

QUESTION NO: 4

When using Solr indexing the index is said to be "eventually consistent". This is because:

A. the index will only be consistent after a server restart.

B. the index will become consistent when there are no more transactions to index.

C. the index becomes consistent once a day when the index job runs.

D. the Solr index can only be consistent when the Lucene index job eventually runs.

Answer: B
QUESTION NO: 5

What is the primary JavaScript framework employed on the client-side tier in Share?

A. YUI

B. Prototype

C. Vaadin

D. jQuery

E. Dojo

Answer: A

QUESTION NO: 6

Which two approaches can be used to define a set of reusable metadata fields?

A. Define a datalist with the required properties and assign the datalist to each type or aspect
through an association.

B. Define and use the same property names in the different types that need those fields.

C. Define a base type which holds the common properties and have all the types that need those
fields inherit from the base type.

D. Create an aspect and apply it as a mandatory aspect to all the types which need the properties.

E. Define a global type which holds the common properties, then define an association from each
type requiring the properties back to the global type.

Answer: C, D

QUESTION NO: 7
You have been tasked to develop a solution that will notify an external system when updates are
made to certain documents. These documents can be of any type and the content authors will
make the decision if the document needs this "notification" functionality. Select the simplest
steps to implement this solution.

A. Define a new "notify" aspect with a "multi" peer association. Create and register a policy
behavior that, when content is updated, users can associate their content via this aspect. As
associations are being made, the external notification request will be triggered.

B. Define a new "notify" aspect with no properties. Create and register a policy behavior that, if
this aspect is present, will make the external notification request. Users can simply add this
aspect to their content item.

C. Extend cm:content to provide an additional "notify" property. Create a policy behavior that
will look at the "notify" property and, if set, make the external notification request. Users simply
create cm:content items.

D. Extend sys:base to provide an additional "notify" property. Create a new policy that will look
at the "notify" property and, if set, make the external notification request. Users can simply call
an action against their content item.

Answer: B

QUESTION NO: 8

During development, your content repository has become unusable due to invalid content. Which
two actions are required to recover?

A. Modify alfresco-global.properties and setup Lucene to rebuild indexes.

B. Restore the alf_data directory from a good backup.

C. Destroy the database schema and restart.

D. Delete the exploded webapp directory name "Alfresco".

E. Restore the database from a good backup.

Answer: B, E
QUESTION NO: 9

When using Solr indexing the index is said to be "eventually consistent". What does this mean?

A. Searches may return incomplete results, until the index is consistent

B. Searches will return wrong results, until the index is consistent.

C. Searches will return no results, until the index is consistent.

D. Search behavior does not change as this is just a marketing term.

Answer: A

QUESTION NO: 10

What output format is generally implemented by Alfresco's presentation web scripts?

A. YAML

B. Markdown

C. HTML

D. Atom

Answer: C

QUESTION NO: 11

When customizing the "Advanced Search" in Share and adding a date property to the search
form:

A. the date range control needs to be specified in share-config-custom.xml.


B. a Java-backed web script to deal with dates needs to be created and referenced in share-
config-custom.xml.

C. Share will automatically provide a date range control for dates.

D. a date range control needs to be created in FreeMarker, then specified in share-config-


custom.xml.

Answer: A

QUESTION NO: 12

A RESTful API is called via the URL /example/test/helloworld.html, relative to the RESTful
API base URL. What <url> value must be declared in the script's descriptor to configure this?

A. helloworld

B. /example/test/helloworld

C. /example/test/helloworld.html

D. /example

Answer: B

QUESTION NO: 13

Select the type of nodes on which content rules can be defined.

A. Content

B. DataList

C. Folders

D. Person

E. Aspect
Answer: B, C

QUESTION NO: 14

In Share dashlets are described by which family types?

A. region-dashlet

B. dashboard-dashlet

C. admin-dashlet

D. site-dashlet

E. user-dashlet

F. page-dashlet

G. dashlet

Answer: D, E, G

QUESTION NO: 15

All new objects created in the repository will inherit an ACL from:

A. the folder where it is created.

B. the system-wide default ACL.

C. the type's default ACL.

D. the user's default ACL.

Answer: A
QUESTION NO: 16

After the QA Review is complete which sequence flows will be taken?

A. Both the "Approve" and "Reject".

B. It depends on the conditions defined on the sequence flows.

C. The "Approve" flow will always be taken.

D. The default flow is always triggered.

E. The "Reject" flow will always be taken.

Answer: B

Architecture

In this section there are items requiring a response.

QUESTION NO: 17

What information is stored under the "alf_data" directory? Choose two.

A. Configuration files
B. Content files

C. Content metadata

D. Database files

E. Full-text indexes

Answer: B, E

QUESTION NO: 18

Why do we use the {extensionRoot} directory? Identify the two correct answers.

A. This is the first place that the server searches for extensions when it starts.

B. To insure that my spring beans load before any Alfresco beans.

C. To isolate your extensions from the upgrade process.

D. To make content migration simpler.

E. To override Alfresco provided defaults.

Answer: C, E

QUESTION NO: 19

Alfresco Share is built on which of the following frameworks?

A. DoJo

B. Grails

C. Kendo UI

D. Vaadin

E. Spring Surf
F. Spring Sail

Answer: E

QUESTION NO: 20

Select the two items that may appear within a custom content model.

A. The model's namespace

B. References to other namespaces

C. Property sheet definitions

D. Policy behaviors for a content type

E. Localization strings

Answer: A, B

QUESTION NO: 21

On a system using Solr indexes during a document upload Alfresco uses the following process:

1. Start a transaction.

2. Update the database

3. Write the content to the file system

4. Commit the transaction assuming a system crash AFTER step 3, what would be state of the
system?

A. The system would be just as it was before the transaction started.

B. The document would have been uploaded and would be marked for Solr indexing.

C. The document would have been uploaded and would be marked read-only.
D. The document information would be in both the database and file system, but would be
invisible.

E. The content file would exist on the system, but the database would rollback.

Answer: E

QUESTION NO: 22

Which two namespaces are normally imported when defining a new workflow model?

A. http://www.alfresco.com/model/workflow/1.0

B. http://www.alfresco.com/model/wfc/1.0

C. http://www.alfresco.com/model/bpm/1.0

D. http://www.alfresco.com/model/content/1.0

E. http://www.alfresco.com/model/dictionary/1.0

Answer: C, E

UI Customization

QUESTION NO: 23

Which of the following is the correct name of a helper class that should be extended to define
your own Java-backed web scripts that take full control over the request?

A. WebScriptImpl

B. DeclarativeWebScript

C. BasicWebScript

D. AbstractWebScript
Answer: D

QUESTION NO: 24

In FreeMarker what directive is used to create a plain variable?

A. plain

B. list

C. set

D. var

E. assign

Answer: E

QUESTION NO: 25

In a default installation where are the configuration files used to configure Solr located?

A. ~/alf_data/contentstore/solr

B. ~/alf_data/solr/<store_name>/conf

C. ~/tomcat/shared/classes/solr

D. ~/tomcat/webapps/solr/WEB-INF

E. ~/tomcat/conf/solr/<store_name>

Answer: B
QUESTION NO: 26

A repository web script is defined with the URL '/myco/hello-world' in its descriptor document
and requires user authentication. What URL can be used by Share to access the web script in the
context of the logged-in user?

A. http://server/share/proxy/myco/hello-world

B. http://server/share/alfresco/myco/hello-world

C. http://server/share/myco/hello-world

D. http://server/share/proxy/alfresco/myco/hello-world

Answer: D

QUESTION NO: 27

How many workflow execution tokens are created initially when a "Review and Approve"
workflow is started?

A. One for "Review" and one for "Approve"

B. One per user task

C. One per user within an assigned group

D. One

Answer: D

QUESTION NO: 28

Which JavaScript file, provided in the 'js' directory inside the Share web application, defines
commonly-used client-side utility functions?

A. common.js
B. util.js

C. slingshot.js

D. alfresco.js

Answer: D

QUESTION NO: 29

Which one of the following statements about aspects is true?

A. Aspects can only be applied to "cm:content".

B. An aspect can have a type as a parent.

C. An aspect may not include associations.

D. Aspects can inherit from other aspects.

Answer: D

Repository Customization

In this section there are items requiring a response.

QUESTION NO: 30

"cm:content" is part of which model?

A. system

B. dl

C. content

D. application
Answer: C

QUESTION NO: 31

When configuring Share through share-config-custom.xml you can group fields using which
element?

A. <block>

B. <for-mode>

C. <form>

D. <set>

E. <group>

Answer: D

QUESTION NO: 32

Which of the following is one of the three basic permissions in the CMIS Domain Model?

A. cmis:write

B. cmis:update

C. cmis:setcontent

D. cmis:delete

Answer: A

Web Scripting
In this section there are items requiring a response.

QUESTION NO: 33

Which two of the following statements are true about the differences between the Alfresco
JavaScript API and the Alfresco FreeMarker API?

A. Only JavaScript API allows the modification of nodes.

B. Only FreeMarker API allows the creation of nodes.

C. Only FreeMarker API allows the user to perform Lucene searches.

D. Only FreeMarker API allows access to workflows.

E. Only JavaScript API allows the creation of nodes.

Answer: A, E

Alfresco API

In this section there are items requiring a response.

QUESTION NO: 34

Which of the following changes can NOT be made in the share-config-custom.xml file.

A. Setting the labels for fields on the "Search" dialog.

B. Setting a label for a type on the "Change Type" dialog.

C. Changing the FreeMarker template that controls the display of a field.

D. Grouping fields into sets on the "Edit Metadata" page.

Answer: B
QUESTION NO: 35

In Share the DocumentLibrary defines a number of "action groups" which determine the actions
shown to the user. The action group used is determined by:

A. The default action group on the folder.

B. The aspects applied to the node.

C. The mime type of the node.

D. The status of the document.

E. The current user.

F. The view currently in use.

G. The type of node.

Answer: F, G

QUESTION NO: 36

Share commonly uses asynchronous HTTP requests with callback functions to retrieve data from
the respository. What is the primary advantage of using this approach in your own
customizations?

A. Data is automatically parsed into the correct format.

B. It reduces the number of round-trips to the server.

C. It does not require any client-side code.

D. The initial page load time is reduced.

Answer: D
QUESTION NO: 37

A web script has a JavaScript controller script named 'helloworld.get.js'. What is the correct
name for the output template associated with the web script, which will return data in JSON
format?

A. helloworld.get.json.ftl

B. helloworld.get.json

C. helloworld.get.js.json

D. helloworld.get.ftl

Answer: A

QUESTION NO: 38

Identify which of the following is NOT a default subsystem provided by Alfresco.

A. Synchronization

B. Quartz scheduler

C. IMAP

D. Authentication

Answer: B

QUESTION NO: 39

Which of the following is NOT an out-of-the-box root scoped object in the Java Script API?

A. space

B. log
C. document

D. companyhome

Answer: B

Web Scripting

In this section there are items requiring a response.

QUESTION NO: 40

Identify the proper use of a metadata extractor.

A. To extract content metadata to a file for importing.

B. To retrieve metadata from a document to be used in workflow.

C. To use data within a document as property values.

D. To use externally accessible data as metadata.

Answer: C

QUESTION NO: 41

Which FreeMarker expression would be used to access the presentation template that is being
applied to the node?

A. template

B. node.template

C. node.document

D. document

E. document.template
Answer: A

QUESTION NO: 42

Why is Alfresco NOT able to support NTLMv2 with "passthru"?

A.: NTLMv2 requires a Windows Server 2008 (or higher) for the repository.

B. NTLMv2 prohibits "man-in-the-middle" interceptions.

C. NTLMv2 is unsecure and is no longer widely used.

D. NTLMv2 is not supported on Linux-based systems.

Answer: B

QUESTION NO: 43

What is the name of the HTTP header that can be used to specify a HTTP method that is not
supported by the client?

A. X-HTTP-Method-Override

B. HTTP-Use-Method

C. HTTP-Method-Override

D. Alf-HTTP-Method

Answer: A

Repository Customization

In this section there are items requiring a response.


QUESTION NO: 44

This workflow shows 3 gateways. What type are they?

A. Exclusive

B. Parallel

C. Inclusive

D. Fork

E. Join

Answer: A

QUESTION NO: 45

The "QA Review" task is of type activitReviewTask, this sets a task variable called
wf_reviewOutcome with a value, either "Approve" or "Reject". What needs to be done to use
this value to successfully chose the right sequence flow?
A. The task variable needs to be copied to the execution level using a "complete" task listener on
the "QA Review" task.

B. The task variable needs to be copied to the execution level using a "take" listener on the
sequence flow to the gateway.

C. The task variable is automatically copied to the execution level on task completion by
Activiti.

D. The task variable needs to be added to the workflow package and saved to the repository.

E. The task variable needs to be copied to the execution level using a "create" task listener on the
"Notify Author" task.

Answer: A

QUESTION NO: 46

A web script has a JavaScript controller script named 'helloworld.get.js'. What is the correct
name for the descriptor document associated with the web script?

A. helloworld.get.xml

B. helloworld.get.desc.xml

C. helloworld.get.config.xml

D. helloworld.desc.xml
Answer: B

QUESTION NO: 47

If you configure a single authentication subsystem of a type that does not support CIFS
authentication, what will occur when a user attempts to use the CIFS interface?

A. They will be unable to map it and will receive a message stating that CIFS is not currently
available.

B. They will be unable to map to it since Alfresco would have disabled it.

C. They will be able to map to it; however, they will only see the "shadow file" named:
_Unavailable.

D. They will be able to map to it; however, no documents or folders will appear.

Answer: B

Architecture

In this section there are items requiring a response.

QUESTION NO: 48

In the Alfresco architecture, presentation web scripts may be defined in which tiers?

A. Web tier only

B. Both repository and web tiers

C. Repository tier only

D. Repository tier, web tier and client-side tier

Answer: B
QUESTION NO: 49

Identify the id for the public/proxy bean of the search service.

A. SearchService

B. searchService

C. searchservice

D. Searchservice

Answer: A

QUESTION NO: 50

In the following example of an action group definition in Share: <action index="100" id="start-
sop-workflow" /> What does the index="100" refer to?

A. The fade delay in milliseconds for the action in the user interface.

B. The index id of the icon to be used for the action.

C. The index id of the action item in the data dictionary.

D. The ordering of the items in the action items in the display.

Answer: D

QUESTION NO: 51

What are the minimum steps needed to add a custom search form in Alfresco Share?
A. Define your form using Share form configuration and add the definition to the
'AdvancedSearch' configuration section in share-config-custom.xml.

B. Define your form mark-up in a FreeMarker file, add the definition to the 'AdvancedSearch'
configuration section in share-config-custom.xml, and provide a web script to handle search
requests.

C. Define your form mark-up in a FreeMarker file and add the definition to the 'AdvancedSearch'
configuration section in share-config-custom.xml.

D. Define a web script to render the form, a web script to handle search requests, and add the
definitions to the 'AdvancedSearch' configuration section in share-config-custom.xml.

Answer: A

QUESTION NO: 52

What limitation do Web Scripts that use the "runAs" attribute of the "<authentication>" element
in their descriptor have?

A. They cannot be used with Tomcat 7.

B. They cannot reside in the classpath.

C. They are not automatically reloaded.

D. They cannot reside in the data dictionary.

Answer: D

QUESTION NO: 53

Identify the point where Alfresco-specific database tables are created within the database.

A. On the first login by the "admin" user.

B. Prior to installing Alfresco.


C. During the initial startup of the application server.

D. During installation before the application server starts.

Answer: C

QUESTION NO: 54

You have created a Dashlet for Alfresco share and deployed your files to the correct directory.
You have then refreshed the Share webscripts, but the number of webscripts stays the same.
What is the most likely cause of this?

A. You are using Internet Explorer, you should be using Firefox.

B. Share needs to be restarted, refreshing webscripts is not enough.

C. Your files do not adhere to the standard naming convention.

D. The cache on the browser needs to be cleared.

E. You did not register the dashlet with the data dictionary.

Answer: C

QUESTION NO: 55

What are the mandatory components of a non-Java-backed data web script?

A. An XML descriptor only

B. An XML descriptor, JavaScript controller, and an output template

C. A JavaScript controller and an output template

D. An XML descriptor and an output template

Answer: D
QUESTION NO: 56

Select the element that will allow any node to be included as part of a peer association.

A. <target><type>sys:base</type></target>

B. <target><type>ANY</type></target>

C. <target><class>sys:base</class></target>

D. <target><class>ANY</class></target>

Answer: C

QUESTION NO: 57

What is the full name for the type of software architecture generally referred to as REST?

A. Resource Stateless Transfer

B. Representational State Transfer

C. Representational Stateless Transfer

D. Representational Scripting Terminal

Answer: B

QUESTION NO: 58

Which of the following is NOT an FreeMarker directive?

A. switch
B. else

C. while

D. if

Answer: C

QUESTION NO: 59

The core web scripts provided with Share are defined in which classpath location, in the Share
web application?

A. /alfresco/webscripts

B. /alfresco/site-webscripts

C. /alfresco/templates/site-webscripts

D. /alfresco/templates/webscripts

Answer: B

QUESTION NO: 60

Which one of the following types could be used as a parent for a workflow task.

A. wf:reviewTask

B. bpm:workflowItem

C. wf:userTask

D. bpm:startNode

Answer: A
QUESTION NO: 61

Which of the following is the correct name of a helper class that should be extended to define
your own web scripts that mix Java, JavaScript, and templates?

A. WebScriptImpl

B. DeclarativeWebScript

C. BasicWebScript

D. AbstractWebScript

Answer: B

QUESTION NO: 62

If an object is moved to a different folder, what will happen to the security permissions?

A. It will inherit the ACL from the new parent folder.

B. It will inherit the ACL from the user who is moving it.

C. It will inherit the system wide ACL.

D. It will keep its old ACL.

Answer: A

QUESTION NO: 63

According to best practice how would you change the response buttons on the task form for the
"Revise SOP" task to show "Resubmit/Terminate" rather than "Approve/Reject"?
A. By creating a new task type to replace activitiReviewTask.

B. By changing the labels on the outgoing sequence flows.

C. By reassigning the labels in the associated resource file.

D. By adding the new buttons using Share configuration.

E. Such a change cannot be made on user tasks.

Answer: A

QUESTION NO: 64

When updating aspect-provided properties on a given node, what must be called to save the
values against the node?

A. mynode.updateAll()

B. mynode.save()

C. mynode.properties.save()

D. mynode.aspects.save()

Answer: B
QUESTION NO: 65

In Share a simple and effective way to modify existing pages is to:

A. Make a copy of the existing page, make your changes and redeploy the page to
{extensionRoot}/alfresco/extensions/share

B. Use SurfBug to determine the location of your new page component and then create a
WebScript to provide the needed functionality.

C. Use FireBug to determine the location of the new page component, then re-write the
underlying WebScript using FreeMarker.

D. Download the Slingshot application from SourceForge and change the appropriate page, then
rebuild the share.war file and deploy.

Answer: B

QUESTION NO: 66

When configuring date fields for advanced search in share-config-custom.xml you need to
override the normal Freemarker control date.ftl. Why?

A. If this is not done then the date control will always include times that cause the search to fail.

B. In advanced search users must never use a date-picker control.

C. In advanced searches users must always use a date-picker control.

D. Creating your own control allows a default date to be set for searching.

E. Because in searches users need to be able to specify date ranges rather than a single date.

Answer: E

QUESTION NO: 67
Select the two ways in which to invoke a content transformation on Microsoft Excel 2000 and
Microsoft Excel 2007 documents via rules.

A. Define a rule that has both mimetypes defined as criteria and invoke the transformation
action.

B. Define a rule that has the "Microsoft Excel 2007" mimetype defined as criteria and invoke the
transformation action.

C. Define a rule in the Data Dictionary with the mimetype ".xls%".

D. Define two rules, one for each mimetype, defined as criteria and invoke the transformation
action.

E. Define a rule based on the metadata field "cm:type" defined as criteria and invoke the
transformation action.

Answer: A, D

QUESTION NO: 68

Which of the following values is NOT a valid web script family for dashlet web scripts?

A. user-dashlet

B. site-dashlet

C. alfresco-dashlet

D. dashlet

Answer: C

QUESTION NO: 69

Which two of the following clauses are mandatory parts of a CMIS query?
A. ORDER BY

B. HAVING

C. SELECT

D. WHERE

E: FROM

Answer: C, E

QUESTION NO: 70

Which statement would return the currently logged in user's username?

A. session.userName

B. session.properties["cm:userName"]

C. person.userName()

D. person.properties.userName

Answer: D

QUESTION NO: 71

What is the default file extension for an Alfresco Module Package?

A. ACP

B. AMP

C. EXT

D. TAR

E. ZIP
Answer: B

QUESTION NO: 72

A RESTful API is called via a POST request to the URL /example/mycontent/item1, relative to
the RESTful API base URL. Based on your knowledge of Alfresco's RESTful API and the REST
architecture, what will be the logical result of this?

A. The existing resource 'item1' is updated.

B. The existing resource 'item1' is deleted.

C. The content of the resource 'item1' is returned to the user.

D. A new resource 'item1' is added.

Answer: D

QUESTION NO: 73

Identify two items that are stored in the Alfresco database.

A. Content files

B. Content metadata

C. Full text indexes

D: alfresco.war and share.war

E. Workflow instance data

Answer: B, E
QUESTION NO: 74

Given the NodeRef of an item in the Alfresco repository, which content items can NOT all be
retrieved using the 'getContent' RESTful API?

A. The cm:content property of all thumbnails associated with the content item

B. The cm:content property of all children of the item

C: All d:content properties residing on the item directly, which have a name other than
'cm:content'

D. All d:content properties residing on the item directly, which have a namespace other than
'cm:'

Answer: B

QUESTION NO: 75

Which one of the following is NOT exposed to the repository JavaScript API?

A. Database

B. Search

C. Node

D. Content properties

Answer: A

QUESTION NO: 76

Which function can be used in the SELECT clause of a CMIS query to return a measure of the
relevance of each row, in numerical format?

A. VALUE()
B. POS()

C. RANKING()

D. SCORE()

Answer: D

QUESTION NO: 77

Which two of the following are NodeService policies?

A. OnCopyNodePolicy

B. OnContentReadPolicy

C. OnAddAspectPolicy

D. OnCreateNodePolicy

E. OnNodeUpdatePolicy

Answer: C, D

QUESTION NO: 78

The JavaScript ScriptNode API expression "node.assocs":

A. Returns a complete read only list of all associations.

B. Returns the list of all associations which can be changed and modified.

C. Returns the list of child associations which are read only.

D. Returns the list of child associations which can be changed and modified.

Answer: A
QUESTION NO: 79

In the Share web application, how are themes defined?

A. In XML files on the classpath

B. In the configuration file share-config-themes.xml

C. In JSON files stored in the repository

D. In JSON files stored on the classpath

Answer: A

QUESTION NO: 80

According to the HTTP 1.0 specification, in which of the following circumstances should a
POST script generally be used?

A. When the request will result in a change being effected on the underlying data or system.

B. When the request needs to cross a firewall.

C. When submitting the values of a completed form.

D. When executing a search.

Answer: A

QUESTION NO: 81

A client-side module is defined in the JavaScript file 'alfresco/test/mycomponent.js' inside the


Share web application. What is the equivalent file which should contain the compressed
JavaScript used on production servers?
A. build/alfresco/test/mycomponent.js

B. compressed/alfresco/test/mycomponent.js

C. alfresco/test/mycomponent-compressed.js

D. alfresco/test/mycomponent-min.js

Answer: D

QUESTION NO: 82

Explain the behavior of the inherited ACL of an object that is moved to different folder.

A. The object will combine the ACLs from the original and new folders.

B. The object will inherit the ACL from the new parent folder.

C. The object will keep the ACL as originally specified.

D. The object will revert to the ACL of the "Company Home" folder.

Answer: B

QUESTION NO: 83

Under what circumstances would you create an aspect that did not define any properties or
associations?

A. To inform the repository that additional properties may be added to content items at a later
time.

B. For implementing a behavioral change to the repository.

C. To establish an inheritance model that other aspects can inherit from.

D. To indicate that an aspect is marked for deletion.


Answer: B

QUESTION NO: 84

In Share form appearance, such as fonts, label alignment etc. can be controlled by:

A. adding a CSS file in the /Data Dictionary/Appearance folder.

B. creating a new freemarker template.

C. using an <appearance> tag in share-config-custom.xml.

D. using a javascript and defining dependencies.

E. using CSS files and defining dependencies.

Answer: E

QUESTION NO: 85

After a content transformation is performed, what happens to the original content item?

A. It depends on how the transformation was configured.

B. It is replaced by the transformed content item.

C. It is versioned and updated.

D. It remains untouched.

Answer: D

QUESTION NO: 86
When rendering the contents of a user-supplied value within a presentation web script
FreeMarker template, what is the name of the FreeMarker string function that should be used to
escape any markup in the value?

A. url

B. html

C. htmlencode

D. msg

Answer: B

QUESTION NO: 87

When using Solr indexing with Alfresco which of the following application servers can be used?

A. Jetty

B. JBoss

C. WebSphere

D. WebLogic

E. Tomcat

Answer: E

QUESTION NO: 88

You are using an Alfresco system configured to use the Solr search subsystem with the default
configuration. Select the option that best describes the chain of events that occurs when a new
document is added.
A. The document is transformed and indexed in-transaction as a part of the document creation
process, and the document contents are immediately searchable.

B. The document is created in Alfresco. Solr is notified that a new document is available for
indexing. Indexing is carried out and the document contents are immediately searchable.

C. The document is created in Alfresco. A scheduled Solr job polls Alfresco for new or updated
content. The new document is indexed. The document content may not be immediately
searchable.

D. The document is sent to the Solr subsystem which transforms and indexes the content. Once
indexing is complete, the document is sent to the repository.

Answer: C

QUESTION NO: 89

How can the default security roles be modified?

A. Through the Administration control panel in Share.

B. Through the System Administration panel in Alfresco Explorer.

C. By adding a new content model with the required permissions.

D. By overriding the configuration in permissionDefinitions.xml.

Answer: D

QUESTION NO: 90

On a system using Lucene indexes during a document upload Alfresco uses the following
process:

1. Start a transaction.

2. Update the database.

3. Write the content to the file system.


4. Update the full text index.

5. Commit the transaction.

Assuming a system crash AFTER step 3, what would be state of the system?

A. The system would be just as it was before the transaction started.

B. The document would have been uploaded and would be marked read-only.

C. The document would have been uploaded and would be marked for FT indexing.

D. The document information would be in both the database and file system, but would be
invisible.

E. The content file would exist on the system, but the database would rollback.

Answer: E

QUESTION NO: 91

Administration console components must, at a minimum, provide what?

A. A web script referenced in share-config-custom.xml

B. A web script in the family 'admin-console'

C. A web script in the package '/org/alfresco/admin'

D. A client-side component

Answer: B

QUESTION NO: 92

Presentation web scripts often provide an additional type of file that data web scripts do not.
What is the correct suffix given to this file?
A. .xml

B. .properties

C. .presentation

D. .markup

Answer: B

QUESTION NO: 93

In Share templates are used to define a common look and feel for pages. Templates can be
defined with which of the following "scopes"?

A. Header

B. Site

C. Page

D. Body

E. Template

F. Sequential

G. Global

Answer: C, E, G

QUESTION NO: 94

Which web script object can be used to retrieve the values of web script parameters specified in-
line within the URL path, within FreeMarker templates and JavaScript code?

A. url.templateArgs

B. url.args
C. arguments

D. args

Answer: A

QUESTION NO: 95

Describe the purpose of a content policy.

A. To allow for model constraints, such as LIST and ENUM constraints.

B. To initiate Java code in response to predefined events.

C. To limit which user/group can create certain types of content.

D. To validate content against a strict model XSD.

Answer: B

QUESTION NO: 96

Which of the following HTTP methods is NOT supported by the web scripts framework by
default?

A. PUT

B. GET

C. DELETE

D. OPTIONS

Answer: D
QUESTION NO: 97

In reviewing a JavaScript file, you notice a built-in object named: qsvc. Describe how this object
was made available to JavaScript.

A. A new class extended the BaseProcessorExtension class and a bean definition specified the
name "qsvc".

B. A class named "qsvc" extended the BaseProcessorExtension class and a bean with a parent of
"qsvc" deployed this class.

C. A class named "qsvc" extended the BaseProcessorExtension class and a bean deployed this
class.

D. A class extended the ScriptAPI class and a bean definition deployed this class.

Answer: A

QUESTION NO: 98

Which two of the following tasks would require a restart of the Alfresco server to apply the
changes?

A. Deploying a new content model into Data Dictionary/Models.

B. Deploying a new content model via a *-context.xml file.

C. Deploying a new workflow through the Activiti workflow console.

D. Making configuration changes in alfresco-global.properties.

E. Making configuration changes via JMX.

Answer: B, D

QUESTION NO: 99

What functionality does the inbound email subsystem provide?


A. Content injection via email.

B. Workflow task interaction via email.

C. Mail filtering for known "Alfresco" users.

D. Remote management of the repository via email.

Answer: A

QUESTION NO: 100

Which of the following correctly describes the behavior of CMIS properties?

A. Properties can be single or multi-valued.

B. Properties can be shared between objects.

C. Properties are untyped.

D. Properties are explicitly ordered.

Answer: A

QUESTION NO: 101

With Share configuration you can control which aspects a user sees. What other two things can
you control?

A. The combinations of aspects that can be applied.

B. The aspects that can be applied based on the underlying type.

C. The aspects that can be removed once applied.

D. The aspects a user can add.

E. The aspects that are mandatory.


Answer: C, D

QUESTION NO: 102

For an Alfresco repository accessible via the URL http://server/alfresco, which two of the
following would be valid base URLs for accessing the RESTful API?

A. http://server/alfresco/s

B. http://server/alfresco/restful

C. http://server/alfresco/script

D. http://server/alfresco/ws

E. http://server/alfresco/service

Answer: A, E

QUESTION NO: 103

Which of these methods will successfully deploy a content model?

A. Create a Spring bean definition file that deploys the model from the extension directory.

B. Place the model in the JVM's classpath and restart Alfresco.

C. Upload the model to Company Home/Data Dictionary/Content Model and set the "deployed"
property to "true".

D. Upload the model to Company Home/Data Dictionary/Models.

Answer: A
QUESTION NO: 104

JSON is an acronym for what data format, commonly used by web scripts?

A. JavaScript Ordered Notification

B. JavaScript Object Notation

C. Java Server Object Notation

D. Java Serialized Object Notation

Answer: B

QUESTION NO: 105

Identify the three authentication subsystems that support CIFS authentication.

A. SPNEGO

B. passthru

C. ldap-ad

D. ldap

E. kerberos

F. external

G. alfrescoNtlm

Answer: B, E, G

QUESTION NO: 106

Which URL prefix is given to most of the out-of-the-box repository web scripts, that makes up
the RESTful API (excluding CMIS scripts)?
A. /rest

B. /api

C. /repo

D. /data

Answer: B

QUESTION NO: 107

When using the following expression in FreeMarker


"userhome.childrenByLuceneSearch(criteria)":

A. all nodes that are children of other nodes are returned.

B. all nodes matching "criteria" are returned.

C. all the children of "userhome" are returned.

D. only the children of "userhome" matching "criteria" are returned.

Answer: B

QUESTION NO: 108

The default security roles in Alfresco can be modified. How is this done?

A. By a developer changing the permissionDefinitions.xml.

B. By creating a new role and assigning capabilities in the RM module.

C. By adding constraints in a content model called permissionsDefinition.

D. By using the Administration Console in Alfresco Share.

Answer: A
QUESTION NO: 109

To support an external authentication and synchronization to a Microsoft Active Directory server


and CIFS, which two authentication subsystems are required?

A. passthru

B. ldap-ad

C. ldap

D. external

E. alfrescoNtlm

Answer: A, B

QUESTION NO: 110

Which two steps would NOT be required to create and deploy a new Service to Alfresco?

A. Create the implementation class and bean definition.

B. Register the new class with ServiceRegistry.newService().

C. Define message bundles for the service.

D. Define bean definition and register.

E. Create the proxy class and bean definition.

Answer: B, C

QUESTION NO: 111

By default, the Alfresco Enterprise server is tuned for which type of usage?
A. Developer usage (single-user)

B. Development team usage (multi-user)

C. Enterprise usage

D. Single department usage

Answer: A

QUESTION NO: 112

What is the default value of the <transaction> element of a Web Script descriptor, if one is not
specified?

A. "none"

B. "none" for GET Web Scripts, "required" for POST/PUT.

C. "required"

D. Depends on the value of <authentication>.

Answer: D

QUESTION NO: 113

A repository web script is defined in the directory


'<TOMCAT_HOME>/webapps/alfresco/WEB-
INF/alfresco/templates/webscripts/org/alfresco/test' inside the Alfresco installation. Which of the
following procedures should you use to change the default output template, while adhering to
best practice?

A. Create a copy of the output template file in the same directory, then update the web script
descriptor to reference the new file.
B. Copy the output template file into '<TOMCAT_HOME>/webapps/alfresco/WEB-
INF/alfresco/extension/templates/webscripts/org/alfresco/test', make your changes there, then
update the web script descriptor to reference the new file.

C. Copy the output template file into '<TOMCAT_HOME>/webapps/alfresco/WEB-


INF/alfresco/extension/templates/webscripts/org/alfresco/test' and make your changes there.

D. Copy the output template file into


'<TOMCAT_HOME>/shared/classes/alfresco/extension/templates/webscripts/org/alfresco/test'
and make your changes there.

Answer: D

QUESTION NO: 114

To present a simple list of documents containing the word "Alfresco" through a webscript there
are many approaches. The list shows four possible ways. Please indicate the BEST approach
which combines both speed of development and Alfresco best practice.

A. Extend the "DeclarativeWebscript" class and override the execute() method to query the
repository and stream back the response to the client.

B. Write a JavaScript based webscript which queries the repository for "Alfresco" and passes the
resulting model to a presentation FreeMarker template.

C. Use a Java backed webscript which queries the repository for "Alfresco" and passes the
resulting model to a presentation FreeMarker template.

D. Write a FreeMarker template which queries the repository for "Alfresco" and renders the data.

Answer: B

QUESTION NO: 115

What three groups are CMIS Services commonly grouped into?

A. Read, Write, Delete


B. Connect, Locate, Update

C. Model, View, Controller

D. Browse, Inspect, Act

Answer: D

QUESTION NO: 116

Identify the Javascript engine that Alfresco uses to provide the server-side JavaScript language.

A. Tamarin

B. SpiderMonkey

C. RhinoScript

D. Nitro

Answer: C

QUESTION NO: 117

Which repository folder is the first location where the repository web script container will search
for web script implementation files, and can be used to override web scripts placed in any other
location?

A. /Company Home/Web Scripts

B. /Company Home/Templates/Web Scripts

C. /Company Home/Data Dictionary/Web Scripts Extensions

D. /Company Home/Data Dictionary/Web Scripts

Answer: C
QUESTION NO: 118

Which virtual filesystem is NOT enabled by default?

A. CIFS

B. FTP

C. NFS

D. WebDAV

Answer: C

QUESTION NO: 119

When running the following CMIS query "SELECT * FROM cmis:document WHERE
CONTAINS('zebra')", what result would be returned?

A. All document objects with the word 'zebra' in the name, title or description properties.

B. All document objects with the word 'zebra' in the full text content.

C. All document objects with the word 'zebra' in the description property only.

D. All document objects with the word 'zebra' in the title property.

E. All document objects with the word 'zebra' in the name property.

Answer: B

You might also like