MCD-ASSOC Free Sample Questions

Mcd - Assoc Practice Test
10/230 questions ยท Unlock full access
Q1

An integration architect is designing a solution to synchronize customer data between Salesforce and an on-premises legacy database. The legacy database is only accessible via a JDBC connection from within the company's private network. The Mule application will be deployed to CloudHub. Which Anypoint Platform component is required to establish a secure and reliable connection between the CloudHub-deployed application and the on-premises database?

Q2

A Mule application processes incoming JSON orders. The application contains a Batch Job to process each order line item. Inside a batch step, a flow variable named `transactionId` is set for each record. In the On Complete phase of the Batch Job, a Logger component attempts to log the value of `vars.transactionId`. What is the result of this logging attempt?

Q3

A flow is designed to handle API requests. If any processing error occurs, the flow must return an HTTP 500 status code with a generic JSON error message `{ "error": "An internal error occurred" }`. However, the original error must also be logged for troubleshooting purposes without stopping the error handling process. Which error handling configuration achieves this?

Q4

A RAML 1.0 specification defines a resource `/users/{userId}`. The `userId` is expected to be a positive integer. Which RAML snippet correctly defines this URI parameter with the specified data type constraint?

Q5

A developer needs to store a session token received from an OAuth 2.0 provider and use it for subsequent calls to a secured API within the same flow. The token must not be exposed in logs if the entire Mule event is logged, and it should not overwrite the main payload. What is the most appropriate way to store this token?

Q6Multiple answers

An organization has a strict policy that all external HTTP requests must have a maximum response timeout of 5 seconds and must not hold connections open indefinitely. A developer is configuring an HTTP Request connector. Which TWO configuration settings are essential to meet these requirements? (Select TWO)

Q7

What is the primary difference in behavior between a subflow and a private flow when an error occurs within them and there is no internal error handler?

Q8

A Mule application consumes a REST API that returns a JSON array of products. The developer needs to transform this array into XML format, but only including products where the 'inStock' field is true. What is the most efficient way to achieve this using DataWeave 2.0?

Q9

A developer is using the Scatter-Gather router to call three different backend services in parallel. The second service is known to be slow and sometimes fails. The requirement is that the flow should proceed if at least two of the three services respond successfully, and it should not wait longer than 8 seconds for all responses. Which configuration would achieve this?

Q10

True or False: When a Mule application is deployed to a single CloudHub worker, a scheduler endpoint configured to run every 10 seconds is guaranteed to execute exactly 6 times per minute.