MuleSoft Certified Developer – Integration and API Associate (Mule 3) Sample Questions

  1. Home
  2. MuleSoft Certified Developer – Integration and API Associate (Mule 3) Sample Questions
MuleSoft Certified Developer - Integration and API Associate (Mule 3) Sample Questions

A MuleSoft Certified Developer – Integration and API Associate (Mule 3) should be capable of working under supervision on simple Mule 3 projects. The MCD – Integration and API Associate (Mule 3) exam, on the other hand, tests a developer’s knowledge and abilities in designing, constructing, testing and debugging, deploying, and managing fundamental integrations and APIs.  The article provides a list of MuleSoft Certified Developer – Integration and API Associate (Mule 3) Sample Questions that cover core exam topics including –

  • Explaining application network basics
  • Designing and consuming APIs
  • Accessing and modifying Mule messages
  • Structuring Mule applications
  • Building API implementation interfaces
  • Routing messages
  • Handling errors
  • Transforming data with DataWeave
  • Using Connectors
  • Processing records
  •  Debugging and troubleshooting Mule applications
  • Deploying and managing APIs and integrations

Advanced Sample Questions

What type of message processor is used for transforming the message payload in Mule?

  • a) Expression Transformer
  • b) Message Enricher
  • c) Object to JSON transformer
  • d) Object to XML transformer

Answer: a) Expression Transformer

Explanation: The Expression Transformer is used for transforming the message payload in Mule using expressions such as MEL (Mule Expression Language) or DataWeave.

What is the use of a Flow in Mule?

  • a) To store message payload
  • b) To handle messages within a Mule application
  • c) To control the message flow within a Mule application
  • d) To create message processing rules

Answer: c) To control the message flow within a Mule application

Explanation: A Flow in Mule is used to control the message flow within a Mule application. It can be used to route messages based on conditions, apply message processors, and perform other message-related operations.

What is the function of the Message Enricher in Mule?

  • a) To add additional data to the message payload
  • b) To remove data from the message payload
  • c) To modify the message payload
  • d) To store the message payload

Answer: a) To add additional data to the message payload

Explanation: The Message Enricher is used to add additional data to the message payload in Mule. This data can come from various sources such as databases, web services, or other Mule applications.

What type of exception strategy is used in Mule to catch and handle exceptions?

  • a) Catch Exception Strategy
  • b) Rollback Exception Strategy
  • c) Try Exception Strategy
  • d) None of the above

Answer: a) Catch Exception Strategy

Explanation: The Catch Exception Strategy is used in Mule to catch and handle exceptions. It can be used to handle specific exceptions, perform logging or error reporting, or redirect the message flow to a different processing path.

What is the purpose of a Connector in Mule?

  • a) To provide integration with external systems
  • b) To store message payload
  • c) To handle messages within a Mule application
  • d) To control the message flow within a Mule application

Answer: a) To provide integration with external systems

Explanation: A Connector in Mule is used to provide integration with external systems such as databases, web services, and other Mule applications. It provides a way to interact with external systems in a consistent and standardized way.

What is the use of the Object to JSON transformer in Mule?

  • a) To transform the message payload from an object to JSON format
  • b) To transform the message payload from JSON to an object format
  • c) To modify the message payload
  • d) To store the message payload

Answer: a) To transform the message payload from an object to JSON format

Explanation: The Object to JSON transformer in Mule is used to transform the message payload from an object to JSON format. This is useful for converting Java objects to a format that is easily consumable by other systems.

What is the use of a Variable in Mule?

  • a) To store message payload
  • b) To store data that can be used in multiple flows within a Mule application
  • c) To handle messages within a Mule application
  • d) To control the message flow within a Mule application

Answer: b) To store data that can be used in multiple flows within a Mule application

Basic Sample Questions

Q1)With a distinct identity for each customer record, a RAML specification is established to handle customers. What URI does Mulesoft advise using to reach a particular customer designated by the special ID 1234?

  • A. /customers/1234
  • B. /customers?operation=get&custid=1234
  • C. /customers/custid=1234
  • D. /customers?custid=1234

Correct Answer: A

Q2)Resources for a banking application’s RAML specification include accounts, account id, and transactions. For a certain account id, what resource/method pair fetches transactions?

  • A. GET /accounts/{account_id}/transactions
  • B. POST/accounts/{account_id}
  • C. GET/accounts/account_id
  • D. PUT/accounts/{account_id}/transactions/{transaction_id}

Correct Answer: A

Q3)What authentication information is necessary to set up a SLA-based throttling strategy in API Manager?

  • A. Client id and client secret
  • B. Oauth2.0 access token
  • C. X.509 client certificate and X.509 server certificate
  • D. Username and password

Correct Answer: A

Q4)How does Central IT enable the new IT operating model, in MuleSoft’s opinion?

  • A. Distributes credentials to databases and backend systems so that line-of-business developers can access them directly and complete tasks more quickly.
  • B. Combines and distributes API spec files like a product to encourage line-of-business developers to use them.
  • C. Invests in cutting-edge cloud technologies so that Central IT can create whole line of business applications more quickly.
  • D. To reduce expenses and uphold standards, D. builds all API implementations and forbids line-of-business developers from doing the same.

Correct Answer: B

Q5)What three components do RAML specifications use? (Select three.)

  • A. Service
  • B. Method
  • C. Response
  • D. PortType
  • E. Resource

Correct Answer: B, C and E

Q6)What is the standardized interface that RESTful web services employ?

  • A. RPC
  • B. JMS
  • C. HTTP
  • D. SOAP

Correct Answer: C

Q7)There is only one File connector configured in a Mule application. A File connector endpoint serves as the message source for a flow in the Mule application, and another File connector endpoint serves as the flow’s message processor. What actions do these two components take?

  • A. Both the source and the processor read and write files.
  • B. Files are read by both the source and processor.
  • C. The source and processor both write files 
  • D. The source writes files and the processor reads files

Correct Answer: C

Q8)An HTTP inbound endpoint for receiving custName and accountType as query parameters is defined while creating a Mule application. Using a Set Variable transformer with the same name, the accountType is recorded. What MEL expression should be used for logging accountType?

  • A. #[message.inboundProperties.accountType]
  • B. #[message.ג€http.query.params’.accountType]
  • C. #[flowVars.accountType]
  • D. #[message.outboundProperties.accountType]

Correct Answer: C

Q9)Tiemout exceeded was the reason why the http:request failed. What HTTP Request parameter has to be changed to fix this issue?

  • A. Client Certificate Timeout
  • B. Transaction Timeout
  • C. Connect Idle Timeout
  • D. Response Timeout

Correct Answer: D

Q10)What payload should be anticipated after mainFlow?

  • A. KIWI
  • B. APPLE
  • C. Null
  • D. BANANA

Correct Answer: A

Q11)With a distinct identity for each customer record, a RAML specification is established to handle customers. What URI does Mulesoft advise using to reach a particular customer designated by the special ID 1234?

  • A. /customers/1234
  • B. /customers?operation=get&custid=1234
  • C. /customers/custid=1234
  • D. /customers?custid=1234

Correct Answer: A

Q12)What is the DataWeave equation that outputs the string “PO1234” for the orderId?

  • A. payload.order.orderId
  • B. payload.orderId
  • C. payload.order.@orderId
  • D. payload.@orderId

Correct Answer: B

Q13)How should the 400 Bad Request error be fixed?

  • A. Change the Content-Type header in the request to application/json
  • B. Select application/json as the response’s Content-Type header.
  • C. Make text/plain the response Content-Type in the RAML specification.
  • D. Select text/plain as the request’s Content-Type header.

Correct Answer: A

Q14)To look up the orders in the database, the orders.csv file is first read and then processed. In Anypoint Studio, the Mule application is being debugged; it halts at the breakpoint. In the debugger, what payload is displayed at this breakpoint?

  • A. ג€none
  • B. 100
  • C. The entire CSV file
  • D. The database response

Correct Answer: B

Q15)Resources for a banking application’s RAML specification include accounts, account id, and transactions. For a certain account id, what resource/method pair fetches transactions?

  • A. GET /accounts/{account_id}/transactions
  • B. POST/accounts/{account_id}
  • C. GET/accounts/account_id
  • D. PUT/accounts/{account_id}/transactions/{transaction_id}

Correct Answer: A

Q16)The userName property is sent to the outgoing HTTP request in what way?

  • A. URI parameter
  • B. Body
  • C. Query parameter
  • D. Header

Correct Answer: D

Q17)What authentication information is necessary to set up a SLA-based throttling strategy in API Manager?

  • A. Client id and client secret
  • B. Oauth2.0 access token
  • C. X.509 client certificate and X.509 server certificate
  • D. Username and password

Correct Answer: A

Q18)An HTTP Request is present in the parentFlow in the middle of the flow. The HTTP Listeners and HTTP Request are configured by default. When a web client makes a request to http://localhost:8081/order?color=red, what values are available to the parent Logger at the end of parentFlow?

  • A. payload
  • B. payload quantity var
  • C. payload color query param
  • D. payload quantity var color query param

Correct Answer: B

Q19)An HTTP Request is present in the parentFlow. The HTTP Listeners and HTTP Request are configured by default. What values may be accessed in childFlow following a request to http://localhost:8081/order?color=red from a web client?

  • A. payload
  • B. payload quantity var
  • C. payload color query param
  • D. payload quantity var color query param

Correct Answer: B

Q20)What language should be used in the HTTP Listener path to add an employee ID as a URI parameter?

  • A. ${employeeID}
  • B. #[employeeID]
  • C. {employeeID}
  • D. (employeeID)

Correct Answer: C

MuleSoft Certified Developer - Integration and API Associate (Mule 3) Free practice test

Menu