MuleSoft Certified Integration Architect - Level 1 MAINTENANCE MCIA-Level-1-Maintenance Question # 31 Topic 4 Discussion

MuleSoft Certified Integration Architect - Level 1 MAINTENANCE MCIA-Level-1-Maintenance Question # 31 Topic 4 Discussion

MCIA-Level-1-Maintenance Exam Topic 4 Question 31 Discussion:
Question #: 31
Topic #: 4

An organization has strict unit test requirement that mandate every mule application must have an MUnit test suit with a test case defined for each flow and a minimum test coverage of 80%.

A developer is building Munit test suit for a newly developed mule application that sends API request toanexternal rest API.

What is the effective approach for successfully executing the Munit tests of this new application while still achieving the required test coverage for the Munit tests?


A.

Invoke the external endpoint of the rest API from the mule floors


B.

Mark the rest API invocations in the Munits and then call the mocking service flow that simulates standard responses from the REST API


C.

Mock the rest API invocation in the Munits and return a mock response for those invocations


D.

Create a mocking service flow to simulate standard responses from the rest API and then configure the mule flows to call the marking service flow


Get Premium MCIA-Level-1-Maintenance Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.