Discount Offer
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99



Pass exam with Dumps4free or we will provide you with three additional months of access for FREE.

MuleSoft-Platform-Architect-I Practice Test


Page 2 out of 31 Pages

A set of tests must be performed prior to deploying API implementations to a staging environment. Due to data security and access restrictions, untested APIs cannot be granted access to the backend systems, so instead mocked data must be used for these tests. The amount of available mocked data and its contents is sufficient to entirely test the API implementations with no active connections to the backend systems. What type of tests should be used to incorporate this mocked data?


A. Integration tests


B. Performance tests


C. Functional tests (Blackbox)


D. Unit tests (Whitebox)





D.
  Unit tests (Whitebox)

Explanation

Correct Answer: Unit tests (Whitebox)

*****************************************

Reference: [Reference: https://docs.mulesoft.com/mule-runtime/3.9/testing-strategies, As per general IT testing practice and MuleSoft recommended practice, Integration and Performance tests should be done on full end to end setup for right evaluation. Which means all end systems should be connected while doing the tests. So, these options are OUT and we are left with Unit Tests and Functional Tests., As per attached reference documentation from MuleSoft:, Unit Tests - are limited to the code that can be realistically exercised without the need to run it inside Mule itself. So good candidates are Small pieces of modular code, Sub Flows, Custom transformers, Custom components, Custom expression evaluators etc., Functional Tests - are those that most extensively exercise your application configuration. In these tests, you have the freedom and tools for simulating happy and unhappy paths. You also have the possibility to create stubs for target services and make them success or fail to easily simulate happy and unhappy paths respectively., As the scenario in the question demands for API implementation to be tested before deployment to Staging and also clearly indicates that there is enough/ sufficient amount of mock data to test the various components of API implementations with no active connections to the backend systems, Unit Tests are the one to be used to incorporate this mocked data., ]

What is a best practice when building System APIs?


A. Document the API using an easily consumable asset like a RAML definition


B. Model all API resources and methods to closely mimic the operations of the backend system


C. Build an Enterprise Data Model (Canonical Data Model) for each backend system and apply it to System APIs


D. Expose to API clients all technical details of the API implementation's interaction wifch the backend system





B.
  Model all API resources and methods to closely mimic the operations of the backend system

Explanation

Correct Answer: Model all API resources and methods to closely mimic the operations of the backend system.

*****************************************

There are NO fixed and straight best practices while opting data models for APIs. They are completly contextual and depends on number of factors. Based upon those factors, an enterprise can choose if they have to go with Enterprise Canonical Data Model or Bounded Context Model etc.

One should NEVER expose the technical details of API implementation to their API clients. Only the API interface/ RAML is exposed to API clients.

It is true that the RAML definitions of APIs should be as detailed as possible and should reflect most of the documentation. However, just that is NOT enough to call your API as best documented API. There should be even more documentation on Anypoint Exchange with API Notebooks etc. to make and create a developer friendly API and repository..

The best practice always when creating System APIs is to create their API interfaces by modeling their resources and methods to closely reflect the operations and functionalities of that backend system.

An API implementation is deployed to CloudHub. What conditions can be alerted on using the default Anypoint Platform functionality, where the alert conditions depend on the end-to-end request processing of the API implementation?


A. When the API is invoked by an unrecognized API client


B. When a particular API client invokes the API too often within a given time period


C. When the response time of API invocations exceeds a threshold


D. When the API receives a very high number of API invocations





C.
  When the response time of API invocations exceeds a threshold

Explanation

Correct Answer: When the response time of API invocations exceeds a threshold

*****************************************

Alerts can be setup for all the given options using the default Anypoint Platform functionality

However, the question insists on an alert whose conditions depend on the end-to-end request processing of the API implementation.

Alert w.r.t "Response Times" is the only one which requires end-to-end request processing of API implementation in order to determine if the threshold is exceeded or not.

Reference: [Reference: https://docs.mulesoft.com/api-manager/2.x/using-api-alerts, , ]

True or False. We should always make sure that the APIs being designed and developed are self-servable even if it needs more man-day effort and resources.


A. FALSE


B. TRUE





B.
  TRUE

Explanation

Correct Answer: TRUE

*****************************************

As per MuleSoft proposed IT Operating Model, designing APIs and making sure that they are discoverable and self-servable is VERY VERY IMPORTANT and decides the success of an API and its application network.

The application network is recomposable: it is built for change because it "bends but does not break"


A. TRUE


B. FALSE





A.
  TRUE

Explanation:

*****************************************

>> Application Network is a disposable architecture.

>> Which means, it can be altered without disturbing entire architecture and its components.

>> It bends as per requirements or design changes but does not break

Reference: [Reference: https://www.mulesoft.com/resources/api/what-is-an-application-network, ]


Page 2 out of 31 Pages
Previous