You are on page 1of 40

ACE501 Real Exam Questions

--------------------------------------------------------
Dharmendra Shaw
--------------------------------------------------------

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

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

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

A. Modify alfresco-global.properties and setup lucene to rebuild index


B. Restore alf_data directory from a good backup
C. Destroy the DB schema and restart
D. Restore the DB from a good backup

Answer: B,D

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


A. Synchronization
B. Quartz scheduler
C. IMAP
D. Authentication

Answer: B

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?
Answer: The content file would exist on the system, but the database would rollback.

What is the primary JavaScript framework employed on the clientside


tier in Share?

Answer: YUI

Which 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. 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

What are the mandatory components of a js data web script?

A. An XML descriptor and an output template


B. An XML descriptor only
C. An XML descriptor, JavaScript controller, and an output template
D. A JavaScript controller and an output template
Answer: A

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?
Answer: helloworld.get.json.ftl

Identify the point where Alfresco specific database tables are created within the database?
Answer: During the initial startup of the application server.

What are the Gates showings on the diagram?(Similar diagram)


Answer: Exclusive Gate

When using Solr indexing the index is said to be "eventually consistent". What does it mean:
A. the index will only be consistent after a server restart.
B. Search may return incomplete results, until the index is consistent.
C. Search will return wrong results, until the index is consistent.
D. Search will return no result, until the index is consistent..
Answer: B

Which Gate would you use if you have a workflow with either approval or reject can be done at a
time?
Answer: Exclusive Gate

You have determine that you need to increment a workflow variable name ‘counter’ after a user task
has been completed. Identify where you should place this?
A. The transaction event on the sequence flow following the userTask node
B. The assign listener on the userTask
C. The complete listener on the userTask
D. The condition on the the sequence flow following the userTask
Answer: C

In shareconfigcustom.xml you set 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 mode
B. The ge.effectiveDate field will be forced to be editable in all form mode
C. The ge.effectiveDate field will be forced to be editable in view mode only
D. The ge.effectiveDate field will only appear in edit mode, it will not be shown on create and
view mode.
E. The forms system will try to find ge.effectiveDate on an aspect even if not defined on the
node being displayed
Answer: D,E

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. Changing the FreeMarker template that controls the display of a field.
C. Setting a label for a type on the "Change Type" dialog.
D. Grouping fields into sets on the "Edit Metadata" page.
Answer:B
When using solr indexing both the repository and solr having their own public/private key pair. Which
are stored on their respective keystores. What is this used for?
Answer: To protect communication between repository and solr using SSL with mutual
authentication

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

A. Properties can be single or multivalued.


B. Properties are explicitly ordered.
C. Properties are untyped.
D. Properties can be shared between objects.

Answer: A

What is the behavior of the inherited ACL of an object that is moved to different folder?

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


B. The object will inherit the ACL from the new parent folder.
C. \ The object will revert to the ACL of the "Company Home" folder.
D. The object will combine the ACLs from the original and new folders.

Answer: B

To support an external authentication and synchronization to a Microsoft Active


Directory server and CIFS, which two authentication subsystems are required?

A. passthru
B. alfrescoNtlm
C. ldap
D. external

Answer: A,B

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

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

A. < target >< class > sys:base < /class > < /target >
B. < target > < type > sys:base < /type >< /target >
C. < target > < class > ANY < /target >
D. < target > < type > ANY < /target >

Answer: A
Which one of the following statements about aspects is true?

A. An aspect may not include associations.


B. An aspect can have a type as a parent.
C. Aspects can inherit from other aspects.
D. Aspects can only be applied to "cm:content".
Answer: C

Which one of the following is NOT exposed to the repository JavaScript API?
A. Database
B. Node
C. Content properties
D. Search
Answer: A

Identify the point where Alfrescospecific database tables are created within the database?
A. During the initial startup of the application server.
B. During installation before the application server starts.
C. Prior to installing Alfresco.
D. On the first login by the "admin" user.
Answer: A

How can the default security roles be modified?


Answer: By overriding the configuration in permissionDefinitions.xml.

What are the methods will successfully deploy a content model?

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

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

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

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

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

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

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

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

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

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

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

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

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


A. Synchronization
B. Quartz scheduler
C. IMAP
D. Authentication

Answer: B

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

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. POS()
B. SCORE()
C. VALUE()
D. RANKING()
Answer: B

Identify items that are stored in the Alfresco database.


A. Full text indexes
B. alfresco.war and share.war
C. Content files
D. Content metadata

E. Workflow instance data


Answer: D,E

Which of these methods will successfully deploy a content model?


A. Upload the model to Company Home/Data Dictionary/Models.
B. Create a Spring bean definition file that deploys the model from the extension directory.
C. Place the model in the JVM's classpath and restart Alfresco.
D. Upload the model to Company Home/Data Dictionary/Content Model and set the "deployed" property
to "true".
Answer: B

Which of the following values is NOT a valid web script family for dashlet web scripts?
A. alfresco-dashlet
B. user-dashlet
C. site-dashlet
D. dashlet
Answer: A

Which of the following clauses are mandatory parts of a CMIS query?


A. SELECT
B. HAVING
C. WHERE
D. ORDER BY

E. FROM

Answer: A,E
In reviewing a JavaScript file, you notice a built-in object named: qsvc. Describe how this object was
made available to JavaScript.
A. A class named "qsvc" extended the BaseProcessorExtension class and a bean with a parent of "qsvc"
deployed this class
B. A class extended the ScriptAPI class and a bean definition deployed this class.
C. A new class extended the BaseProcessorExtension class and a bean definition specified the name
"qsvc".
D. A class named "qsvc" extended the BaseProcessorExtension class and a bean deployed this class.
Answer: C

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.desc.xml
B. helloworld.desc.xml
C. helloworld.get.config.xml
D. helloworld.get.xml
Answer: A

What is the default value of the element of a Web Script descriptor, if one is not specified?
A. "required"
B. Depends on the value of < authentication >.
C. "none" for GET Web Scripts, "required" for POST/PUT
D. "none"
Answer: A

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


A. An XML descriptor only
B. An XML descriptor and an output template
C. An XML descriptor, JavaScript controller, and an output template
D. A JavaScript controller and an output template
Answer: B

Which of the following is NOT an out-of-the-box root scoped object in the Alfresco Java Script API?
A. user
B. url
C. args
D.document

Answer: A

Under what circumstances would you create an aspect that did not define any properties or associations?
A. To indicate that an aspect is marked for deletion.
B. For implementing a behavioral change to the repository
C. To establish an inheritance model that other aspects can inherit from.
D. To inform the repository that additional properties may be added to content items at a later time.

Answer: B

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


A. AMP
B. TAR
C. EXT
D. ACP

Answer: A

The JavaScript ScriptNode API expression "node.assocs":


A. Returns the list of all associations which can be changed and modified.
B. Returns the list of child associations which can be changed and modified.
C. Returns a complete read only list of all associations.
D. Returns the list of child associations which are read only.
Answer: C
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. Your files do not adhere to the standard naming convention.
B. You are using Internet Explorer, you should be using Firefox.
C. Share needs to be restarted, refreshing webscripts is not enough.
D. The cache on the browser needs to be cleared.

Answer: A

How can the default security roles be modified?


A. By adding a new content model with the required permissions.
B. Through the Administration control panel in Share.
C. Through the System Administration panel in Alfresco Explorer.
D. By overriding the configuration in permissionDefinitions.xml.

Answer: D

In the following example of an action group definition in Share: What does the index="100" refer to?
A. The index id of the action item in the data dictionary.
B. The fade delay in milliseconds for the action in the user interface.
C. The index id of the icon to be used for the action.
D. The ordering of the items in the action items in the display.

Answer: D

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 sent to the Solr subsystem which transforms and indexes the content. Once indexing
is complete, the document is sent to the repository
B. 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.
C. The document is transformed and indexed in-transaction as a part of the document creation process,
and the document contents are immediately searchable.
D. 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.

Answer: B

Describe the purpose of the content policy?

Diff b/w nodeService and NodeService reference of bean?

How to restrict the business logic in share page for one of the group?

Recommended approach for modifying OOTB data web script ftl file?

Select a Valid cmis query?

How many ways we can manage transactions in java?

What is the gateway symbol in below workflow ?

Which one is not possible from content model manger from below options?

Which one is not possible from share configuration?(enabling and disabling smart folder template )

Which is correct statement for use of content rules?

Which is the subsystem supported for CIFS authentication?

Select three interfaces supported by external authentication?

What is the subsystem not provided by alfresco?

Uploaded content with some mime type after that search results for existing string from content is not
getting, how to check this in repository?(from transformations)

What is the command for building alfresco one enterprise?


------------------------------------------------------
Mallesh
------------------------------------------------------

1) Which of the below are not supported in Aikau


a) Css
b) Html
c) Ftl
d) I18N

Ans:

2) System unable to put a lock on node in transaction so probably which approach is better until we get a lock on node.

Ans: RetryingTransactionHelper

3) An object was returned from a function which is used Workflow API in freemarker Template, what is the object
instance?
a) WorkItem
b) WorkflowTaskItem 
c) Workflow
d) workflowActivityItem

Ans : b

4) Select the simplest steps to implement Content policies


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.

5) Assume that you have a static model with property “XYZ” and after some time you removed the “XYZ” property and
restarted the alfresco. Select one correct option from below
Ans: Still we can access “XYZ” property value in a residual way.

Although the content model provides the ability to specify property definitions, the content repository supports a
feature known as a residual property, where a value can be set on a node for which there is no associated property
definition defined in a content model. This allows for a node to act as a property bag for an arbitrary set of named-
value pairs.

6) Which type of gateways we have used in template.


a) Exclusive
b) Inclusive
c) Fork
d) Join
e) Parallel

Ans : a

7) Which format will content model manger will allow to upload models.
a) Json
b) Xml
c) Zip
d) Html

Ans: zip

You can import a model in Model Manager only as a ZIP package.

https://docs.alfresco.com/6.0/concepts/admintools-cmm-importexport.html
8) 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

9) Creating a remote client application which will access Alfresco cloud and repository, which of the below API need to
use.
a) CMIS API
b) Alfresco one API
c) Alfresco JavaScript API
d) JAVA API
e) Alfresco Freemarker template API

Ans : a,b

10) When in clustered environment if you are doing changes through Admin console for OutBound Mail, what are the
below statements are true?
A) Changes are available only particular node .
B)
11) In Share dashlets are described by which family types?
A. region-dashlet
B. dashboard-dashlety
C. admin-dashlet
D. site-dashlet
E. user-dashlet
F. page-dashlet

G. dashlet
Answer: D,E,G

12) How to identify the smart folders


a) Smf:aspect
b) Smf:type
c) Normal and smart folders are same
d) Will have different icon for smart folders

Ans : a,d

13) 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

14) 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

15) 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. POS()
B. SCORE()
C. VALUE()
D. RANKING()
Answer: B

16) 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.desc.xml
B. helloworld.desc.xml
C. helloworld.get.config.xml
D. helloworld.get.xml
Answer: A

17) Which of the following values are valid web script family for dashlet web scripts?

A. alfresco-dashlet
B. user-dashlet
C. site-dashlet
D. dashlet
Ans : b,c,d

18) 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.desc.xml
B. helloworld.desc.xml
C. helloworld.get.config.xml
D. helloworld.get.xml
Answer: A
19) How to configure two external authentication subsystems in alfresco? (Ex : LDAP-X and LDAP-Y)
Ans : alfresco-global.properties and direct subsystem properties
authentication.chain=external1:external,ldap:ldap-ad,alfrescoNtlm1:alfrescoNtlm
20) How to override default search page display limit in share?
Ans : <max-search-results>250</max-search-results> in share-config-custom.xml
21) Select three client applications which will support external authentication
a) Alfresco share
b) Alfresco CIFS
c) Alfresco webdev
d) Alfresco FTP

Ans : a,b,c

22) How many ways we can query the cmis:item from CMIS2.0
a) Sys:base
b) Bpm:packaging
c) Cmis:item
d) Cmis:rule
23) How solr server will initiate the index once document is uploaded.
Ans : A solor scheduler job will trigger and will process all the documents which are in queue hence the document will
not be available for immediate search
24) I have uploaded a document with some mime type and I am unable to search the document. What might be the cause
for not coming in search results?
Ans : the specific MIME type might not be configured in transformations.
25) MMT option to deploy the old version module where already we have deployed latest version module.
a) – force
b) –degrade version
c) –reinstall
d) –clean install
e) –ignore version

Ans : a

26) Alfresco system will make use of the below one file for module installation.
a) Alfresco-global.properties
b) Repository.properties
c) Module.properties
d) Web.xml

Ans : c

27) How to create a content rule only with java script file.
Ans : upload the js file into DataDictionary/Scripts and use execute-script action in rules

28) Content rule can be defined on below objects


a) Document
b) Content
c) datalists
d) relationships
e) folders

Ans : c,e

29) Which of the root scope objects are not available in repository web scripts.
a) Document
b) Search
c) User
d) url

Ans : c

30) How to manipulate the underlying database schema in alfresco.


a) Using direct SQLs
b) Alfresco will not support to update the OOTB database
c) Using extractors
d) Writing separate hibernate files

Ans : b
------------------------------------------------

Rahul

------------------------------------------------

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

What is JS framework employed on client side Share app

Answer: YUI

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

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

E. Modify alfresco-global.properties and setup lucene to rebuild index


F. Restore alf_data directory from a good backup
G. Destroy the DB schema and restart
H. Restore the DB from a good backup

Answer: B,D

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?

Answer: The content file would exist on the system, but the database would rollback.
Why doesnt Alfresco support NTLMv2 with passthru:

Answer: NTLMv2 prohibits "man in middle" interceptions

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

E. Define a datalist with the required properties and assign the datalist to each type or
aspect through an association.
F. Define and use the same property names in the different types that need those fields.
G. Define a base type which holds the common properties and have all the types that need
those fields inherit from the base type.
H. 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

What are the mandatory components of a js data web script?

E. An XML descriptor and an output template


F. An XML descriptor only
G. An XML descriptor, JavaScript controller, and an output template
H. A JavaScript controller and an output template
Answer: A

Identify the point where Alfresco specific database tables are created within the database?
Answer: During the initial startup of the application server.

When using Solr indexing the index is said to be "eventually consistent". What does it mean:
A. the index will only be consistent after a server restart.
B. Search may return incomplete results, until the index is consistent.
C. Search will return wrong results, until the index is consistent.
D. Search will return no result, until the index is consistent..
Answer: B

In shareconfigcustom.xml you set the following line <show id =”ge.effectiveDate” for-mode="edit"


force="true"> which two things are true?
F. The ge.effectiveDate field will be editable in create, edit and view form mode
G. The ge.effectiveDate field will be forced to be editable in all form mode
H. The ge.effectiveDate field will be forced to be editable in view mode only
I. The ge.effectiveDate field will only appear in edit mode, it will not be shown on create and
view mode.
J. The forms system will try to find ge.effectiveDate on an aspect even if not defined on the
node being displayed
Answer: D,E

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

E. Properties can be single or multivalued.


F. Properties are explicitly ordered.
G. Properties are untyped.
H. Properties can be shared between objects.

Answer: A

What is the behavior of the inherited ACL of an object that is moved to different folder?

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


F. The object will inherit the ACL from the new parent folder.
G. The object will revert to the ACL of the "Company Home" folder.
H. The object will combine the ACLs from the original and new folders.

Answer: B

Which freemarker expression can be used to access presentation template that is being applied to node

Answer: template

Which JavaScript file, provided in the 'js' directory inside the Share web application,
defines commonlyused clientside utility functions?
Answer: alfresco.js

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

E. < target >< class > sys:base < /class > < /target >
F. < target > < type > sys:base < /type >< /target >
G. < target > < class > ANY < /target >
H. < target > < type > ANY < /target >

Answer: A

Which one of the following statements about aspects is true?

E. An aspect may not include associations.


F. An aspect can have a type as a parent.
G. Aspects can inherit from other aspects.
H. Aspects can only be applied to "cm:content".
Answer: C

What limitation do WebScripts that use “runAs” attribute of “<authentication>” element in descriptor have?

A. A.They cannot be used with Tomcat7


B. They cannot reside in classpath
C. They are not automatically reloaded
D. They cannot reside in Data dictionary

Answer: D

Which of following is not FTL directive?

Answer: while
Which of following 2 are mandatory for CMIS query?

Answer: select, from

How to get current logged in username?

Answer: person.properties.userName

What is default file extension for Alfresco Module Package?

Answer: AMP

What is mandatory for Administration console components?

Answer: A webscript in family “admin-console”

What are possible scope for share templates?

Answer: page,template,global

What is inbound email used for?

Answer: Content injection via email.

What is full-form of JSON

Answer: JavaScript Object Notation

CIFS supported by which authentication subsystem?

Answer: passthru,Kerberos,alfrescontlm

By default Alfresco Enterpise Server tuned for what ?

Answer: Developer usage(Single user)

Which is JS engine for server side java script code?

Answer: Rhinoscript

What three groups are CMIS services commonly grouped into?

A. Read,Write,Delete
B. Model,View,Controller,
C. Browse,Inspect,Act
D. Connect,Locate,Update.
Answer: C

What information is stored under alf_Data?

Answer: content files, indexes.

Which 2 namespaces are imported while defining new workflow model ?

Answer:

http://www.alfresco.org/model/dictionary/1.0

http://www.alfresco.org/model/bpm/1.0

Which directive is used to variable created in FTL?

Answer: assign

Where are SOLR configuration files located?

Answer: <alf_data>/solr<store_name>/conf

“cm:content” part of which model

A. Content
B. dictionary
C. system
D. application

Answer: A

Which elements can be used to group fields in share-config?

Answer: <set>

2 workflow questions based on diagrams – what would be flow post certain condition

2 smart folder questions – which aspect applied\configurations related to share-config


---------------------------------------------------------
Nazakat
---------------------------------------------------------

Explain the behavior of the inherited ACL of an object that is moved to different folder.
Response:
A. The object will revert to the ACL of the "Company Home" folder.
B. The object will inherit the ACL from the new parent folder.
C. The object will combine the ACLs from the original and new folders.
D. The object will keep the ACL as originally specified.

Answer: B

Which one can not reference to Aikau UI framework.


A. JS
B. CSS
C. HTML
D. FTL
Answer: D

smf:smart is type or aspect


Answer: aspect

In which cases you will use Java backed webscript over js web script

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?
Response:

A. The content file would exist on the system, but the database would rollback.
B. The system would be just as it was before the transaction started.
C. The document would have been uploaded and would be marked for FT indexing
D. The document would have been uploaded and would be marked readonly
Answer: A

What are the minimum steps needed to add a custom search form in Alfresco Share?
Response:
A. Define your form markup in a FreeMarker file, add the definition to the 'AdvancedSearch'
configuration section in shareconfigcustom.xml, and provide a web script to handle search
requests.
B. 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 shareconfigcustom.xml.
C. Define your form markup in a FreeMarker file and add the definition to the 'AdvancedSearch'
configuration section in shareconfigcustom. xml.
D. Define your form using Share form configuration and add the definition to the
'AdvancedSearch' configuration section in shareconfigcustom.xml.
Answer: D

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


Response:
A. Properties are explicitly ordered.
B. Properties can be shared between objects.
C. Properties can be single or multivalued.
D. Properties are untyped
Answer: C

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


Response:

A. searchService
B. Searchservice
C. SearchService
D. Searchservice
Answer: C

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

A. mynode.properties.save()
B. mynode.aspects.save()
C. mynode.save()
D. mynode.updateAll()
Answer: C.

In the Alfresco architecture, presentation web scripts may be defined in which tiers?
Response:
A. Repository tier only
B. Repository tier, web tier and client side tier
C. Both repository and web tiers
D. Web tier only
Answer: C

When using Solr indexing the index is said to be "eventually consistent". What does
this mean?
Response:
A. Searches may return incomplete results, until the index is consistent
B. Search behavior does not change as this is just a marketing term.
C. Searches will return no results, until the index is consistent.
D. Searches will return wrong results, until the index is consistent

Answer:A
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

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

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

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

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

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

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

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?
Response:
A. It does not require any clientside code.
B. It reduces the number of roundtrips to the server.
C. Data is automatically parsed into the correct format.
D. The initial page load time is reduced

Answer: D.

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?
Response:
A. They will be unable to map to it since Alfresco would have disabled it.
B. They will be unable to map it and will receive a message stating that CIFS is not
currently available.
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: A

Select the element that will allow any node to be included as part of a peer association.
Response:
A. < target >< class >s ys:base < /class > < /target >
B. < target > < type > sys:base < /type >< /target >
C. < target > < class > ANY < /target >
D. < target > < type > ANY < /target >

Answer: A

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

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

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

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


A. Synchronization
B. Quartz scheduler
C. IMAP
D. Authentication

Answer: B

Which of these methods will successfully deploy a content model?


A. Upload the model to Company Home/Data Dictionary/Models.
B. Create a Spring bean definition file that deploys the model from the extension directory.
C. Place the model in the JVM's classpath and restart Alfresco.
D. Upload the model to Company Home/Data Dictionary/Content Model and set the "deployed" property
to "true".
Answer: B

document associated with the web script?


A. helloworld.get.desc.xml
B. helloworld.desc.xml
C. helloworld.get.config.xml
D. helloworld.get.xml
Answer: A
circumstances would you create an aspect that did not define any properties or associations?
A. To indicate that an aspect is marked for deletion.
B. For implementing a behavioral change to the repository
C. To establish an inheritance model that other aspects can inherit from.
D. To inform the repository that additional properties may be added to content items at a later time.

Answer: B

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


A. AMP
B. TAR
C. EXT
D. ACP

Answer: A

Diff b/w nodeService and NodeService reference of bean?

How many ways we can manage transactions in java?

What is the gateway symbol in below workflow ?

2 questions on bpm workflow based on figures/images

1 question was on CMIS query output.


--------------------------------------------

Naveen
--------------------------------------------

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

database

a. Prior to installing Alfresco.

b. During the initial startup of the application server.

c. On the first login by the admin user.

d. During installation before the application server starts.

2. Which of the following statements are true about the differences between the

Alfresco JavaScript API and the Alfresco FreeMarker API?

a. Only FreeMarker API allows the creation of nodes.

b. Only Java Script API allows the creation of nodes.

c. Only FreeMarker API allows the deletion of nodes.

d. Only JavaScript API allows the modification of nodes.

e. Only FreeMarker API allows access to workflows.

What are the mandatory components of a js data web script?

An XML descriptor and an output template

An XML descriptor only


An XML descriptor, JavaScript controller, and an output template

A JavaScript controller and an output template

Answer: A

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

apply the changes?

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

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

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

d. Making configuration changes in alfresco-global.properties

e. Making configuration changes via JMX.

6. What is the purpose of a content policy?

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

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

c. To initiate Java code in response to predefined events

d. To validate against a strict model XSD.

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

Answer:

It is versioned and updated.

It depends on how the transformation was configured.

It is replaced by the transformed content item.

It remains untouched.

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

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

B. < target > < type > sys:base < /type >< /target >
C. < target > < class > ANY < /target >

D. < target > < type > ANY < /target >

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.

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.

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 shareconfig-

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.

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

Question on dashlet types

Question on Activiti Diagrams – 2

i. Outcome after gateway


ii. About variable mapping after gateway

Question on Smart folders – 2

i. Which queries are used in smart folder configuration

CMIS query – 2/3 questions

i. Which objects are present in CMIS


a. Policy
b. Document

Alfresco Sub stsyems – close to 4 questions on this topic mainly from table in the below link.

https://community.alfresco.com/docs/DOC-5780-alfresco-authentication-subsystems

In which case, POST request is used?

-to submit the completed form.

After performing an Alfresco , which command could be run to deploy packaged extensions?

i. Apply_amps.sh
ii. Alfresco.sh redeploy
iii. Deploy.sh
iv. Install.sh
CIFS supported by which authentication subsystem?

Answer: passthru,Kerberos,alfrescontlm

---------------------------------------------
Srikant
---------------------------------------------

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

a. Synchronization
b. Quartz scheduler
c. IMAP
d. Authentication

Answer: B
2. Which of the below document associated with the web script?

a. helloworld.get.desc.xml
b. helloworld.desc.xml
c. helloworld.get.config.xml
d. helloworld.get.xml

Answer: A
3. 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 eachtype requiring the properties back to the global type.

Answer: C,D
4. 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
5. What is the purpose of a content policy?

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

b. To validate against a strict model XSD.

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

d. To initiate Java code in response to predefined events

Answer: D

6. Which one of the following root objects is NOT available to web scripts deployed in Alfresco
Share?

a. User

b. Atom\

c. Page

d. Search

Answer: D

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

a. During the initial startup of the application server.

b. On the first login by the admin user.

c. During installation before the application server starts.

d. Prior to installing Alfresco.

Answer: A

8. A NodeRef is comprised of which of the following components:


a. Transaction id

b. Protocol

c. Version

d. UUID

e. URL

f. Model prefix

g. Store Id

Answer: B,D,G

9. In JavaScript which statement would return the actual content (of a document) for a specified
node?

a. document.content

b. document.properties.content

c. document.properties.content.content

d. document.properties[“content”]

Answer: C

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

a. Restore the alf_data directory from a good backup.

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

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

d. Destroy the database schema and restart


e. Restore the database from a good backup

Answer: A,E

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

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


b. Only FreeMarker API allows access to workflows.

c. Only JavaScript API allows the modification of nodes.

d. Only FreeMarker API allows the creation of nodes.

Answer: C

12. 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. BasicWebScript

b. WebScriptImpl

c. AbstractWebScript

d. DeclarativeWebScript

Ansewr: D

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

a. plain

b. assign

c. list

d. set

Answer: B

14. 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 date range control needs to be created in FreeMarker, then specified in share-


configcustom. xml.

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

d. a Java-backed web script to deal with dates needs to be created and referenced in
shareconfig- custom.xml.

Answer: A
15. Alfresco Share is built on which of the following frameworks?

a. Grails

b. DoJo

c. Kendo UI

d. Spring Surf

Answer: D

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

a. Aspect

b. Person

c. DataList

d. Content

e. Floder

Answer: C,E

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

a. PUT

b. GET

c. OPTIONS

d. DELETE

Answer: C

18. 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. /api
b. /data
c. /repo
d. /rest
Answer: A
19. 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.properties.save()
c. mynode.save()
d. mynode.aspects.save()

Answer: C

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

a. Properties can be single or multi-valued.


b. Properties are explicitly ordered.
c. Properties can be shared between objects.
d. Properties are untyped.

Answer : A
21. Identify the Javascript engine that Alfresco uses to provide the server-side JavaScript language.

a. SpiderMonkey
b. RhinoScript
c. Nitro
d. Tamarin

Answer: B
22. Which web script object can be used to retrieve the values of web script parameters specified
inline within the URL path, within FreeMarker templates and JavaScript code?

a. arguments
b. args
c. url.args
d. url.templateArgs

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

a. Because in searches users need to be able to specify date ranges rather than a single
date.
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. If this is not done then the date control will always include times that cause the search
to fail.

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

a. They cannot reside in the classpath.


b. They cannot be used with Tomcat 7.
c. They cannot reside in the data dictionary
d. They are not automatically reloaded.

Answer: C
25. 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. .properties
b. .xml
c. .markup
d. .presentation

Answer: A
26. How many workflow execution tokens are created initially when a "Review and Approve"
workflow is started?
a. One per user task
b. One
c. One for "Review" and one for "Approve"
d. One per user within an assigned group

Answer : B

27. 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. alfresco/test/mycomponent-compressed.js
b. alfresco/test/mycomponent-min.js
c. compressed/alfresco/test/mycomponent.js
d. build/alfresco/test/mycomponent.js

Answer: B

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

a. It will inherit the system wide ACL.


b. It will inherit the ACL from the user who is moving it.
c. It will inherit the ACL from the new parent folder.
d. It will keep its old ACL.
Answer: C

29. Select the 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 in the Data Dictionary with the mimetype ".xls%".
c. Define two rules, one for each mimetype, defined as criteria and invoke the
transformation action.
d. Define a rule that has the "Microsoft Excel 2007" mimetype defined as criteria and
invoke the transformation action.

Answer: A

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

a. session.properties["cm:userName"]
b. session.userName
c. person.userName()
d. person.properties.userName

Answer: D

31. When using the following expression in FreeMarker


"userhome.childrenByLuceneSearch(criteria)":
a. all the children of "userhome" are returned.
b. all nodes matching "criteria" are returned.
c. all nodes that are children of other nodes are returned.
d. only the children of "userhome" matching "criteria" are returned.

Answer: B

1. Scenario based question on workflow (diagram shown). How will the flow go from this
stage. -- Go through all important gateways in workflow.
2. 2 scenrio based questions: easiest way to configure a rule in alf share.
3. 1 question was on CMIS query output
4. Describe the purpose of the content policy?
5. Which one is not possible from content model manger from below options?
6. Which is correct statement for use of content rules?
7. Select three interfaces supported by external authentication?
8. One question related to REST API like which of the webscript URLs is valid
9. How to create a content rule only with java script file. -- Ans : upload the js file into
DataDictionary/Scripts and use execute-script action in rules
10. difference between rule and policies --Rule are applied on node policies across
repository
11. CMIS Object Model related question
12.

You might also like