Question # 1 In a Mule project, Flow-1 contains a flow-ref to Flow-2 depends on data from Flow-1 to execute successfully. Which action ensures the test suites and test cases written for Flow-1 and Flow-2 will execute successfully?
A. Chain together the test suites and test cases for Flow-1 and Flow-2
B. Use ‘’Set Event to pass the input that is needed, and keep the test cases for Flow-1 and Flow-2 Independent
C. Use ‘’Before Test Case’’ To collect data from Flow-1 test cases before running Flow-2 test cases
D. Use ‘After Test Case’ to produce the data needed from Flow-1 test cases to pass to Flow-2 test cases
Click for Answer
B. Use ‘’Set Event to pass the input that is needed, and keep the test cases for Flow-1 and Flow-2 Independent
Answer Description Explanation To ensure the test suites and test cases written for Flow-1 and Flow-2 will execute successfully, the developer should use a Set Event processor to pass the input that is needed by Flow-2, and keep the test cases for Flow-1 and Flow-2 independent. This way, the developer can isolate the testing of each flow and avoid coupling them together.
References: https://docs.mulesoft.com/munit/2.3/munit-test-flow
Question # 2 A Mule API receives a JSON payload and updates the target system with the payload. The developer uses JSON schemas to ensure the data is valid. How can the data be validation before posting to the target system?
A. Use a DataWeave 2.09 transform operation, and at the log of the DataWeave script, add: %dw 2.0 Import.json-moduls
B. Using the DataWeave if Else condition test the values of the payload against the examples included in the schema
C. Apply the JSON Schema policy in API Manager and reference the correct schema in the policy configuration
D. Add the JSON module dependency and add the validate-schema operation in the flow, configured to reference the schema
Click for Answer
D. Add the JSON module dependency and add the validate-schema operation in the flow, configured to reference the schema
Answer Description To validate the data before posting to the target system, the developer should add the JSON module dependency and add the validate-schema operation in the flow, configured to reference the schema. The JSON module provides a validate-schema operation that validates a JSON payload against a JSON schema and throws an error if the payload is invalid.
References: https://docs.mulesoft.com/json-module/1.1/json-validate-schema
Question # 3 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 # 4 A company has been using CI/CD. Its developers use Maven to handle build and deployment activities. What is the correct sequence of activities that takes place during the Maven build and deployment?
A. Initialize, validate, compute, test, package, verify, install, deploy
B. Validate, initialize, compile, package, test, install, verify, verify, deploy
C. Validate, initialize, compile, test package, verify, install, deploy
D. Validation, initialize, compile, test, package, install verify, deploy
Click for Answer
C. Validate, initialize, compile, test package, verify, install, deploy
Answer Description Explanation The correct sequence of activities that takes place during the Maven build and deployment is validate, initialize, compile, test package, verify, install, deploy. These are Maven lifecycle phases that define a sequence of goals to execute during a build process. Each phase represents a stage in the build lifecycle and can have zero or more goals bound to it.
References: https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
Question # 5 Mule application A is deployed to CloudHub and is using Object Store v2. Mute application B is also deployed to CloudHub. Which approach can Mule application B use to remove values from Mule application A’S Object Store?
A. Object Store v2 REST API
B. CloudHub Connector
C. Object Store Connector
D. CloudHub REST API
Click for Answer
A. Object Store v2 REST API
Answer Description Explanation To remove values from Mule application A’s Object Store v2, Mule application B can use Object Store v2 REST API. This API allows performing operations on Object Store v2 resources using HTTP methods, such as GET, POST, PUT, and DELETE. Mule application B can use the DELETE method to remove values from Mule application A’s Object Store v2 by specifying the object store ID and the key of the value to delete.
References : https://docs.mulesoft.com/object-store/osv2-apis
Question # 6 Multiple individual Mute application need to use the Mule Maven plugin to deploy to CloudHub. The plugin configuration should .. reused where necessary and anything project, specific should be property-based. Where should the Mule Maven details be configured?
A. A parent pom.xml
B. Settings, xml
C. Pom, xml
D. A Bill of Materials (BOM) parent pm
Click for Answer
Answer Description Explanation: To reuse Mule Maven plugin configuration across multiple individual Mule applications, the developer should use a parent pom.xml file. A parent pom.xml file defines common configuration for one or more child projects that inherit from it. The developer can specify common properties and dependencies for all child projects in the parent pom.xml file, such as Mule Maven plugin configuration, and then reference them in each child project’s pom.xml file using placeholders.
References: https://docs.mulesoft.com/mule-runtime/4.3/mmp-concept#parent-pom https://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Inheritance
Question # 7 A Mule application deployed to multiple Cloudhub 2.0 replicas needs to temporarily persist large files over 10MB between flow executions, and routinely needs to query whether the file data exists on separate executions. How can this be achieved?
A. Store the contents of the file on separate storage, and store the key and location of the file Object using Object Store v2
B. Use an in-memory Object Store
C. Store the key and full contents of the file in an Object Store
D. Store the key and full contents of the file, caching the filename and location between requests
Click for Answer
A. Store the contents of the file on separate storage, and store the key and location of the file Object using Object Store v2
Answer Description To temporarily persist large files over 10MB between flow executions, and routinely query whether the file data exists on separate executions, the developer should store the contents of the file on separate storage, and store the key and location of the file object using Object Store v2. This way, the developer can avoid storing large files in memory or exceeding the size limit of Object Store v2 (10MB per object). The developer can also use Object Store v2 operations to query, retrieve, or delete the file object by its key.
References: https://docs.mulesoft.com/object-store/osv2-faq#can-i-store-files-in-object-store-v2
Question # 8 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 Caching policies 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
Answer Description Explanation: When an HTTP request is received and the HTTP Caching policy is applied first, it checks if there is a cached response for that request in Object Store. If there is a cache hit, meaning that a valid cached response exists, then only the HTTP Caching policy is evaluated and the cached response is returned to the caller without invoking the OAuth policy or the API implementation. If there is a cache miss, meaning that no valid cached response exists, then both the HTTP Caching policy and the OAuth policy are evaluated before invoking the API implementation.
References: https://docs.mulesoft.com/api-manager/2.x/http-caching-policy#policy-ordering
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.