ExamGecko
Home Home / MuleSoft / MCIA - Level 1

MuleSoft MCIA - Level 1 Practice Test - Questions Answers, Page 7

Question list
Search
Search

List of questions

Search

Related questions











A REST API is being designed to implement a Mule application.

What standard interface definition language can be used to define REST APIs?

A.
Web Service Definition Language(WSDL)
A.
Web Service Definition Language(WSDL)
Answers
B.
OpenAPI Specification (OAS)
B.
OpenAPI Specification (OAS)
Answers
C.
YAML
C.
YAML
Answers
D.
AsyncAPI Specification
D.
AsyncAPI Specification
Answers
Suggested answer: B

In a Mule Application, a flow contains two (2) JMS consume operations that are used to connect to a JMS broker and consume messages from two(2) JMS destination. The Mule application then joins the two JMS messages together.

The JMS broker does not implement high availability (HA) and periodically experiences scheduled outages of upto 10 mins for routine maintenance.

What is the most idiomatic (used for its intented purpose) way to build the mule flow so it can best recover from the expected outages?

A.
Configure a reconnection strategy for the JMS connector
A.
Configure a reconnection strategy for the JMS connector
Answers
B.
Enclose the two(2) JMS operation in an Until Successful scope
B.
Enclose the two(2) JMS operation in an Until Successful scope
Answers
C.
Consider a transaction for the JMS connector
C.
Consider a transaction for the JMS connector
Answers
D.
Enclose the two(2) JMS operations in a Try scope with an Error Continue error handler
D.
Enclose the two(2) JMS operations in a Try scope with an Error Continue error handler
Answers
Suggested answer: A

Explanation:

When an operation in a Mule application fails to connect to an external server, the default behavior is for the operation to fail immediately and return a connectivity error. You can modify this default behavior by configuring a reconnection strategy for the operation. You can configure a reconnection strategy for an operation either by modifying the operation properties or by modifying the configuration of the global element for the operation. The following are the available reconnection strategies and their behaviors: None Is the default behavior, which immediately returns a connectivity error if the attempt to connect is unsuccessful Standard (reconnect) Sets the number of reconnection attempts and the interval at which to execute them before returning a connectivity error Forever (reconnect-forever) Attempts to reconnect continually at a given interval

A Mule application name Pub uses a persistence object store. The Pub Mule application is deployed to Cloudhub and it configured to use Object Store v2.

Another Mule application name sub is being developed to retrieve values from the Pub Mule application persistence object Store and will also be deployed to cloudhub.

What is the most direct way for the Sub Mule application to retrieve values from the Pub Mule application persistence object store with the least latency?

A.
Use an object store connector configured to access the Pub Mule application persistence object store
A.
Use an object store connector configured to access the Pub Mule application persistence object store
Answers
B.
Use a VM connector configured to directly access the persistence queue of the Pub Mule application persistence object store.
B.
Use a VM connector configured to directly access the persistence queue of the Pub Mule application persistence object store.
Answers
C.
Use an Anypoint MQ connector configured to directly access the Pub Mule application persistence object store
C.
Use an Anypoint MQ connector configured to directly access the Pub Mule application persistence object store
Answers
D.
Use the Object store v2 REST API configured to access the Pub Mule application persistence object store.
D.
Use the Object store v2 REST API configured to access the Pub Mule application persistence object store.
Answers
Suggested answer: D

Explanation:

* The Object Store V2 API enables API access to Anypoint Platform Object Store v2.

* You can configure a Mule app to use the Object Store REST API to store and retrieve values from an object store in another Mule app. However, Object Store v2 is not designed for app-to-app communication. To share data between two

Mule4 apps, use a queue in Anypoint MQ.

* The Object Store v2 APIs enable you to use REST to perform the following:

- Retrieve a list of object stores and keys associated with an application.

- Store and retrieve key-value pairs in an object store.

- Delete key-value pairs from an object store.

- Retrieve Object Store usage statistics for your organization.

- Object Store provides these APIs:

Object Store API

Object Store Stats API

Reference: https://docs.mulesoft.com/object-store/osv2-apis

Additional Info:

When to use Object Store and when to use VM

An organization uses a four(4) node customer hosted Mule runtime cluster to host one(1) stateless api implementation. The API is accessed over HTTPS through a load balancer that uses round-robin for load distribution. Each node in the cluster has been sized to be able to accept four(4) times the current number of requests.

Two(2) nodes in the cluster experience a power outage and are no longer available. The load balancer directs the outage and blocks the two unavailable the nodes from receiving further HTTP requests.

What performance-related consequence is guaranteed to happen to average, assuming the remaining cluster nodes are fully operational?

A.
100% increase in the average response time of the API
A.
100% increase in the average response time of the API
Answers
B.
50% reduction in the throughput of the API
B.
50% reduction in the throughput of the API
Answers
C.
100% increase in the number of requests received by each remaining node
C.
100% increase in the number of requests received by each remaining node
Answers
D.
50% increase in the JVM heap memory consumed by each remaining node
D.
50% increase in the JVM heap memory consumed by each remaining node
Answers
Suggested answer: C

Explanation:

* "100% increase in the throughput of the API" might look correct, as the number of requests processed per second might increase, but is it guaranteed to increase by 100%? Using 4 nodes will definitely increase throughput of system. But it is cant be precisely said if there would be 100% increase in throughput as it depends on many other factors. Also it is nowhere mentioned in the description that all nodes have same CPU/memory assigned. The question is about the guaranteed behavior * Increasing number of nodes will have no impact on response time as we are scaling application horizontally and not vertically. Similarly there is no change in JVM heap memory usage. * So Correct answer is 50%reduction in the number of requests being received by each node This is because of the two reasons. 1) API is mentioned as stateless 2) Load Balancer is used

In Anypoint Platform, a company wants to configure multiple identity providers(Idps) for various lines of business (LOBs) Multiple business groups and environments have been defined for the these LOBs. What Anypoint Platform feature can use multiple Idps access the company's business groups and environment?

A.
User management
A.
User management
Answers
B.
Roles and permissions
B.
Roles and permissions
Answers
C.
Dedicated load balancers
C.
Dedicated load balancers
Answers
D.
Client Management
D.
Client Management
Answers
Suggested answer: D

Explanation:

Correct answer is Client Management

* Anypoint Platform acts as a client provider by default, but you can also configure external client providers to authorize client applications.

* As an API owner, you can apply an OAuth 2.0 policy to authorize client applications that try to access your API. You need an OAuth 2.0 provider to use an OAuth 2.0 policy.

* You can configure more than one client provider and associate the client providers with different environments. If you configure multiple client providers after you have already created environments, you can associate the new client providers with the environment.

* You should review the existing client configuration before reassigning client providers to avoid any downtime with existing assets or APIs.

* When you delete a client provider from your master organization, the client provider is no longer available in environments that used it.

* Also, assets or APIs that used the client provider can no longer authorize users who want to access them.

-------------------------------------------------------------------------------------------------------------MuleSoft

Reference: https://docs.mulesoft.com/access-management/managing-api-clients

https://www.folkstalk.com/2019/11/mulesoft-integration-and-platform.html

An organization is sizing an Anypoint VPC to extend their internal network to Cloudhub.

For this sizing calculation, the organization assumes 150 Mule applications will be deployed among three(3) production environments and will use Cloudhub's default zero-downtime feature. Each Mule application is expected to be configured with two(2) Cloudhub workers.This is expected to result in several Mule application deployments per hour.

A.
10.0.0.0/21(2048 IPs)
A.
10.0.0.0/21(2048 IPs)
Answers
B.
10.0.0.0/22(1024IPs)
B.
10.0.0.0/22(1024IPs)
Answers
C.
10.0.0.0/23(512 IPs)
C.
10.0.0.0/23(512 IPs)
Answers
D.
10.0.0.0/24(256 IPs)
D.
10.0.0.0/24(256 IPs)
Answers
Suggested answer: A

Explanation:

* When you create an Anypoint VPC, the range of IP addresses for the network must be specified in the form of a Classless Inter-Domain Routing (CIDR) block, using CIDR notation.

* This address space is reserved for Mule workers, so it cannot overlap with any address space used in your data center if you want to peer it with your VPC.

* To calculate the proper sizing for your Anypoint VPC, you first need to understand that the number of dedicated IP addresses is not the same as the number of workers you have deployed.

* For each worker deployed to CloudHub, the following IP assignation takes place: For better fault tolerance, the VPC subnet may be divided into up to four Availability Zones.

* A few IP addresses are reserved for infrastructure. At least two IP addresses per worker to perform at zero-downtime.

* Hence in this scenario 2048 IP's are required to support the requirement.

Refer to the exhibit.

This Mule application is deployed to multiple Cloudhub workers with persistent queue enabled. The retrievefile flow event source reads a CSV file from a remote SFTP server and then publishes each record in the CSV file to a VM queue.

The processCustomerRecords flow's VM Listner receives messages from the same VM queue and then processes each message separately.

How are messages routed to the cloudhub workers as messages are received by the VM Listener?

A.
Each message is routed to ONE of the Cloudhub workers in a DETERMINSTIC round robin fashion thereby EXACTLY BALANCING messages among the cloudhub workers
A.
Each message is routed to ONE of the Cloudhub workers in a DETERMINSTIC round robin fashion thereby EXACTLY BALANCING messages among the cloudhub workers
Answers
B.
Each messages routes to ONE of the available Clouhub workers in a NON- DETERMINSTIC non round-robin fashion thereby APPROXIMATELY BALANCING messages among the cloudhub workers
B.
Each messages routes to ONE of the available Clouhub workers in a NON- DETERMINSTIC non round-robin fashion thereby APPROXIMATELY BALANCING messages among the cloudhub workers
Answers
C.
Each message is routed to the SAME Cloudhub worker that retrieved the file, thereby BINDING ALL messages to ONLY that ONE Cloudhub worker
C.
Each message is routed to the SAME Cloudhub worker that retrieved the file, thereby BINDING ALL messages to ONLY that ONE Cloudhub worker
Answers
D.
Each message is duplicated to ALL of the Cloudhub workers, thereby SHARING EACH message with ALL the Cloudhub workers.
D.
Each message is duplicated to ALL of the Cloudhub workers, thereby SHARING EACH message with ALL the Cloudhub workers.
Answers
Suggested answer: B

A mule application is being designed to perform product orchestration. The Mule application needs to join together the responses from an inventory API and a Product Sales History API with the least latency.

To minimize the overall latency. What is the most idiomatic (used for its intended purpose) design to call each API request in the Mule application?

A.
Call each API request in a separate lookup call from Dataweave reduce operator
A.
Call each API request in a separate lookup call from Dataweave reduce operator
Answers
B.
Call each API request in a separate route of a Scatter-Gather
B.
Call each API request in a separate route of a Scatter-Gather
Answers
C.
Call each API request in a separate route of a Parallel For Each scope
C.
Call each API request in a separate route of a Parallel For Each scope
Answers
D.
Call each API request in a separate Async scope
D.
Call each API request in a separate Async scope
Answers
Suggested answer: B

Explanation:

Scatter-Gather sends a request message to multiple targets concurrently. It collects the responses from all routes, and aggregates them into a single message.

Reference: https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept

An organization will deploy Mule applications to Cloudhub, Business requirements mandate that all application logs be stored ONLY in an external splunk consolidated logging service and NOT in Cloudhub.

In order to most easily store Mule application logs ONLY in Splunk, how must Mule application logging be configured in Runtime Manager, and where should the log4j2 splunk appender be defined?

A.
Keep the default logging configuration in RuntimeManagerDefine the splunk appender in ONE global log4j.xml file that is uploaded once to Runtime Manager to support at Mule application deployments.
A.
Keep the default logging configuration in RuntimeManagerDefine the splunk appender in ONE global log4j.xml file that is uploaded once to Runtime Manager to support at Mule application deployments.
Answers
B.
Disable Cloudhub logging in Runtime ManagerDefine the splunk appender in EACH Mule application's log4j2.xml file
B.
Disable Cloudhub logging in Runtime ManagerDefine the splunk appender in EACH Mule application's log4j2.xml file
Answers
C.
Disable Cloudhub logging in Runtime ManagerDefine the splunk appender in ONE global log4j.xml file that is uploaded once to Runtime Manger to support at Mule application deployments.
C.
Disable Cloudhub logging in Runtime ManagerDefine the splunk appender in ONE global log4j.xml file that is uploaded once to Runtime Manger to support at Mule application deployments.
Answers
D.
Keep the default logging configuration in Runtime ManagerDefine the Splunk appender in EACH Mule application log4j2.xml file
D.
Keep the default logging configuration in Runtime ManagerDefine the Splunk appender in EACH Mule application log4j2.xml file
Answers
Suggested answer: B

Explanation:

By default, CloudHub replaces a Mule application's log4j2.xml file with a CloudHub log4j2.xml file. In CloudHub, you can disable the CloudHub provided Mule application log4j2 file. This allows integrating Mule application logs with custom or third-party log management systems

A Mule application is synchronizing customer data between two different database systems.

What is the main benefit of using XA transaction over local transactions to synchronize these two database system?

A.
Reduce latency
A.
Reduce latency
Answers
B.
Increase throughput
B.
Increase throughput
Answers
C.
Simplifies communincation
C.
Simplifies communincation
Answers
D.
Ensure consistency
D.
Ensure consistency
Answers
Suggested answer: D

Explanation:

* XA transaction add tremendous latency so "Reduce Latency" is incorrect option XA transactions define "All or No" commit protocol.

* Each local XA resource manager supports the A.C.I.D properties (Atomicity, Consistency, Isolation, and Durability).

--------------------------------------------------------------------------------------------------------------------- So correct choice is "Ensure consistency"

Reference: https://docs.mulesoft.com/mule-runtime/4.3/xa-transactions

Total 244 questions
Go to page: of 25