Deck 1: Alfresco Content Services Certified Engineer
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/98
Play
Full screen (f)
Deck 1: Alfresco Content Services Certified Engineer
1
What is the simplest way to call a custom Alfresco repository JavaScript extension from a content rule?
A) Create a new custom action that calls my script, and bundle both the custom script and the custom action into an AMP.
B) Add the script to Data Dictionary/Scripts, then use the "Execute a Script" action to call it from the rule.
C) Add a function called "executeAction" to the JavaScript and place it on the classpath. Alfresco Content Services will add it as a rule action.
D) Upload the script to the folder on which the rule action is applied, and name it "ruleScript" so Alfresco Content Services can find it.
A) Create a new custom action that calls my script, and bundle both the custom script and the custom action into an AMP.
B) Add the script to Data Dictionary/Scripts, then use the "Execute a Script" action to call it from the rule.
C) Add a function called "executeAction" to the JavaScript and place it on the classpath. Alfresco Content Services will add it as a rule action.
D) Upload the script to the folder on which the rule action is applied, and name it "ruleScript" so Alfresco Content Services can find it.
B
2
When testing an Alfresco Content Services extension under high levels of concurrency, you notice that some transactions are failing due to locking issues with the database. What is an appropriate way to resolve this?
A) Manually unlock the offending records and start the testing again.
B) Directly use Alfresco's database connection pool and write your own SQL.
C) Use the RetryingTransactionHelper to retry code that fails due to locking.
D) Rewrite the queries used by your application to reduce the chance of the lock.
A) Manually unlock the offending records and start the testing again.
B) Directly use Alfresco's database connection pool and write your own SQL.
C) Use the RetryingTransactionHelper to retry code that fails due to locking.
D) Rewrite the queries used by your application to reduce the chance of the lock.
A
3
The embedded Activity in Alfresco Content Services provides different types of tasks in a process definition. Which one is NOT a provided task?
A) userTask.
B) processTask.
C) scriptTask.
D) mailTask.
A) userTask.
B) processTask.
C) scriptTask.
D) mailTask.
B
4
Which tasks would require a restart of the Alfresco server to apply the changes? (Choose two.)
A) Deploying a new content model via a *-context.xml file.
B) Deploying a new content model into Data Dictionary/Models.
C) Deploying a new workflow through the Activiti workflow console.
D) Making configuration changes in alfresco-global properties.
E) Making configuration changes via JMX.
A) Deploying a new content model via a *-context.xml file.
B) Deploying a new content model into Data Dictionary/Models.
C) Deploying a new workflow through the Activiti workflow console.
D) Making configuration changes in alfresco-global properties.
E) Making configuration changes via JMX.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
5
Select two ways to audit Alfresco Content Services events in an Alfresco Content Services extension? (Choose two.)
A) Mark a method in the extension with an @Auditable annotation.
B) Open a connection to the database and write the audit information to the audit tables.
C) Inject AuditComponent into the extension and call recordAuditValues.
D) Use the Alfresco REST API to record an audit event.
E) Call the Java Audit Service.
A) Mark a method in the extension with an @Auditable annotation.
B) Open a connection to the database and write the audit information to the audit tables.
C) Inject AuditComponent into the extension and call recordAuditValues.
D) Use the Alfresco REST API to record an audit event.
E) Call the Java Audit Service.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
6
What are the variable's scopes available for Activiti workflows?
A) Process instance and task.
B) Node and task.
C) Process instance and form.
D) Process instance and global.
A) Process instance and task.
B) Node and task.
C) Process instance and form.
D) Process instance and global.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
7
If an object is moved to a different folder, what will happen to the node's security permissions?
A) It will inherit the ACL from the new parent folder.
B) It will inherit the ACL from the user who is moving it.
C) It will inherit the system wide ACL.
D) It will keep its old ACL.
A) It will inherit the ACL from the new parent folder.
B) It will inherit the ACL from the user who is moving it.
C) It will inherit the system wide ACL.
D) It will keep its old ACL.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
8
Which one of the following statements about aspects is TRUE?
A) Aspects can only be applied to "cm:content".
B) An aspect can have a type as a parent.
C) An aspect may not include associations.
D) Aspects can inherit from other aspects.
A) Aspects can only be applied to "cm:content".
B) An aspect can have a type as a parent.
C) An aspect may not include associations.
D) Aspects can inherit from other aspects.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
9
Which file is required in order for an AMP file to be valid?
A) module.properties
B) service-context.xml
C) file-mapping.properties
D) web.xml
A) module.properties
B) service-context.xml
C) file-mapping.properties
D) web.xml
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
10
Which approaches can be used to define a set of reusable metadata fields? (Choose two.)
A) Define a datalist with the required properties and assign the datalist to each type or aspect through an association.
B) Define a global type which holds the common properties, then define an association from each type requiring the properties back to the global type.
C) Define and use the same property names in the different types that need those fields.
D) Define a base type which holds the common properties and have all the types that need those fields inherit from the base type.
E) Create an aspect and apply it as a mandatory aspect to all the types which need the properties.
A) Define a datalist with the required properties and assign the datalist to each type or aspect through an association.
B) Define a global type which holds the common properties, then define an association from each type requiring the properties back to the global type.
C) Define and use the same property names in the different types that need those fields.
D) Define a base type which holds the common properties and have all the types that need those fields inherit from the base type.
E) Create an aspect and apply it as a mandatory aspect to all the types which need the properties.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
11
What is Alfresco's preferred tool for building and packaging an extension?
A) Winzip
B) Ant
C) Maven
D) Gradle
A) Winzip
B) Ant
C) Maven
D) Gradle
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
12
To which content model entities can a behavior be associated with? (Choose two.)
A) Aspects.
B) Types.
C) Constraints.
D) Rules.
E) Associations.
A) Aspects.
B) Types.
C) Constraints.
D) Rules.
E) Associations.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
13
While implementing an Alfresco Content Services extension, you find you need to pull information out of a document and make it available as content properties. What type of component would you develop to perform this task?
A) Content Transformer.
B) Metadata Extractor.
C) Alfresco Action.
D) Metadata Generator.
A) Content Transformer.
B) Metadata Extractor.
C) Alfresco Action.
D) Metadata Generator.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following is not an Alfresco-supplied subsystem category?
A) Dictionary.
B) Authentication.
C) Audit.
D) Search.
A) Dictionary.
B) Authentication.
C) Audit.
D) Search.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
15
You have been tasked to develop a solution that will notify an external system when updates are made to certain documents. These documents can be of any type and the content authors will make the decision if the document needs this "notification" functionality. Select the simplest combination steps that will implement this solution.
A) Define a new "notify" aspect with a "multi" peer association. Create and register a policy behavior that, when content is updates, 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.
A) Define a new "notify" aspect with a "multi" peer association. Create and register a policy behavior that, when content is updates, 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.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
16
What does it mean when it is said in Solr indexing that the index is "eventually consistent"?
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 index can only be consistent when the Lucene index job eventually runs.
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 index can only be consistent when the Lucene index job eventually runs.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
17
The workflow pictured, shows 3 gateways. What type of gateways are they? 
A) Exclusive
B) Parallel
C) Inclusive
D) Fork
E) Join

A) Exclusive
B) Parallel
C) Inclusive
D) Fork
E) Join
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
18
Select the element that will allow any node to be included as part of a peer association:
A)d:noderef
B)ANY
C)sys:base
D)cm:cmobject
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
19
How should Smart Folders be identified and recognized?
A) Smart Folders should be recognized by their type smf:smartFolder
B) Smart Folders should be recognized by parent-child type used smf:contains
C) Smart Folders should be recognized by their aspect smf:smartFolder
D) Smart Folders should be recognized by the special node reference used.
E) Smart Folders cannot be recognized as they are not different from any other cm:folder.
A) Smart Folders should be recognized by their type smf:smartFolder
B) Smart Folders should be recognized by parent-child type used smf:contains
C) Smart Folders should be recognized by their aspect smf:smartFolder
D) Smart Folders should be recognized by the special node reference used.
E) Smart Folders cannot be recognized as they are not different from any other cm:folder.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
20
A scheduled job can execute a piece of logic either by itself or wrapped inside a repository action. What is the benefit of defining a template action for the scheduled job?
A) The job can execute a logic that is not related specifically to a node.
B) The job can execute a logic multiple times, once for each node returned by a query.
C) The job can execute a logic only once and does a mass update of nodes returned by a query.
D) The job can execute a logic multiple times on the same specific node.
A) The job can execute a logic that is not related specifically to a node.
B) The job can execute a logic multiple times, once for each node returned by a query.
C) The job can execute a logic only once and does a mass update of nodes returned by a query.
D) The job can execute a logic multiple times on the same specific node.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
21
The NodeService, allows you to create a node with the method depicted below. Based on this information, which statements are TRUE? (Choose three.) 
A) The path of the node is specified by the assocQName.
B) The path of the node contains the value of the cm:name property specified in the properties.
C) The name of the node and the path can be different.
D) By convention, the path and the name of the node should be kept consistent.
E) The property map must contain more than one value.

A) The path of the node is specified by the assocQName.
B) The path of the node contains the value of the cm:name property specified in the properties.
C) The name of the node and the path can be different.
D) By convention, the path and the name of the node should be kept consistent.
E) The property map must contain more than one value.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
22
Share UI configuration will allow you to control which aspects a user sees. What other two things (out of the box) can be controlled? (Choose two.)
A) The combinations of aspects that can be applied together.
B) The aspects that can be applied based on the underlying type.
C) The aspects that can be removed once applied.
D) The aspects a user can add.
E) The aspects that are mandatory.
A) The combinations of aspects that can be applied together.
B) The aspects that can be applied based on the underlying type.
C) The aspects that can be removed once applied.
D) The aspects a user can add.
E) The aspects that are mandatory.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following items appear within a custom content model? (Choose two.)
A) The model's namespace.
B) References to other namespaces.
C) Property sheet definitions.
D) Policy behaviors for a content type.
E) Localization strings.
A) The model's namespace.
B) References to other namespaces.
C) Property sheet definitions.
D) Policy behaviors for a content type.
E) Localization strings.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
24
What happens to the original content item after a content transformation is performed?
A) It depends on how the transformation was configured.
B) It is replaced by the transformed content item.
C) It is versioned and updated.
D) It remains untouched.
A) It depends on how the transformation was configured.
B) It is replaced by the transformed content item.
C) It is versioned and updated.
D) It remains untouched.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
25
Which Alfresco Java Public API service allows reading and writing node properties?
A) NodeService
B) PropertyService
C) NodePropertyService
D) DictionaryService
A) NodeService
B) PropertyService
C) NodePropertyService
D) DictionaryService
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
26
Which FreeMarker expression would be used to access the presentation template that is being applied to a node?
A) template
B) node.template
C) node.document
D) document
E) document.template
A) template
B) node.template
C) node.document
D) document
E) document.template
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
27
Which of the following values is NOT a valid web script family for dashlet web scripts?
A) user-dashlet
B) site-dashlet
C) alfresco-dashlet
D) dashlet
A) user-dashlet
B) site-dashlet
C) alfresco-dashlet
D) dashlet
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
28
A client-side module is defined in the JavaScript file 'alfresco/test/mycomponent.js' inside the Share web application. What is the equivalent file that contains the compressed JavaScript used on production servers?
A) build/alfresco/test/mycomponent.js
B) compressed/alfresco/test/mycomponent.js
C) alfresco/test/mycomponent-compressed.js
D) alfresco/test/mycomponent-min.js
A) build/alfresco/test/mycomponent.js
B) compressed/alfresco/test/mycomponent.js
C) alfresco/test/mycomponent-compressed.js
D) alfresco/test/mycomponent-min.js
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
29
What is the purpose of widgetUtils.findObject function in the Aikau framework?
A) Used to find an existing widget while creating new Aikau pages.
B) Used to find a list of all Aikau widget objects used in the application.
C) Used to find an existing widget while extending Out-of-the-box Aikau pages.
D) Used to find a list of all Aikau pages used in the application.
A) Used to find an existing widget while creating new Aikau pages.
B) Used to find a list of all Aikau widget objects used in the application.
C) Used to find an existing widget while extending Out-of-the-box Aikau pages.
D) Used to find a list of all Aikau pages used in the application.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
30
In Share the Document Library defines a number of "action groups" which determine the actions shown to the user. What would determine the action group used? (Choose two.)
A) The type of node.
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.
A) The type of node.
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.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
31
What is the class.org.alfresco.model.ContentModel used for?
A) Transforming document content into a different format.
B) Validating the content of the document follows a certain template.
C) Referencing out of the box content model types in your code.
D) Trigger automatic metadata extraction from the content.
E) Moving content in the repository between folders.
A) Transforming document content into a different format.
B) Validating the content of the document follows a certain template.
C) Referencing out of the box content model types in your code.
D) Trigger automatic metadata extraction from the content.
E) Moving content in the repository between folders.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
32
Which type of constraint can be used to put a limit on the numeric value that can be stored in a property when designing a content model?
A) LENGTH
B) REGEX
C) MINMAX
D) LIST
E) MAX
A) LENGTH
B) REGEX
C) MINMAX
D) LIST
E) MAX
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
33
What does the index="100" refer to, in the following example of an action group definition in Share?
A) The fade delay in milliseconds for the action in the user interface.
B) The index id of the icon to be used for the action.
C) The index id of the action item in the data dictionary.
D) The ordering of the items in the action items in the display.
A) The fade delay in milliseconds for the action in the user interface.
B) The index id of the icon to be used for the action.
C) The index id of the action item in the data dictionary.
D) The ordering of the items in the action items in the display.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
34
A repository web script is defined with the URL '/myco/hello-world' in its descriptor document and requires user authentication. Which of the following URLs can be used through 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
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
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
35
What are the minimum steps needed to add a custom search form in Alfresco Share?
A) Define your form using Share form configuration and add the definition to the 'AdvancedSearch' configuration section in share-config-custom.xml
B) Define your form mark-up in a FreeMarker file, add the definition to the 'AdvancedSearch' configuration section in share-config-custom.xml, and provide a web script to handle search requests.
C) Define your form mark-up in a FreeMarker file and add the definition to the 'AdvancedSearch' configuration section in share-config-custom.xml
D) Define a web script to render the form, a web script to handle search requests, and add the definitions to the 'AdvancedSearch' configuration section in share-config-custom.xml
A) Define your form using Share form configuration and add the definition to the 'AdvancedSearch' configuration section in share-config-custom.xml
B) Define your form mark-up in a FreeMarker file, add the definition to the 'AdvancedSearch' configuration section in share-config-custom.xml, and provide a web script to handle search requests.
C) Define your form mark-up in a FreeMarker file and add the definition to the 'AdvancedSearch' configuration section in share-config-custom.xml
D) Define a web script to render the form, a web script to handle search requests, and add the definitions to the 'AdvancedSearch' configuration section in share-config-custom.xml
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
36
Which searches are possible to execute with CMIS 1.1 cmis:item support on Alfresco? (Choose two.)
A) select * from cmis:item
B) select * from sys:base
C) select * from rule:rule
D) select * from bpm:package
E) select * from cm:person
A) select * from cmis:item
B) select * from sys:base
C) select * from rule:rule
D) select * from bpm:package
E) select * from cm:person
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
37
What is the API used to access nodes and node related information from a FreeMarker template?
A) ScriptNode
B) TemplateNode
C) NodeRef
D) TemplateObject
A) ScriptNode
B) TemplateNode
C) NodeRef
D) TemplateObject
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
38
Which is the correct name of a helper class that should be extended to define your own Java-backed web scripts that take full control of the HTTP request?
A) WebScriptImpl
B) DeclarativeWebScript
C) BasicWebScript
D) AbstractWebScript
A) WebScriptImpl
B) DeclarativeWebScript
C) BasicWebScript
D) AbstractWebScript
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
39
How can we modify what data is shown in each row of the Alfresco Share document library, using the supported extension points?
A) Define and use a new metadata template in share-config-custom.xml
B) Customize the FreeMarket template that is used to render the document library
C) Update the JavaScript used to create the document library using the YUI libraries.
D) Clone all the document library components, and make the required changes.
A) Define and use a new metadata template in share-config-custom.xml
B) Customize the FreeMarket template that is used to render the document library
C) Update the JavaScript used to create the document library using the YUI libraries.
D) Clone all the document library components, and make the required changes.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
40
You want to increase the maximum number of results returned by searches in Share from the default 250 to 1000. How would you affect this change?
A) Set system.acl.maxPermissionChecks in alfresco-global.properties to 1000.
B) Set maxSearchResults in users.js to 1000.
C) Set maxSearchResults in nodebrowser.js to 1000.
D) Set max-search-results in share-config-custom.xml to 1000.
A) Set system.acl.maxPermissionChecks in alfresco-global.properties to 1000.
B) Set maxSearchResults in users.js to 1000.
C) Set maxSearchResults in nodebrowser.js to 1000.
D) Set max-search-results in share-config-custom.xml to 1000.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
41
Which web script object can be used to retrieve the values of web script parameters specified in-line within the URL path, within FreeMarker templates and JavaScript code?
A) url.templateArgs
B) url.args
C) arguments
D) args
A) url.templateArgs
B) url.args
C) arguments
D) args
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
42
Which of the following HTTP methods is NOT supported by the web scripts framework by default?
A) PUT
B) GET
C) DELETE
D) OPTIONS
A) PUT
B) GET
C) DELETE
D) OPTIONS
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
43
When defining Smart Folder Templates which are considered best practices? (Choose two.)
A) Use FTS query language for defining the smart folder search.
B) Use CMIS query language for defining the smart folder search.
C) If you use WebDAV or CIFS only queries returning cm:content and subtypes should be used.
D) Don't create filing rules that don't match the query criteria for the folder.
E) Use Lucene query language for defining the smart folder search.
A) Use FTS query language for defining the smart folder search.
B) Use CMIS query language for defining the smart folder search.
C) If you use WebDAV or CIFS only queries returning cm:content and subtypes should be used.
D) Don't create filing rules that don't match the query criteria for the folder.
E) Use Lucene query language for defining the smart folder search.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
44
Which repository folder is the first location where the repository web script container will search for web script implementation files, and can be used to override web scripts placed in any other location?
A) /Company Home/Web Scripts
B) /Company Home/Templates/Web Scripts
C) /Company Home/Data Dictionary/Web Scripts Extensions
D) /Company Home/Data Dictionary/Web Scripts
A) /Company Home/Web Scripts
B) /Company Home/Templates/Web Scripts
C) /Company Home/Data Dictionary/Web Scripts Extensions
D) /Company Home/Data Dictionary/Web Scripts
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
45
When would you consider developing your custom server code in Java in place of JavaScript? (Choose three.)
A) When a web script needs to be executed inside a transaction.
B) When I need to execute part of my code as system user.
C) When developing a custom scheduled process.
D) When developing a content rule.
E) When developing a behavior/policy.
A) When a web script needs to be executed inside a transaction.
B) When I need to execute part of my code as system user.
C) When developing a custom scheduled process.
D) When developing a content rule.
E) When developing a behavior/policy.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
46
Which cases would be an appropriate use of the CMIS API?
A) You need to update user and groups information on the repository.
B) You need to query documents by the tags applied to them.
C) You need to query and update data list items.
D) You need to update active workflow tasks.
E) You need to create and add aspects to folders.
A) You need to update user and groups information on the repository.
B) You need to query documents by the tags applied to them.
C) You need to query and update data list items.
D) You need to update active workflow tasks.
E) You need to create and add aspects to folders.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
47
When are Alfresco-specific database tables created within the database?
A) On the first login by the "admin" user.
B) Prior to installing Alfresco Content Services.
C) During the initial startup of the Alfresco Content Services repository.
D) During installation before the application server starts.
A) On the first login by the "admin" user.
B) Prior to installing Alfresco Content Services.
C) During the initial startup of the Alfresco Content Services repository.
D) During installation before the application server starts.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
48
A repository web script is defined in the directory: '/webapps/alfresco/WEB-INF/alfresco/templates/webscripts/org/alfresco/test' inside the Alfresco Content Services installation. Which of the following procedures should you use to change the default output template, while adhering to best practice?
A) Create a copy of the output template file in the same directory, then update the web script descriptor to reference the new file.
B) Copy the output template file into: '/webapps/alfresco/WEB-INF/alfresco/extension/templates/webscripts/org/alfresco/test', make your changes there, then update the web script descriptor to reference the new file.
C) '/webapps/alfresco/WEB-INF/alfresco/extension/templates/webscripts/org/alfresco/test' and make your changes there.
D) '/shared/classes/alfresco/extension/templates/webscripts/org/alfresco/test' and make your changes there.
A) Create a copy of the output template file in the same directory, then update the web script descriptor to reference the new file.
B) Copy the output template file into: '
C) '
D) '
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
49
You have created a Dashlet for Alfresco Share and deployed your files to the correct directory. You have then refreshed the Share web scripts, but the number of web scripts stays the same. Which of the following options could be causing this?
A) You are using Internet Explorer; you should be using Firefox.
B) Share needs to be restarted, refreshing web scripts is not enough.
C) Your files do not adhere to the standard naming convention.
D) The cache on the browser needs to be cleared.
E) You did not register the dashlet with the data dictionary.
A) You are using Internet Explorer; you should be using Firefox.
B) Share needs to be restarted, refreshing web scripts is not enough.
C) Your files do not adhere to the standard naming convention.
D) The cache on the browser needs to be cleared.
E) You did not register the dashlet with the data dictionary.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
50
What is the difference between nodeService and NodeService in Alfresco Content Services?
A) There is no difference, these two beans are identical.
B) The upper case bean is an AOP proxy, and injects auditing, security, and other features into the underlying service.
C) The lower case bean is an AOP proxy, and injects auditing, security, and other features into the underlying service.
D) The NodeService bean does not exist.
A) There is no difference, these two beans are identical.
B) The upper case bean is an AOP proxy, and injects auditing, security, and other features into the underlying service.
C) The lower case bean is an AOP proxy, and injects auditing, security, and other features into the underlying service.
D) The NodeService bean does not exist.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
51
When working with repository-side web scripts and updating aspect-provided properties on a given node, which method must be called to save the values against the node?
A) mynode.updateAll()
B) mynode.save()
C) mynode.properties.save()
D) mynode.aspects.save()
A) mynode.updateAll()
B) mynode.save()
C) mynode.properties.save()
D) mynode.aspects.save()
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
52
Which of the following correctly describes the behavior of CMIS properties?
A) Properties can be single or multi-valued.
B) Properties can be shared between objects.
C) Properties are untyped.
D) Properties are explicitly ordered.
A) Properties can be single or multi-valued.
B) Properties can be shared between objects.
C) Properties are untyped.
D) Properties are explicitly ordered.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
53
What does the JavaScript ScriptNode API expression "node.assocs" do?
A) Returns a complete read only list of all associations.
B) Returns the list of all associations which can be changes and modified.
C) Returns the list of child associations which are read only.
D) Returns the list of child associations which can be changes and modified.
A) Returns a complete read only list of all associations.
B) Returns the list of all associations which can be changes and modified.
C) Returns the list of child associations which are read only.
D) Returns the list of child associations which can be changes and modified.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
54
In reviewing a JavaScript file, you notice a built-in object named: qsvc. Describe how this object was made available to JavaScript.
A) A new class extended the BaseProcessorExtension class and a bean definition specified the name "qsvc".
B) A class named "qsvc" extended the BaseProcessorExtension class and a bean with a parent of "qsvc" deployed this class.
C) A class named "qsvc" extended the BaseProcessorExtension class and a bean deployed this class.
D) A class extended the ScriptAPI class and a bean definition deployed this class.
A) A new class extended the BaseProcessorExtension class and a bean definition specified the name "qsvc".
B) A class named "qsvc" extended the BaseProcessorExtension class and a bean with a parent of "qsvc" deployed this class.
C) A class named "qsvc" extended the BaseProcessorExtension class and a bean deployed this class.
D) A class extended the ScriptAPI class and a bean definition deployed this class.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
55
When running the following CMIS query "SELECT * FROM cmis:document WHERE CONTAINS('zebra')", what result would be returned?
A) All document objects with the word 'zebra' in the name, title or description properties
B) All document objects with the word 'zebra' in the full text content.
C) All document objects with the word 'zebra' in the description property only.
D) All document objects with the word 'zebra' in the title property.
E) All document objects with the word 'zebra' in the name property.
A) All document objects with the word 'zebra' in the name, title or description properties
B) All document objects with the word 'zebra' in the full text content.
C) All document objects with the word 'zebra' in the description property only.
D) All document objects with the word 'zebra' in the title property.
E) All document objects with the word 'zebra' in the name property.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
56
Which of the following is NOT an out-of-the-box root scoped object in the Java Script API?
A) space
B) log
C) document
D) companyhome
A) space
B) log
C) document
D) companyhome
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
57
Which of the following APIs facilitate the development of a remote client that can access both Cloud and On-Premise Alfresco Content Services repositories? (Choose two.)
A) Repository JavaScript API
B) FreeMarker Template API
C) Alfresco Content Services API
D) Public Java API
E) CMIS API
A) Repository JavaScript API
B) FreeMarker Template API
C) Alfresco Content Services API
D) Public Java API
E) CMIS API
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
58
Which statement would return the username of the currently logged-in user?
A) session.userName
B) session.properties["cm:userName"]
C) person.userName()
D) person.properties.userName
A) session.userName
B) session.properties["cm:userName"]
C) person.userName()
D) person.properties.userName
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
59
What are the mandatory components of a non-Java-backed data web script?
A) An XML descriptor only.
B) An XML descriptor, JavaScript controller, and an output template.
C) A JavaScript controller and an output template.
D) An XML descriptor and an output template.
A) An XML descriptor only.
B) An XML descriptor, JavaScript controller, and an output template.
C) A JavaScript controller and an output template.
D) An XML descriptor and an output template.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
60
Which of the following method-level security definitions, will filter array of members, returned by the method, based on the access conditions applied to each member?
A) AFTER_ACL_NODE.0.sys:base.ReadProperties
B) AFTER_ACL_NODE.sys:base.ReadProperties
C) AFTER_ACL_LIST.0.sys:base.ReadProperties
D) AFTER_ACL_LIST.sys:base.ReadProperties
A) AFTER_ACL_NODE.0.sys:base.ReadProperties
B) AFTER_ACL_NODE.sys:base.ReadProperties
C) AFTER_ACL_LIST.0.sys:base.ReadProperties
D) AFTER_ACL_LIST.sys:base.ReadProperties
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
61
Choose the correct priority order in which Alfresco Content Services will load subsystem settings:
A) JMX -> subsystem instance -> subsystem default -> Alfresco global properties
B) Alfresco global properties -> subsystem default -> subsystem instance -> JMX
C) JMX -> Alfresco global properties -> subsystem instance -> subsystem default
D) Alfresco global properties -> JMX -> subsystem instance -> subsystem default
A) JMX -> subsystem instance -> subsystem default -> Alfresco global properties
B) Alfresco global properties -> subsystem default -> subsystem instance -> JMX
C) JMX -> Alfresco global properties -> subsystem instance -> subsystem default
D) Alfresco global properties -> JMX -> subsystem instance -> subsystem default
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
62
Which Alfresco Java Public API service can be used to inspect the currently loaded content models?
A) NodeService
B) DictionaryService
C) ContentService
D) ModuleService
A) NodeService
B) DictionaryService
C) ContentService
D) ModuleService
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
63
Which one of the following steps is necessary when customizing the "Advanced Search" in Share and adding a date property to the search form?
A) The date range control needs to be specified in share-config-custom.xml.
B) A Java-backed web script to deal with dates needs to be created and referenced in share-config-custom.xml.
C) Share will automatically provide a date range control for dates.
D) A date range control needs to be created in FreeMarker, then specified in share-config-custom.xml.
A) The date range control needs to be specified in share-config-custom.xml.
B) A Java-backed web script to deal with dates needs to be created and referenced in share-config-custom.xml.
C) Share will automatically provide a date range control for dates.
D) A date range control needs to be created in FreeMarker, then specified in share-config-custom.xml.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
64
Which function can be used in the SELECT clause of a CMIS query to return a measure of the relevance of each row, in numerical format?
A) VALUE()
B) POS()
C) RANKING()
D) SCORE()
A) VALUE()
B) POS()
C) RANKING()
D) SCORE()
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
65
When designing a content model in Alfresco Content Services you realize that the content model needs to refer to definitions that reside in another existing content model. How is the reference established?
A) Alfresco will automatically be aware of the existing definitions.
B) We need to Import the namespace of the content model within which those definitions are created.
C) The repository does not allow a content model to reference definitions that reside on another content model.
D) We need to merge the two content models into a single content model.
A) Alfresco will automatically be aware of the existing definitions.
B) We need to Import the namespace of the content model within which those definitions are created.
C) The repository does not allow a content model to reference definitions that reside on another content model.
D) We need to merge the two content models into a single content model.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
66
What does the CMIS object model not support?
A) versioning
B) workflow
C) policy
D) document
A) versioning
B) workflow
C) policy
D) document
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
67
On which type of nodes can content rules be defined? (Choose two.)
A) Content.
B) DataList.
C) Folders.
D) Person.
E) Aspect.
A) Content.
B) DataList.
C) Folders.
D) Person.
E) Aspect.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
68
Where can JavaScript be stored and run from?
A) The classpath only.
B) The presentation tier only.
C) The repository.
D) The repository and the classpath.
A) The classpath only.
B) The presentation tier only.
C) The repository.
D) The repository and the classpath.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
69
Considering to be the root folder of the Alfresco Content Services installation, which steps do you need to execute to deploy a simple module that extends the repository? (Choose two.)
A) Copy the JAR extension to /modules/platform.
B) Copy the AMP extension to /amps.
C) Apply the AMP extension using /bin/apply_amps.sh
D) Apply the JAR extension using /bin/apply_jars.sh
E) Restart Alfresco.
A) Copy the JAR extension to /modules/platform.
B) Copy the AMP extension to /amps.
C) Apply the AMP extension using /bin/apply_amps.sh
D) Apply the JAR extension using /bin/apply_jars.sh
E) Restart Alfresco.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
70
Alfresco Content Services defines some root objects to use with Web Scripts FreeMarker templates. Which one of the following objects is NOT a default root object?
A) args
B) user
C) url
D) workflow
A) args
B) user
C) url
D) workflow
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
71
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
A) common.js
B) util.js
C) slingshot.js
D) alfresco.js
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
72
Which changes can NOT be made in the share-config-custom.xml file?
A) Setting the labels for fields on the "Search" dialog.
B) Enabling and defining Smart Folder Templates.
C) Changing the FreeMarker template that controls the display of a field.
D) Grouping fields into sets on the "Edit Metadata" page.
A) Setting the labels for fields on the "Search" dialog.
B) Enabling and defining Smart Folder Templates.
C) Changing the FreeMarker template that controls the display of a field.
D) Grouping fields into sets on the "Edit Metadata" page.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
73
After uploading a new document format to Alfresco Content Services, you notice that it isn't showing up in the full-text search results. Which action might help you understand why?
A) Use Luke to check the index for the document UUID, then check the index state of that UUID.
B) Look at the list of registered transformers to make sure the mime type of the uploaded document is transformable to text.
C) Verify the content model to make sure it was properly loaded into the repository.
D) Inspect the current upload script, we need to manually add the indexing for new mime types there.
A) Use Luke to check the index for the document UUID, then check the index state of that UUID.
B) Look at the list of registered transformers to make sure the mime type of the uploaded document is transformable to text.
C) Verify the content model to make sure it was properly loaded into the repository.
D) Inspect the current upload script, we need to manually add the indexing for new mime types there.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
74
How many workflow execution tokens are created initially when a "Review and Approve" out of the box workflow is started?
A) One for "Review" and one for "Approve".
B) One per user task.
C) One per user within an assigned group.
D) One.
A) One for "Review" and one for "Approve".
B) One per user task.
C) One per user within an assigned group.
D) One.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
75
During the development stage of a workflow, developers need to make sure the newest version of the process definition is being deployed, as there may be significant structural changes to the workflow. Choose the correct development cycle that allows the deployment of the newest version correctly.
A) Add the property reload "true" to the workflow deployer bean and set this property to false when the development cycle is completed.
B) Add the property redeploy "true" to the workflow deployer bean and set this property to false when the development cycle is completed.
C) Add the property reload "true" to the workflow deployer bean and remove this property when the development cycle is completed.
D) Add the property redeploy "true" to the workflow deployer bean and keep this value after the development cycle is completed.
A) Add the property reload "true" to the workflow deployer bean and set this property to false when the development cycle is completed.
B) Add the property redeploy "true" to the workflow deployer bean and set this property to false when the development cycle is completed.
C) Add the property reload "true" to the workflow deployer bean and remove this property when the development cycle is completed.
D) Add the property redeploy "true" to the workflow deployer bean and keep this value after the development cycle is completed.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
76
Within the web script descriptor file, which tag controls if a dashlet should show up on the user dashboard and/or the site dashboard?
A) region
B) family
C) type
D) url
A) region
B) family
C) type
D) url
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
77
In the workload pictured, which sequence flows will be taken after the QA Review is complete? 
A) Both the "Approve" and "Reject" paths will be taken in parallel.
B) The conditions defined on the sequence flow will determine the path.
C) The "Approve" flow will always be taken.
D) The default flow will be always triggered.
E) The "Reject" flow will always be taken.

A) Both the "Approve" and "Reject" paths will be taken in parallel.
B) The conditions defined on the sequence flow will determine the path.
C) The "Approve" flow will always be taken.
D) The default flow will be always triggered.
E) The "Reject" flow will always be taken.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
78
You want to execute a query in Alfresco Full-Text Search that returns only nodes with a custom text property my:property that exactly matches 1000. Which query would be correct?
A) The correct query is: my:property:1000
B) The correct query is: =my:property:1000
C) The correct query is: !my:property:1000
D) The correct query is: ~my:property:1000
A) The correct query is: my:property:1000
B) The correct query is: =my:property:1000
C) The correct query is: !my:property:1000
D) The correct query is: ~my:property:1000
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
79
Consider a static content model loaded at bootstrap that defines a property called "xyz". The property "xyz" is deleted from the content model and the Alfresco server is restarted. Which statement is TRUE?
A) The server will refuse to start up and you must review the alfresco.log.
B) There are no effects upon nodes that have the "xyz" property.
C) You can still access values for property "xyz", but it is a residual property.
D) The values for "xyz" disappear as though they never existed.
A) The server will refuse to start up and you must review the alfresco.log.
B) There are no effects upon nodes that have the "xyz" property.
C) You can still access values for property "xyz", but it is a residual property.
D) The values for "xyz" disappear as though they never existed.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
80
What is the purpose of a content policy?
A) To allow for model constraints, such as LIST or ENUM constraints.
B) To initiate Java code in response to predefined events.
C) To limit which user/group can create certain types of content.
D) To validate content against a strict model XSD.
A) To allow for model constraints, such as LIST or ENUM constraints.
B) To initiate Java code in response to predefined events.
C) To limit which user/group can create certain types of content.
D) To validate content against a strict model XSD.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck