SALESFORCE MULESOFT
DEVELOPER PRACTICE
TEST 60 QUESTIONS
Question 1: A team wants to apply a client-access policy to a managed Mule API
without adding custom access-checking code to every resource ow. Where should the policy be managed?
Choices:
1) API Manager 2) Inside every Set Payload component 3) Only in the RAML examples section 4) In the Batch On Complete phase
Correct Answer: API Manager
Explanation: API Manager is used to apply and manage API policies for managed API instances.With a proxy or correctly paired Mule implementation, policies can be enforced separately from resource-ow business logic.Page 1
Question 2: Which DataWeave function is specically used to invoke a Mule ow from a DataWeave expression?
Choices:
1) lookup 2) lter 3) orderBy 4) pluck
Correct Answer: lookup
Explanation: The DataWeave lookup function can invoke a Mule ow and return its result. It should be used deliberately because it creates a dependency between the transformation and ow logic.
Question 3: A POST request successfully creates a new customer resource. Which
HTTP status code is the most appropriate response when creation succeeds?
Choices:
1) 200 OK only 2) 201 Created 3) 204 No Content for every creation 4) 304 Not Modied
Correct Answer: 201 Created
Explanation: 201 Created is the standard status for a successful request that creates a new resource. A Location header may also identify the new resource.Page 2
Question 4: One Scatter-Gather route fails with an unhandled error while another route succeeds. What error does Scatter-Gather normally raise after route processing completes?
Choices:
1) MULE:COMPOSITE_ROUTING
2) HTTP:NOT_FOUND
3) DB:CONNECTIVITY in every case
4) No error because one route succeeded Correct Answer: MULE:COMPOSITE_ROUTING Explanation: If a Scatter-Gather route fails and the error is not handled within that route, Scatter-Gather raises MULE:COMPOSITE_ROUTING. The composite error can include failures and successful route results.Question 5: A ow previously set a variable named retryCount. Which expression correctly reads it later in the same Mule event?
Choices:
1) attributes.retryCount 2) vars.retryCount 3) payload.retryCount 4) properties.retryCount
Correct Answer: vars.retryCount
Explanation: Mule event variables are accessed with the vars keyword. Therefore
vars.retryCount retrieves the variable named retryCount.Page 3