Free Salesforce-MuleSoft-Developer-I Exam Braindumps (page: 6)

Page 5 of 59

An API specification is designed using RAML.
What is the next step to create a REST Connector from this API specification?

  1. Download the API specification and build the interface using APIkit
  2. Publish the API specification to Any point Exchange
  3. Implement the API specification using flow designer in Design Center
  4. Add the specification to a Mule project's src/main/resources/api folder

Answer(s): B

Explanation:

API Exchange creates REST conenctor automtaically once API is published. Hence correct answer is Publish the API specification to Any point Exchange



Refer to the exhibit.



The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference .
ACME/DataTypes/PlanDataType.raml.
What is a valid RAML specification that reuses the Plan data type?

A)



B)



C)



D)

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): D

Explanation:

As can be seen in RAML, POST expects input in application/json format which eliminates two of the options as two options are in xml format.
Now out of the two remaining options, one has id field in request which is only mentioned for get response and not for POST request. Hence id field is not expected in POST request.
Hence correct answer is

{
"name": "GoerdiLa Forge",
"address": "1 Westland CA",
"customer_since": "2014-01-04",
"balance": "4829.29",
"bank_agend_id": "12556"
}



What execution model is used by For Each and Batch Job scopes?

  1. For Each is single-threaded and Batch Job is multi-threaded
  2. Both are single-threaded
  3. Both are multi-threaded
  4. Batch Job is single-threaded and For Each Is multi-threaded

Answer(s): A



Refer to the exhibit.



The main flow contains a Flow Reference for the child flow.
What values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? color=red?

  1. payload
  2. payload quantity var
  3. payload color query param
  4. payload quantity var color query param

Answer(s): D

Explanation:

Flow Reference Component
Flow Reference routes the Mule event to another flow or subflow, executes all processors in the referenced flow, and then routes the event back within the same Mule application. The following diagram shows the order of processing when one flow references another:



When the main flow is triggered, the Mule event travels through and executes the flow until the event reaches the Flow Reference. The event then travels through and executes the referenced flow from beginning to end, and then returns to the main flow. This process enables you to treat the entire referenced flow like a single component in your current flow.


Reference:

https://docs.mulesoft.com/mule-runtime/4.3/flowref-about Correct answer is payload quantity var color query param






Post your Comments and Discuss Salesforce Salesforce-MuleSoft-Developer-I exam with other Community members:

Salesforce-MuleSoft-Developer-I Exam Discussions & Posts