Exam4Training

Alfresco APSCE Alfresco Process Services Certified Engineer (APSCE) Online Training

Question #1

What are the advantages of using Script Tasks to implement business logic? Choose 2 answers

  • A . To allow re-use of business logic
  • B . To allow implementation of quick prototyping
  • C . To allow implementation of simple operations
  • D . To prevent code changes by a process modeler
  • E . To allow access to REST API

Reveal Solution Hide Solution

Correct Answer: A,E
Question #2

Which of the following is NOT a valid value to be passed for the HTTP header activiti-user­value-type? Choose 1 answer.

  • A . userldType
  • B . userEmailType
  • C . userExternalldType
  • D . userNameType

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

https://docs.alfresco.com/process­services1.8/topics/rest_api_authorization.html

Question #3

Which of the following methods does NOT have to be overwritten while implementing the interface for an Alfresco Process Services Custom Data Model service? Choose 1 answer.

  • A . public String storeEntity(ListattributeDefinitionsAndValues,
    DataModelEntityRepresentation entityDefinition,
    DataModelDefinitionRepresentationdataModel)
  • B . public boolean setMappedValue(DataModelEntityRepresentation entityValue, String mappedName, Object variableValue)
  • C . public ObjectNode getMappedValue(DataModelEntrtyRepresentation entityValue, String mappedName. Object variableValue)
  • D . public VariableEntityWrapper getVariableEntity(String keyValue, String variableName, String processDefinitionld,
    DataModelEntityRepresentation entityValue)

Reveal Solution Hide Solution

Correct Answer: D
Question #4

What are the mandatory actions to embed the Alfresco Process Services application into an existing application? Choose 2 answers

  • A . Add the Alfresco Process Services JavaScript files to your existing application.
  • B . Add the necessary Alfresco Process Services Spring configuration Deans
  • C . Reference the correct Alfresco Process Services Maven dependencies In your project
  • D . Reference the correct Alfresco Process Services Admin Maven dependencies in your project
  • E . Configure the Alfresco Process Services REST application endpoint

Reveal Solution Hide Solution

Correct Answer: B,C
B,C

Explanation:

https://docs.alfresco.com/process­services1.7/topics/embed_process_services.html

Question #5

What mechanism should be used to direct process engine events to a new data source? Choose 1 answer.

  • A . Extend the abstract class EngineEventProcessor.
  • B . Implement the interface RuntimeEventListener.
  • C . Configure a new Event Data Source using the Alfresco Process Services Admin application.
  • D . Configure a new Event Data Source using the Alfresco Process Services Tenant Management application.

Reveal Solution Hide Solution

Correct Answer: B
Question #6

In which file are the globally available form extension methods registered? Choose 1 answer

  • A . activiti-app/index.html
  • B . activiti-app/workflow/index.html
  • C . activiti-app/editor/index.html
  • D . activiti-app/forms/index.html

Reveal Solution Hide Solution

Correct Answer: D
Question #7

Which service can be used to obtain the process engine configuration in a Service Task? Choose 1 answer.

  • A . ManagementService
  • B . RuntimeService
  • C . EngineServices
  • D . RepositoryService

Reveal Solution Hide Solution

Correct Answer: A
Question #8

Which of the following identifiers is always required by Alfresco Process Services Engine REST API requests? Choose 1 answer.

  • A . A repository identifier in the url.
  • B . A tenant identifier in the JSON body
  • C . a repository identifier in the JSON body.
  • D . The tenant identifier in the url

Reveal Solution Hide Solution

Correct Answer: A
Question #9

What is the scope of a new variable created using the setVariable method in a JavaDelegate? Choose 1 answer.

  • A . The scope of the variable will be the one of the object instance.
  • B . The scope of the variable will be local to the java class method.
  • C . The scope of the variable will be global to the process
  • D . The scope of the variable will be local to the task.

Reveal Solution Hide Solution

Correct Answer: A
Question #10

Which of the following code snippets will correctly set the variable. ‘’upperCaseString’’ to an upper case version of the expression which is pass in? Choose 1 answer:

A)

B)

C)

D)

  • A . Option A
  • B . Option B
  • C . Option C
  • D . Option D

Reveal Solution Hide Solution

Correct Answer: D

Question #11

How can a developer programmatically implement a feature to save all entered task form values, whenever a user leaves a task form field? Choose 1 answer.

  • A . By implementing the save functionality in the formRendered form extension method
  • B . By Implementing the save functionality in the formFieldVaIueChanged form extension method
  • C . By Implementing the save functionality in the formFieldBlur form extension method.
  • D . By implementing the save functionality in the formFieldFocus form extension method

Reveal Solution Hide Solution

Correct Answer: D
Question #12

In which package must a custom REST endpoint be placed to make it accessible via HTTP basic authentication? Choose 1 answer.

  • A . com.activiti.extension.rest
  • B . com activiti extension api
  • C . com.activiti.extension.basic
  • D . com.activiti.extension.http

Reveal Solution Hide Solution

Correct Answer: A
Question #13

Which URL path automatically secures Custom REST Endpoints via Basic Authentication? Choose 1 answer.

  • A . /api/activiti
  • B . /api/enterprise
  • C . /api/public
  • D . /api/private

Reveal Solution Hide Solution

Correct Answer: D
Question #14

Which of the following CANNOT be modifiedby creating a custom stencl? Choose 2 answers

  • A . Form Editor
  • B . BPMN Editor
  • C . Step Editor
  • D . Data Model Editor
  • E . Decision Table Editor

Reveal Solution Hide Solution

Correct Answer: A,B
Question #15

How are additional web resources loaded by the browser for each Alfresco Process Services App?

  • A . By loading the resources which have been placed in the class path
  • B . By loading the resources which have been placed in each app folder
  • C . By loading the resources which have been defined In the app-cfg.js file
  • D . By loading the resources which have been defined in the activiti-app.properties file.

Reveal Solution Hide Solution

Correct Answer: D
D

Explanation:

https://docs.alfresco.com/process-services1.8/topics/developmentGuide.html

Exit mobile version