Free MCIA-LEVEL-1 Exam Braindumps (page: 22)

Page 22 of 62

How are the API implementation , API client, and API consumer combined to invoke and process an API ?

  1. The API consumer creates an API implementation , which receives API invocations from an API such that they are processed for an API client
  2. The API consumer creates an API client which sends API invocations to an API such that they are processed by an API implementation
  3. An API client creates an API consumer, which receives API invocation from an API such that they are processed for an API implementation
  4. The API client creates an API consumer which sends API invocations to an API such that they are processed by API implementation

Answer(s): C

Explanation:

The API consumer creates an API client which sends API invocations to an API such that they are processed by an API implementation
This is based on below definitions API client • An application component • that accesses a service • by invoking an API of that service - by definition of the term API over HTTP API consumer • A business role, which is often assigned to an individual • that develops API clients, i.e., performs the activities necessary for enabling an API client to invoke APIs API implementation • An application component • that implements the functionality



What Mule application can have API policies applied by Anypoint Platform to the endpoint exposed by that Mule application?

  1. A Mule application that accepts requests over HTTP/1x
  2. A Mule application that accepts JSON requests over TCP but is NOT required to provide a response.
  3. A Mule application that accepts JSON requests over WebSocket
  4. A Mule application that accepts gRPC requests over HTTP/2

Answer(s): A

Explanation:

* HTTP/1.1 keeps all requests and responses in plain text format.
* HTTP/2 uses the binary framing layer to encapsulate all messages in binary format, while still maintaining HTTP semantics, such as verbs, methods, and headers. It came into use in 2015, and offers several methods to decrease latency, especially when dealing with mobile platforms and server-intensive graphics and videos
* Currently, Mule application can have API policies only for Mule application that accepts requests over HTTP/1x



The implementation of a Process API must change. What is a valid approach that minimizes the impact of this change on API clients?

  1. Implement required changes to the Process API implementation so that whenever possible, the Process API's RAML definition remains unchanged
  2. Update the RAML definition of the current Process API and notify API client developers by sending them links to the updated RAML definition
  3. Postpone changes until API consumers acknowledge they are ready to migrate to a new Process API or API version
  4. Implement the Process API changes in a new API implementation, and have the old API implementation return an HTTP status code 301 - Moved Permanently to inform API clients they should be calling the new API implementation

Answer(s): A

Explanation:

* Option B shouldn't be used unless extremely needed, if RAML is changed, client needs to accommodate changes. Question is about minimizing impact on Client. So this is not a valid choice.
* Option C isn't valid as Business can't stop for consumers acknowledgment.
* Option D again needs Client to accommodate changes and isn't viable option.
* Best choice is A where RAML definition isn't changed and underlined functionality is changed without any dependency on client and without impacting client.



Organization wants to achieve high availability goal for Mule applications in customer hosted runtime plane. Due to the complexity involved, data cannot be shared among of different instances of same Mule application. What option best suits to this requirement considering high availability is very much critical to the organization?

  1. The cluster can be configured
  2. Use third party product to implement load balancer
  3. High availability can be achieved only in CloudHub
  4. Use persistent object store

Answer(s): B

Explanation:

High availability is about up-time of your application
A) High availability can be achieved only in CloudHub isn't correct statement. It can be achieved in customer hosted runtime planes as well
B) An object store is a facility for storing objects in or across Mule applications. Mule runtime engine (Mule) uses object stores to persist data for eventual retrieval. It can be used for disaster recovery but not for High Availability. Using object store can't guarantee that all instances won't go down at once. So not an appropriate choice.


Reference:

https://docs.mulesoft.com/mule-runtime/4.3/mule-object-stores
C) High availability can be achieved by below two models for on-premise MuleSoft implementations.
1) Mule Clustering – Where multiple Mule servers are available within the same cluster environment and the routing of requests will be done by the load balancer. A cluster is a set of up to eight servers that act as a single deployment target and high-availability processing unit. Application instances in a cluster are aware of each other, share common information, and synchronize statuses. If one server fails, another server takes over processing applications. A cluster can run multiple applications. ( refer left half of the diagram)
In given scenario, it's mentioned that 'data cannot be shared among of different instances'. So this is not a correct choice.

https://docs.mulesoft.com/runtime-manager/cluster-about
2) Load balanced standalone Mule instances – The high availability can be achieved even without cluster, with the usage of third party load balancer pointing requests to different Mule servers. This approach does not share or synchronize data between Mule runtimes. Also high availability achieved as load balanced algorithms can be implemented using external load balancer. (refer right half of the diagram)



Page 22 of 62



Post your Comments and Discuss MuleSoft MCIA-LEVEL-1 exam with other Community members:

sanath sekar commented on September 05, 2024
nice good good expirence with these dumps provided
Anonymous
upvote