Professional Documents
Culture Documents
--------------------------------------------------------
Dharmendra Shaw
--------------------------------------------------------
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?
Answer: B,D
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.
Answer: YUI
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
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.
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
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
Answer: A
What is the behavior of the inherited ACL of an object that is moved to different folder?
Answer: B
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?
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
When customizing the "Advanced Search" in Share and adding a date property to the
search form:
-------------------------------------------
Hari
--------------------------------------------
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
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
Answer: B
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
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
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
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
Answer: A
Answer: A
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
How to restrict the business logic in share page for one of the group?
Recommended approach for modifying OOTB data web script ftl file?
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 )
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)
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
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.
Ans : a
7) Which format will content model manger will allow to upload models.
a) Json
b) Xml
c) Zip
d) Html
Ans: zip
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:
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
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
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
Ans : b
------------------------------------------------
Rahul
------------------------------------------------
G. dashlet
Answer: D,E,G
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?
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:
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
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
Answer: A
What is the behavior of the inherited ACL of an object that is moved to different folder?
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
What limitation do WebScripts that use “runAs” attribute of “<authentication>” element in descriptor have?
Answer: D
Answer: while
Which of following 2 are mandatory for CMIS query?
Answer: person.properties.userName
Answer: AMP
Answer: page,template,global
Answer: passthru,Kerberos,alfrescontlm
Answer: Rhinoscript
A. Read,Write,Delete
B. Model,View,Controller,
C. Browse,Inspect,Act
D. Connect,Locate,Update.
Answer: C
Answer:
http://www.alfresco.org/model/dictionary/1.0
http://www.alfresco.org/model/bpm/1.0
Answer: assign
Answer: <alf_data>/solr<store_name>/conf
A. Content
B. dictionary
C. system
D. application
Answer: A
Answer: <set>
2 workflow questions based on diagrams – what would be flow post certain condition
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
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
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
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
Answer: B
Answer: B
Answer: A
Naveen
--------------------------------------------
1. Identify the point where Alfresco-specific database tables are created within the
database
2. Which of the following statements are true about the differences between the
Answer: A
Which two of the following tasks would require a restart of the Alfresco server to
After a content transformation is performed, what happens to the original content item?
Answer:
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:
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?
When customizing the "Advanced Search" in Share and adding a date property to the search form:
B. a Java-backed web script to deal with dates needs to be created and referenced in shareconfig-
custom.xml.
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
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
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
---------------------------------------------
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
Answer: C
5. What is the purpose of a content policy?
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
Answer: A
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?
Answer: A,E
11. Which of the following statements are true about the differences between the Alfresco
JavaScript API and the Alfresco FreeMarker API?
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
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:
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?
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?
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?
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
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.