Oct-2023 Download Free Latest Exam MCIA-Level-1-Maintenance Certified Sample Questions
Prepare for your exam certification with our MCIA-Level-1-Maintenance Certified MuleSoft
NEW QUESTION # 54
An organization is building a test suite for their applications using m-unit. The integration architect has recommended using test recorder in studio to record the processing flows and then configure unit tests based on the capture events What are the two considerations that must be kept in mind while using test recorder (Choose two answers)
- A. Mocking values resulting from parallel processes are possible and will not affect the execution of the processes that follow in the test
- B. Tests for flows cannot be created with Mule errors raised inside
the flow or already existing in the incoming event - C. Recorder supports smoking a message before or inside a ForEach processor
- D. A recorded flow execution ends successfully but the result does
not reach its destination because the application is killed - E. The recorder support loops where the structure of the data been tested changes inside the iteration
Answer: B,D
NEW QUESTION # 55
As a part of project , existing java implementation is being migrated to Mulesoft. Business is very tight on the budget and wish to complete the project in most economical way possible.
Canonical object model using java is already a part of existing implementation. Same object model is required by mule application for a business use case. What is the best way to achieve this?
- A. Create similar model for Mule applications
- B. Use Anypoint exchange
- C. Make use of Java module
- D. Create a custom application to read Java code and make it available for Mule application
Answer: C
Explanation:
Explanation
Mule 4 is built to:
*Minimize the need for custom code.
*Avoid the need for you to know or understand Java.
However, some advanced uses cases require integration with custom Java code, such as:
*Reuse of a library, such as a tax calculation library.
*Reuse of a canonical object model that is standard in the organization.
*Execution of custom logic using Java.
Mule ref doc :https://docs.mulesoft.com/java-module/1.2/
NEW QUESTION # 56
A global, high-volume shopping Mule application is being built and will be deployed to CloudHub. To improve performance, the Mule application uses a Cache scope that maintains cache state in a CloudHub object store. Web clients will access the Mule application over HTTP from all around the world, with peak volume coinciding with business hours in the web client's geographic location. To achieve optimal performance, what Anypoint Platform region should be chosen for the CloudHub object store?
- A. Choose a region that is the traffic-weighted geographic center of all web clients
- B. Choose the same region as to where the Mule application is deployed
- C. Choose the US-West region, the only supported region for CloudHub object stores
- D. Choose the geographically closest available region for each web client
Answer: B
Explanation:
Explanation
CloudHub object store should be in same region where the Mule application is deployed. This will give optimal performance.
Before learning about Cache scope and object store in Mule 4 we understand what is in general Caching is and other related things.
WHAT DOES "CACHING" MEAN?
Caching is the process of storing frequently used data in memory, file system or database which saves processing time and load if it would have to be accessed from original source location every time.
In computing, a cache is a high-speed data storage layer which stores a subset of data, so that future requests for that data are served up faster than is possible by accessing the data's primary storage location. Caching allows you to efficiently reuse previously retrieved or computed data.
How does Caching work?
The data in a cache is generally stored in fast access hardware such as RAM (Random-access memory) and may also be used in correlation with a software component. A cache's primary purpose is to increase data retrieval performance by reducing the need to access the underlying slower storage layer.
Caching in MULE 4
In Mule 4 caching can be achieved in mule using cache scope and/or object-store. Cache scope internally uses Object Store to store the data.
What is Object Store
Object Store lets applications store data and states across batch processes, Mule components, and applications, from within an application. If used on cloud hub, the object store is shared between applications deployed on Cluster.
Cache Scope is used in below-mentioned cases:
Need to store the whole response from the outbound processor
Data returned from the outbound processor does not change very frequently As Cache scope internally handle the cache hit and cache miss scenarios it is more readable Object Store is used in below-mentioned cases:
Need to store custom/intermediary data
To store watermarks
Sharing the data/stage across applications, schedulers, batch.
If CloudHub object store is in same region where the Mule application is deployed it will aid in fast access of data and give optimal performance.
NEW QUESTION # 57
A Mule application is built to support a local transaction for a series of operations on a single database. The Mule application has a Scatter-Gather that participates in the local transaction.
What is the behavior of the Scatter-Gather when running within this local transaction?
- A. Execution of all routes within the Scatter-Gather occurs in parallel Any error that occurs inside the Scatter-Gather will result in a rollback of all the database operations
- B. Execution of each route within the Scatter-Gather occurs sequentially Any error that occurs inside the Scatter-Gather will result in a rollback of all the database operations
- C. Execution of each route within the Scatter-Gather occurs in parallel Any error that occurs inside the Scatter-Gather will NOT result in a rollback of any of the database operations
- D. Execution of each route within the Scatter-Gather occurs sequentially Any error that occurs inside the Scatter-Gather will NOT result in a rollback of any of the database operations
Answer: B
NEW QUESTION # 58
Refer to the exhibit.
The HTTP Listener and the Logger are being handled from which thread pools respectively?
- A. BLOCKING _IO and UBER
- B. UBER and NONBLOCKING
- C. CPU_INTENSIVE and Dedicated Selector pool
- D. Shared Selector Pool and CPU LITE
Answer: D
NEW QUESTION # 59
What is maximum vCores can be allocated to application deployed to CloudHub?
- A. 16 vCores
- B. 4 vCores
- C. 2 vCores
- D. 1 vCores
Answer: A
NEW QUESTION # 60
A stock broking company makes use of CloudHub VPC to deploy Mule applications. Mule application needs to connect to a database application in the customers on-premises corporate data center and also to a Kafka cluster running in AWS VPC.
How is access enabled for the API to connect to the database application and Kafka cluster securely?
- A. Set up a transit gateway to the customers on-premises corporate datacenter to AWS VPC
- B. Setup VPC peering with AWS VPC and the customers devices corporate data center
- C. Setup AnyPoint VPN to the customer's on-premise corporate data
center and VPC peering with AWS VPC - D. Setup VPC peering with the customers onto my service corporate data center and Anypoint VPN to AWS VPC
Answer: C
NEW QUESTION # 61
To implement predictive maintenance on its machinery equipment, ACME Tractors has installed thousands of IoT sensors that will send data for each machinery asset as sequences of JMS messages, in near real-time, to a JMS queue named SENSOR_DATA on a JMS server. The Mule application contains a JMS Listener operation configured to receive incoming messages from the JMS servers SENSOR_DATA JMS queue. The Mule application persists each received JMS message, then sends a transformed version of the corresponding Mule event to the machinery equipment back-end systems.
The Mule application will be deployed to a multi-node, customer-hosted Mule runtime cluster. Under normal conditions, each JMS message should be processed exactly once.
How should the JMS Listener be configured to maximize performance and concurrent message processing of the JMS queue?
- A. Set numberOfConsumers = 1
Set primaryNodeOnly = false - B. Set numberOfConsumers = 1
Set primaryNodeOnly = true - C. Set numberOfConsumers to a value greater than one
Set primaryNodeOnly = true - D. Set numberOfConsumers to a value greater than one
Set primaryNodeOnly = false
Answer: D
NEW QUESTION # 62
A Mule application is being designed To receive nightly a CSV file containing millions of records from an external vendor over SFTP, The records from the file need to be validated, transformed. And then written to a database. Records can be inserted into the database in any order.
In this use case, what combination of Mule components provides the most effective and performant way to write these records to the database?
- A. Use a DataWeave map operation and an Async scope to insert records one by one into the database.
- B. Use a Scatter-Gather to bulk insert records into the database
- C. Use a Parallel for Each scope to Insert records one by one into the database
- D. Use a Batch job scope to bulk insert records into the database.
Answer: D
Explanation:
Explanation
Correct answer is Use a Batch job scope to bulk insert records into the database
* Batch Job is most efficient way to manage millions of records.
A few points to note here are as follows :
Reliability: If you want reliabilty while processing the records, i.e should the processing survive a runtime crash or other unhappy scenarios, and when restarted process all the remaining records, if yes then go for batch as it uses persistent queues.
Error Handling: In Parallel for each an error in a particular route will stop processing the remaining records in that route and in such case you'd need to handle it using on error continue, batch process does not stop during such error instead you can have a step for failures and have a dedicated handling in it.
Memory footprint: Since question said that there are millions of records to process, parallel for each will aggregate all the processed records at the end and can possibly cause Out Of Memory.
Batch job instead provides a BatchResult in the on complete phase where you can get the count of failures and success. For huge file processing if order is not a concern definitely go ahead with Batch Job
NEW QUESTION # 63
An organization is designing multiple new applications to run on CloudHub in a single Anypoint VPC and that must share data using a common persistent Anypoint object store V2 (OSv2).
Which design gives these mule applications access to the same object store instance?
- A. The object store V2 rest API configured to access the persistent object store
- B. An Anypoint MQ connector configured to directly access the persistent object store
- C. Object store V2 can be shared across cloudhub applications with the configured osv2 connector
- D. AVM connector configured to directly access the persistence queue of the persistent object store
Answer: A
NEW QUESTION # 64
An insurance company has an existing API which is currently used by customers. API is deployed to customer hosted Mule runtime cluster. The load balancer that is used to access any APIs on the mule cluster is only configured to point to applications hosted on the server at port 443.
Mule application team of a company attempted to deploy a second API using port 443 but the application will not start and checking logs shows an error indicating the address is already in use.
Which steps must the organization take to resolve this error and allow customers to access both the API's?
- A. Set HTTP listener configuration in both API's to allow for connections from multiple ports
- B. Set the HTTP listener of the second API to use different port than the one used in the first API
- C. Move the HTTP listener configurations from the API's and package them in a mule domain project using port 443
- D. Change the base path of the HTTP listener configuration in the second API to a different one from the first API
Answer: C
NEW QUESTION # 65
An external web UI application currently accepts occasional HTTP requests from client web browsers to change (insert, update, or delete) inventory pricing information in an inventory system's database. Each inventory pricing change must be transformed and then synchronized with multiple customer experience systems in near real-time (in under 10 seconds). New customer experience systems are expected to be added in the future.
The database is used heavily and limits the number of SELECT queries that can be made to the database to 10 requests per hour per user.
What is the most scalable, idiomatic (used for its intended purpose), decoupled. reusable, and maintainable integration mechanism available to synchronize each inventory pricing change with the various customer experience systems in near real-time?
- A. Write a Mule application with a Database On Table Row event source configured for the inventory pricing database, with the watermark attribute set to an appropriate database column In the same now, use a Scatter-Gather to call each customer experience system's REST API with transformed inventory-pricing records
- B. Replace the external web UI application with a Mule application to accept HTTP requests from client web browsers In the same Mule application, use a Batch Job scope to test if the database request will succeed, aggregate pricing changes within a short time window, and then update both the inventory pricing database and each customer experience system using a Parallel For Each scope
- C. Write a Mule application with a Database On Table Row event source configured for the inventory pricing database, with the ID attribute set to an appropriate database column In the same flow, use a Batch Job scope to publish transformed Inventory-pricing records to an Anypoint MQ queue Write other Mule applications to subscribe to the Anypoint MQ queue, transform each received message, and then update the Mule application's corresponding customer experience system(s)
- D. Add a trigger to the inventory-pricing database table so that for each change to the inventory pricing database, a stored procedure is called that makes a REST call to a Mule application Write the Mule application to publish each Mule event as a message to an Anypoint MQ exchange Write other Mule applications to subscribe to the Anypoint MQ exchange, transform each received message, and then update the Mule application's corresponding customer experience system(s)
Answer: D
NEW QUESTION # 66
How are the API implementation , API client, and API consumer combined to invoke and process an API ?
- A. The API consumer creates an API implementation , which receives API invocations from an API such that they are processed for an API client
- B. An API client creates an API consumer, which receives API invocation from an API such that they are processed for an API implementation
- C. The API consumer creates an API client which sends API invocations to an API such that they are processed by an API implementation
- D. The API client creates an API consumer which sends API invocations to an API such that they are processed by API implementation
Answer: B
Explanation:
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
NEW QUESTION # 67
A finance giant is planning to migrate all its Mule applications to Runtime fabric (RTF). Currently all Mule applications are deployed cloud hub using automated CI/CD scripts.
As an integration architect, which of the below step would you suggest to ensure that the applications from cloudhub are migrated properly to Runtime Fabric (RTF) with an assumption that organization is keen on keeping the same deployment strategy.
- A. runtimeFabric profile should be added mule configuration files in the mule applications and CI/CD script should be modified as per the RTF configurations
- B. runtimeFabric deployment should be added to POM.xml file in all
the mule applications and CI/CD script should be modified as per the RTF configurations - C. runtimeFabric dependency should be added as a mule plug-in to POM.xml file and CI/CD script should be modified as per the RTF configurations
- D. No changes need to be made to POM.xml file and CI/CD script should be modified as per the RTF configurations
Answer: B
NEW QUESTION # 68
What condition requires using a CloudHub Dedicated Load Balancer?
- A. When cross-region load balancing is required between separate deployments of the same Mule application
- B. When custom DNS names are required for API implementations deployed to customer-hosted Mule runtimes
- C. When API invocations across multiple CloudHub workers must be load balanced
- D. When server-side load-balanced TLS mutual authentication is required between API implementations and API clients
Answer: D
Explanation:
Explanation
Correct answer is When server-side load-balanced TLS mutual authentication is required between API implementations and API clients CloudHub dedicated load balancers (DLBs) are an optional component of Anypoint Platform that enable you to route external HTTP and HTTPS traffic to multiple Mule applications deployed to CloudHub workers in a Virtual Private Cloud (VPC). Dedicated load balancers enable you to: * Handle load balancing among the different CloudHub workers that run your application. * Define SSL configurations to provide custom certificates and optionally enforce two-way SSL client authentication. * Configure proxy rules that map your applications to custom domains. This enables you to host your applications under a single domain
NEW QUESTION # 69
An organization uses one specific CloudHub (AWS) region for all CloudHub deployments. How are CloudHub workers assigned to availability zones (AZs) when the organization's Mule applications are deployed to CloudHub in that region?
- A. Workers are randomly distributed across available AZs within that region.
- B. AZs are selected as part of the Mule application's deployment configuration.
- C. An AZ is randomly selected for a Mule application, and all the Mule application's CloudHub workers are assigned to that one AZ
- D. Workers belonging to a given environment are assigned to the same AZ within that region.
Answer: A
Explanation:
Explanation
Correct answer is Workers are randomly distributed across available AZs within that region. This ensure high availability for deployed mule applications Mulesoft documentation reference :
https://docs.mulesoft.com/runtime-manager/cloudhub-hadr
NEW QUESTION # 70
An organization is designing Mule application which connects to a legacy backend. It has been reported that backend services are not highly available and experience downtime quite often. As an integration architect which of the below approach you would propose to achieve high reliability goals?
- A. On Error Continue scope to be used to call in case of error again
- B. Create a batch job with all requests being sent to backend using that job as per the availability of backend API's
- C. Alerts can be configured in Mule runtime so that backend team can be communicated when services are down
- D. Until Successful scope can be implemented while calling backend API's
Answer: D
Explanation:
Explanation
Correct answer is Untill Successful scope can be implemented while calling backend API's The Until Successful scope repeatedly triggers the scope's components (including flow references) until they all succeed or until a maximum number of retries is exceeded The scope provides option to control the max number of retries and the interval between retries The scope can execute any sequence of processors that may fail for whatever reason and may succeed upon retry
NEW QUESTION # 71
......
Free MuleSoft MCIA-Level-1-Maintenance Exam 2023 Practice Materials Collection: https://braindumps2go.dumpsmaterials.com/MCIA-Level-1-Maintenance-real-torrent.html
