Alfresco acsce-5x practice test

Alfresco Content Services Certified Engineer Exam


Question 1

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

  • A. None.
  • B. None for GET Web Scripts, “required” for POST/PUT.
  • C. Required.
  • D. Depends on the value of <authentication>
Answer:

A

Explanation:
None specifies that no transaction is required to run the web script. This is the default value if the
transaction level is not explicitly specified, and the authentication level is none. If the authentication
level is not none then the default value is required.

Discussions

Question 2

A web script descriptor uses the runAs attribute of the <authentication> element. What
limitation does the web script have?

  • A. They cannot be used with Tomcat 7.
  • B. They cannot reside in the classpath.
  • C. They are not automatically reloaded.
  • D. They cannot reside in the data dictionary.
Answer:

D

Discussions

Question 3

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

  • A. helloworld
  • B. /example/test/helloworld
  • C. /example/test/helloworld.html
  • D. /example
Answer:

B

Discussions

Question 4

Having obtained the NodeRef of an Alfresco Content Services Node, which properties can NOT be
retrieved using the getContent Alfresco Content Services REST API?

  • A. The ‘cm:content’ property of all thumbnails associated with the content item.
  • B. The ‘cm:content’ property of all children of the item.
  • C. All properties of type ‘d:content’ with ids other than ‘cm:content’
  • D. All properties of type ‘d:content’ with namespace other than ‘cm:’
Answer:

B

Discussions

Question 5

Which of the following URLs are a valid base for accessing the Alfresco 5.2 Rest API for an Alfresco
repository accessible via the URL
http://server/alfresco
? (Choose two.)
A.
http://server/alfresco/s
B.
http://server/alfresco/restful
C.
http://server/alfresco/script
D.
http://server/alfresco/ws
E.
http://server/alfresco/service

Answer:

D,E

Discussions

Question 6

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

C

Explanation:
The Repository JavaScript API lets you develop JavaScript (ECMAScript) 1.6 compatible files to access,
modify, and create repository objects such as nodes, aspects, and properties.

Discussions

Question 7

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

C

Discussions

Question 8

Which Alfresco Java Public API service can be used to inspect the currently loaded content models?

  • A. NodeService
  • B. DictionaryService
  • C. ContentService
  • D. ModuleService
Answer:

D

Discussions

Question 9

What does the CMIS object model not support?

  • A. versioning
  • B. workflow
  • C. policy
  • D. document
Answer:

B

Discussions

Question 10

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

  • A. VALUE()
  • B. POS()
  • C. RANKING()
  • D. SCORE()
Answer:

D

Discussions
To page 2