Question # 1 Which statement is true when using XML SDK for creating custom message processors?
A. Properties are fields defined by an end user of the XML SDK component and serve as a global configuration for the entire Mule project in which they are used
B. An XML SDK provides both inbound and outbound operations
C. Operations can be reused in recursive calls
D. All operations are public
Click for Answer
D. All operations are public
Answer Description Explanation: When using XML SDK for creating custom message processors, all operations are public by default and can be used by any Mule application that imports them. There is no way to make an operation private or protected in XML SDK.
References: https://docs.mulesoft.com/mule-sdk/1.1/xml-sdk#operations
Question # 2 Two APIs are deployed to a two-node on-prem cluster. Due to a requirements change, the two APIs must communicate to exchange data asynchronously.
A. If the two APIs use the same domain, the VM Connector can be leveraged
B. The VM Connector is used to inter-application communication, so it is not possible to use the VM Connector
C. Instead of using the VM Connector use <flow-ref>directly
D. It is not possible to use the VM Connector since the APIs are running in a cluster mode and each mode has it own set of VM Queues
Click for Answer
A. If the two APIs use the same domain, the VM Connector can be leveraged
Answer Description Explanation To communicate asynchronously between two APIs deployed to a two-node on-prem cluster, the developer can use the VM Connector if the two APIs use the same domain. The VM Connector allows passing messages between different Mule applications within a single Mule runtime instance or across different instances using shared memory or persistent storage. If two APIs are deployed under the same domain, they can share resources such as VM queues and communicate asynchronously using VM Connector operations.
References: https://docs.mulesoft.com/mule-runtime/4.3/vm-connector https://docs.mulesoft.com/mule-runtime/4.3/shared-resources
Question # 3 A healthcare portal needs to validate the token that it sends to a Mule API. The developer plans to implement a custom policy using the HTTP Policy Transform Extension to match the token received in the header from the heathcare portal. Which files does the developer need to create in order to package the custom policy?
A. Deployable ZIP file, YAML configuration file
B. JSON properties file, YAML configuration file
C. JSON properties file, XML template file
D. XML template file, YAML configuration file
Click for Answer
D. XML template file, YAML configuration file
Answer Description Explanation: To package a custom policy using the HTTP Policy Transform Extension, the developer needs to create an XML template file and a YAML configuration file. The XML template file defines the policy logic using Mule components and placeholders for user-defined properties. The YAML configuration file defines the metadata of the policy, such as its name, description, category, parameters, and dependencies.
References: https://docs.mulesoft.com/api-manager/2.x/http-policy-transform#packaging-the-policy
Question # 4 A developer deploys an API to CloudHub and applies an OAuth policy on API Manager. During testing, the API response is slow, so the developer reconfigures the API so that the out-of-the-box HTTP Caching policy is applied first, and the OAuth API policy is applied second.
What will happen when an HTTP request is received? A. In case of a cache hit, both the OAuth and HTTP Caching policies are evaluated; then the cached response is returned to the caller
B. In case of a cache it, only the HTTP Caching policy is evaluating; then the cached response is returned to the caller
C. In case of a cache miss, only the HTTP Caching policy is evaluated; then the API retrieves the data from the API implementation, and the policy stores the data to be cached in Object Store
D. In case of a cache miss, both the OAuth and HTTP Cachingpolicies are evaluated; then the API retrieves the data from the API implementation, and the policy does not store the data in Object Store
Click for Answer
B. In case of a cache it, only the HTTP Caching policy is evaluating; then the cached response is returned to the caller
Question # 5 Which plugin or dependency is required to unit test modules created with XML SDK?
A. XMLUnit
B. Junit
C. MUnit Extensions Maven plugin
D. MUnit Maven plugin
Click for Answer
C. MUnit Extensions Maven plugin
Answer Description Explanation: To unit test modules created with XML SDK, the developer needs to use the MUnit Extensions Maven plugin. This plugin allows testing XML SDK modules using MUnit by adding a dependency to the module under test and using a custom processor tag to invoke it.
References: https://docs.mulesoft.com/mule-sdk/1.1/xml-sdk#testing
Question # 6 What is the MuleSoft recommended method to encrypt sensitive property data?
A. The encryption key and sensitive data should be different for each environment
B. The encryption key should be identical for all environments
C. The encryption key should be identical for all environments and the sensitive data should be different for each environment
D. The encryption key should be different for each environment and the sensitive data should be the same for all environments
Click for Answer
A. The encryption key and sensitive data should be different for each environment
Answer Description Explanation: The MuleSoft recommended method to encrypt sensitive property data is to use the Secure Properties Tool that comes with Anypoint Studio. This tool allows encrypting properties files with a secret key and then decrypting them at runtime using the same key. The encryption key and sensitive data should be different for each environment to ensure security and avoid accidental exposure of sensitive data.
References: https://docs.mulesoft.com/mule-runtime/4.3/secure-configuration-properties
Question # 7 Which pattern should be used to invoke multiple HTTP APIs in parallel and roll back failed requests in sequence?
A. A database as a transactional outbox and an Until Successful router to retry any requests
B. A Parallel for Each scope with each HTTP request wrapped in a Try scope
C. Scatter-Gather as central Saga orchestrator for all API request with compensating actions for failing routes
D. VM queues as a reliability pattern with error handlers to roll back any requests
Click for Answer
C. Scatter-Gather as central Saga orchestrator for all API request with compensating actions for failing routes
Answer Description Explanation: To invoke multiple HTTP APIs in parallel and roll back failed requests in sequence, the developer should use a Scatter-Gather router as a central Saga orchestrator for all API requests with compensating actions for failing routes. A Scatter-Gather router executes multiple routes concurrently and aggregates the results. A Saga orchestrator coordinates a series of actions across different services and handles failures by executing compensating actions. Therefore, using a Scatter-Gather router as a Saga orchestrator allows invoking multiple HTTP APIs in parallel and rolling back any failed requests in sequence.
References: https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept https://docs.mulesoft.com/mule-runtime/4.3/saga
Question # 8 A Flight Management System publishes gate change notification events whenever a flight’s arrival gate changes. Other systems, including Baggage Handler System. Inflight Catering System and Passenger Notifications System, must each asynchronously receive the same gate change notification to process the event according. Which configuration is required in Anypoint MQ to achieve this publish/subscribe model?
A. Publish each client subscribe directly to the exchange. Have each client subscribe directly to the queue.
B. Publish the gate change notification to an Anypoint MC queue Have each client subscribe directly to the queue
C. Publish the gate change notification to an Anypoint MQ queue. Create different anypoint MQ exchange meant for each of the other subscribing systems Bind the queue with each of the exchanges
D. Publish the gate change notification to an Anypoint MQ exchanhe. Create different Anypoint MQ queues meant for each of the other subscribing systems. Bind the exchange with each of the queues.
Click for Answer
D. Publish the gate change notification to an Anypoint MQ exchanhe. Create different Anypoint MQ queues meant for each of the other subscribing systems. Bind the exchange with each of the queues.
Answer Description Explanation: To achieve a publish/subscribe model using Anypoint MQ, where each system receives the same gate change notification event, the developer should publish the gate change notification to an Anypoint MQ exchange, create different Anypoint MQ queues meant for each of the other subscribing systems, and bind the exchange with each of the queues. An exchange is a message routing agent that can send messages to different queues based on predefined criteria. By binding an exchange with multiple queues, each queue receives a copy of every message sent to that exchange. Therefore, each system can subscribe to its own queue and receive every gate change notification event.
References: https://docs.mulesoft.com/anypoint-mq/3.x/anypoint-mq-exchanges
Up-to-Date
We always provide up-to-date MCD-Level-2 exam dumps to our clients. Keep checking website for updates and download.
Excellence
Quality and excellence of our MuleSoft Certified Developer - Level 2 (Mule 4) practice questions are above customers expectations. Contact live chat to know more.
Success
Your SUCCESS is assured with the MCD-Level-2 exam questions of passin1day.com. Just Buy, Prepare and PASS!
Quality
All our braindumps are verified with their correct answers. Download MuleSoft Certified Developer Practice tests in a printable PDF format.
Basic
$80
Any 3 Exams of Your Choice
3 Exams PDF + Online Test Engine
Buy Now
Premium
$100
Any 4 Exams of Your Choice
4 Exams PDF + Online Test Engine
Buy Now
Gold
$125
Any 5 Exams of Your Choice
5 Exams PDF + Online Test Engine
Buy Now
Passin1Day has a big success story in last 12 years with a long list of satisfied customers.
We are UK based company, selling MCD-Level-2 practice test questions answers. We have a team of 34 people in Research, Writing, QA, Sales, Support and Marketing departments and helping people get success in their life.
We dont have a single unsatisfied MuleSoft customer in this time. Our customers are our asset and precious to us more than their money.
MCD-Level-2 Dumps
We have recently updated MuleSoft MCD-Level-2 dumps study guide. You can use our MuleSoft Certified Developer braindumps and pass your exam in just 24 hours. Our MuleSoft Certified Developer - Level 2 (Mule 4) real exam contains latest questions. We are providing MuleSoft MCD-Level-2 dumps with updates for 3 months. You can purchase in advance and start studying. Whenever MuleSoft update MuleSoft Certified Developer - Level 2 (Mule 4) exam, we also update our file with new questions. Passin1day is here to provide real MCD-Level-2 exam questions to people who find it difficult to pass exam
MuleSoft Certified Developer can advance your marketability and prove to be a key to differentiating you from those who have no certification and Passin1day is there to help you pass exam with MCD-Level-2 dumps. MuleSoft Certifications demonstrate your competence and make your discerning employers recognize that MuleSoft Certified Developer - Level 2 (Mule 4) certified employees are more valuable to their organizations and customers. We have helped thousands of customers so far in achieving their goals. Our excellent comprehensive MuleSoft exam dumps will enable you to pass your certification MuleSoft Certified Developer exam in just a single try. Passin1day is offering MCD-Level-2 braindumps which are accurate and of high-quality verified by the IT professionals. Candidates can instantly download MuleSoft Certified Developer dumps and access them at any device after purchase. Online MuleSoft Certified Developer - Level 2 (Mule 4) practice tests are planned and designed to prepare you completely for the real MuleSoft exam condition. Free MCD-Level-2 dumps demos can be available on customer’s demand to check before placing an order.
What Our Customers Say
Jeff Brown
Thanks you so much passin1day.com team for all the help that you have provided me in my MuleSoft exam. I will use your dumps for next certification as well.
Mareena Frederick
You guys are awesome. Even 1 day is too much. I prepared my exam in just 3 hours with your MCD-Level-2 exam dumps and passed it in first attempt :)
Ralph Donald
I am the fully satisfied customer of passin1day.com. I have passed my exam using your MuleSoft Certified Developer - Level 2 (Mule 4) braindumps in first attempt. You guys are the secret behind my success ;)
Lilly Solomon
I was so depressed when I get failed in my Cisco exam but thanks GOD you guys exist and helped me in passing my exams. I am nothing without you.