Docsity

MuleSoft Certified Developer Integration Professional Mule 3 Practice Exam, Exams of Technology

Toggle sidebar
bg1
MuleSoft Certified Developer Integration
Professional Mule 3 Practice Exam
**Question 1.** In Mule, which component holds the actual data that is being processed by the
flow?
A) Inbound Property
B) Outbound Property
C) Payload
D) Session Variable
Answer: C
Explanation: The payload is the core part of a MuleMessage that contains the data being
transformed or routed. Inbound and outbound properties are metadata, while session variables
persist across flows.
**Question 2.** Which scope is used to execute a set of processors asynchronously, allowing
the main flow to continue without waiting?
A) <scatter-gather>
B) <async>
C) <transaction>
D) <choice>
Answer: B
Explanation: The <async> scope runs its child processors on a separate thread, detaching them
from the main flow and improving response time.
**Question 3.** When using the Choice router, which Mule Expression Language (MEL) syntax
correctly references a flow variable named *orderType*?
A) #[flowVars.orderType]
B) #[message.payload.orderType]
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download MuleSoft Certified Developer Integration Professional Mule 3 Practice Exam and more Exams Technology in PDF only on Docsity!

Professional Mule 3 Practice Exam

Question 1. In Mule, which component holds the actual data that is being processed by the flow? A) Inbound Property B) Outbound Property C) Payload D) Session Variable Answer: C Explanation: The payload is the core part of a MuleMessage that contains the data being transformed or routed. Inbound and outbound properties are metadata, while session variables persist across flows. Question 2. Which scope is used to execute a set of processors asynchronously, allowing the main flow to continue without waiting? A) B) C) D) Answer: B Explanation: The scope runs its child processors on a separate thread, detaching them from the main flow and improving response time. Question 3. When using the Choice router, which Mule Expression Language (MEL) syntax correctly references a flow variable named orderType? A) #[flowVars.orderType] B) #[message.payload.orderType]

Professional Mule 3 Practice Exam

C) #[sessionVars.orderType] D) #[inboundProperties.orderType] Answer: A Explanation: flowVars provides access to variables defined within the current flow. Using #[flowVars.orderType] retrieves its value for routing decisions. Question 4. Which EIP is implemented by the Recipient List router? A) Content-Based Router B) Scatter-Gather C) Dynamic Router D) Recipient List Answer: D Explanation: The Recipient List pattern sends a copy of the message to multiple dynamically determined endpoints, which is exactly what the Recipient List router does. Question 5. In Mule 3, which connector type supports XA transactions for coordinated commits across multiple resources? A) HTTP Connector B) JMS Connector C) VM Connector D) File Connector Answer: B

Professional Mule 3 Practice Exam

A) persistent="true" B) queueSize="unlimited" C) transacted="true" D) async="true" Answer: A Explanation: Setting persistent="true" on a VM endpoint ensures messages survive Mule restarts by writing them to disk. Question 9. Which DataWeave function is used to group a collection of objects by a specific field, for example category? A) groupBy B) distinctBy C) filterBy D) mapBy Answer: A Explanation: The groupBy function creates a map where each key is a distinct value of the specified field, and the value is a list of matching items. Question 10. In a Mule flow, where should a global exception strategy be defined to handle all unhandled exceptions across the application? A) Inside each flow’s element B) At the root level of the Mule configuration file, outside any flow C) Inside a sub-flow only D) Within the scope

Professional Mule 3 Practice Exam

Answer: B Explanation: A global exception strategy is declared outside any flow, making it the default handler for any exception not caught locally. Question 11. Which scope should be used to process each element of a collection sequentially, preserving order? A) B) C) D) Answer: C Explanation: The scope iterates over a collection in order, processing each element one after another. Question 12. What does the until-successful scope primarily provide? A) Parallel processing of messages B) Automatic retry of a message until it succeeds or a limit is reached C) Message aggregation D) Content-based routing Answer: B Explanation: The until-successful scope retries the enclosed processors until they succeed, optionally with delay and max retries, handling transient failures.

Professional Mule 3 Practice Exam

D) Asynchronous Processing Strategy Answer: D Explanation: Mule provides Simple, Custom, and Synchronous processing strategies. Asynchronous processing is achieved via scopes, not a processing strategy. Question 16. When configuring a JMS inbound endpoint with maxRedelivery set to 5, what happens after the fifth failed attempt? A) The message is discarded silently B) The message is moved to the Dead Letter Queue (DLQ) if configured C) Mule retries indefinitely D) The transaction is rolled back and the flow stops Answer: B Explanation: After exceeding maxRedelivery, JMS moves the message to the DLQ if one is defined, allowing later analysis. Question 17. Which MEL expression correctly retrieves the HTTP status code from an inbound property? A) #[message.inboundProperties['http.status']] B) #[inbound:status] C) #[message.outboundProperties.httpStatus] D) #[flowVars.httpStatus] Answer: A

Professional Mule 3 Practice Exam

Explanation: Inbound HTTP status is stored in inboundProperties; the correct syntax accesses it via a map key. Question 18. What is the effect of setting exchange-pattern="request-response" on an HTTP outbound endpoint? A) Mule will send the request but not wait for a response B) Mule will wait for a response and route it downstream C) Mule will convert the request to a one-way message D) Mule will automatically retry on failure Answer: B Explanation: request-response exchange pattern makes Mule wait for the HTTP response and continue processing with that payload. Question 19. Which DataWeave operator is used to safely navigate a potentially null nested field without throwing an exception? A) ?. (null‑safe navigation) B) :: (type cast) C) !! (force unwrap) D) ?? (default value) Answer: A Explanation: The ?. operator returns null if any part of the navigation chain is null, preventing a NullPointerException. Question 20. In Mule, what does the flow-ref element do?

Professional Mule 3 Practice Exam

Answer: B Explanation: The Splitter creates a new MuleMessage for each element, each carrying the element as its payload for downstream processing. Question 23. Which configuration element enables caching of HTTP responses to avoid repeated calls to a backend service? A) B) C) D) Answer: B Explanation: The caches the result of the enclosed processors, such as an HTTP request, based on a key. Question 24. In a Mule flow, which variable scope persists across multiple flows within the same Mule application? A) Flow Variable B) Session Variable C) Inbound Property D) Outbound Property Answer: B Explanation: Session variables are stored in the session and travel with the message across flows, unlike flow variables which are limited to a single flow.

Professional Mule 3 Practice Exam

Question 25. Which of the following best describes the purpose of the Mule Expression Language (MEL) filter component? A) It transforms payloads from XML to JSON B) It routes messages only when a condition evaluates to true C) It encrypts message data D) It aggregates multiple messages Answer: B Explanation: The filter component evaluates a MEL expression; if true, the message proceeds, otherwise it is filtered out. Question 26. What does setting disableTransportTransformer="true" on an inbound endpoint achieve? A) Disables any automatic conversion of inbound payloads to Java objects B) Prevents the endpoint from receiving messages C) Turns off logging for the endpoint D) Forces the endpoint to use a custom transformer Answer: A Explanation: By disabling the transport transformer, Mule will not automatically convert the raw inbound data; the developer must handle transformation explicitly. Question 27. Which Mule component is used to expose a SOAP web service based on a WSDL file? A)

Professional Mule 3 Practice Exam

Answer: A Explanation: distinctBy takes a lambda that returns the key used to determine uniqueness, effectively deduplicating based on that field. Question 30. What is the effect of configuring maxConcurrency on a flow’s inbound endpoint? A) Limits the number of simultaneous messages that can be processed by the flow B) Determines the maximum size of the message payload C) Sets the maximum number of retries for failed messages D) Controls the thread pool size for outbound connectors only Answer: A Explanation: maxConcurrency caps the number of concurrent threads that can invoke the flow, preventing overload. Question 31. Which scope is appropriate for performing a transformation that does not alter the original payload but adds a new variable? A) B) C) D) Answer: A Explanation: The executes a sub‑flow and merges its result (e.g., a variable) back into the original message without changing the original payload.

Professional Mule 3 Practice Exam

Question 32. When using the Cache Manager in Mule, which store type provides a distributed cache across multiple Mule nodes? A) In‑memory store B) Object store with persistent="true" C) JCache (JSR‑107) store D) File store Answer: C Explanation: JCache implementations (e.g., Hazelcast) can be shared across nodes, enabling distributed caching. Question 33. Which Mule component is used to apply OAuth 2.0 token validation on inbound HTTP requests? A) with oauth2="true" B) C) with authentication="OAuth2" D) Answer: C Explanation: The HTTP listener can be configured with authentication="OAuth2" to enforce token validation on incoming requests. Question 34. In Mule 3, which element defines a reusable set of processors that can be invoked from multiple flows? A) B)

Professional Mule 3 Practice Exam

Question 37. Which scope should be used to limit the number of messages processed per second to 100? A) B) C) D) Answer: A Explanation: The throttling router restricts the flow’s processing rate to a defined number of messages per time unit. Question 38. In a Mule application, where would you configure a global endpoint to be reused across multiple flows? A) Inside each flow’s inbound endpoint B) In the element at the top level of the configuration file C) Within a D) In a Answer: B Explanation: defines an endpoint once and can be referenced by name from any flow, promoting reuse. Question 39. Which component allows you to invoke a remote SOAP service using a WSDL without writing any Java code? A)

Professional Mule 3 Practice Exam

B) C) D) Answer: C Explanation: consumes a SOAP service defined by a WSDL, handling serialization/deserialization automatically. Question 40. Which of the following best describes the purpose of the Object Store in Mule? A) To store transient variables for the duration of a flow execution B) To persist data across Mule restarts and share it between flows or nodes C) To cache HTTP responses only D) To hold configuration properties Answer: B Explanation: Object Stores provide durable storage that can be accessed by any flow or component, optionally persisting across restarts. Question 41. What is the result of adding #[payload != null] as a filter condition on a flow? A) The flow will only process messages with an empty payload B) The flow will reject messages where the payload is null C) All messages will be processed regardless of payload D) The flow will convert null payloads to empty strings

Professional Mule 3 Practice Exam

Question 44. Which DataWeave expression returns the first element of an array named orders? A) orders[0] B) orders.first() C) #[orders[0]] D) orders[1] Answer: A Explanation: DataWeave uses zero‑based indexing; orders[0] retrieves the first element. Question 45. Which component can be used to enforce a maximum payload size on inbound HTTP requests? A) B) with maxPayloadSize attribute C) D) Answer: B Explanation: The HTTP listener supports a maxPayloadSize attribute that rejects requests exceeding the limit. Question 46. In Mule, what is the main difference between a flow variable and a session variable? A) Flow variables are immutable, session variables are mutable B) Flow variables exist only within a single flow execution, session variables travel across flows C) Flow variables are stored in the message header, session variables in the body

Professional Mule 3 Practice Exam

D) There is no difference; they are aliases Answer: B Explanation: Flow variables are scoped to the current flow, while session variables persist across flow boundaries. Question 47. Which Mule component is designed to convert a Java object into JSON format? A) B) C) D) Answer: A Explanation: The object-to-json-transformer serializes a Java object into a JSON string. Question 48. Which attribute of the router determines the order in which conditions are evaluated? A) priority B) order C) default-route D) It evaluates in the order they appear in the XML Answer: D Explanation: The Choice router processes its when clauses sequentially as they appear; the first true condition wins.