{"id":131918,"date":"2024-01-27T06:54:52","date_gmt":"2024-01-27T06:54:52","guid":{"rendered":"https:\/\/learnexams.com\/blog\/?p=131918"},"modified":"2024-01-27T06:54:55","modified_gmt":"2024-01-27T06:54:55","slug":"mulesoft-certified-integration-architect-exam-latest-2024-2025-update-questions-and-verified-answers-100-correct-grade-a","status":"publish","type":"post","link":"https:\/\/www.learnexams.com\/blog\/2024\/01\/27\/mulesoft-certified-integration-architect-exam-latest-2024-2025-update-questions-and-verified-answers-100-correct-grade-a\/","title":{"rendered":"MuleSoft Certified Integration Architect Exam (Latest 2024\/ 2025 Update) Questions and Verified Answers |100% Correct| Grade A"},"content":{"rendered":"\n<p>MuleSoft Certified Integration Architect Exam (Latest 2024\/ 2025 Update) Questions and Verified Answers |100% Correct| Grade A<\/p>\n\n\n\n<p>MuleSoft Certified Integration Architect<br>Exam (Latest 2024\/ 2025 Update) Questions<br>and Verified Answers |100% Correct| Grade<br>A<br>Q: What are typical types of documentation in an integration solution architecture?<br>Answer:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Required use cases<\/li>\n\n\n\n<li>Views of systems and sub-systems<\/li>\n\n\n\n<li>Views of data and interfaces<\/li>\n\n\n\n<li>Functional requirements and non-functional requirements and SLAs<\/li>\n\n\n\n<li>Views of interactions and design decisions<\/li>\n\n\n\n<li>Key decisions, requirements and tradeoffs<br>Q: What is the 4+1 methodology?<br>Answer:<\/li>\n\n\n\n<li>Is one common approach how to illustrate views for software and systems<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Logical view: Architecture diagram, relationships between systems and stakeholders<\/li>\n\n\n\n<li>Process view: API-led diagram, Information about the movement of information, Documents<br>success and failure paths, Sequence and activity diagrams<\/li>\n\n\n\n<li>Development view: Data mapping, testing strategy, Example flows in Mulesoft<\/li>\n\n\n\n<li>Physical view: Deployment diagrams, What artefacts are running on each node, how the<br>different pieces are connected, high level topology: databases, runtimes, workers, LBs, firewalls,<br>VPCs<br>+1 = The plus 1 illustrates the scenarios from an end user perspective &#8211;&gt; User Stories<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Design phase: Process view, development view, physical view<\/li>\n<\/ul>\n\n\n\n<p>Q: What documentation is also required beside 4+1 view?<br>Answer:<br>Maintenance, operations and security documentation<br>Q: What are Mule applications under the hood?<br>Answer:<br>Java-based applications based on Java Spring configured by Mule application XML files<br>Q: Which 4+1 view is created to direct deployment and maintenance phases?<br>Answer:<br>Physical view:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Shows the process and the nodes that are running<\/li>\n\n\n\n<li>View on CI\/CD<br>Q: What is a Mule application?<br>Answer:<\/li>\n\n\n\n<li>It runs in a Java virtual machine (JVM)<\/li>\n\n\n\n<li>It is triggered by internal or external events or processes and routes to other components or<br>endpoints<br>Q: How does a typical Mule flow looks like?<br>Answer:<\/li>\n<\/ul>\n\n\n\n<p>Q: What are the main elements for a Mule event?<br>Answer:<br>Mule events can be passed or copied between event processors in the flow<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Message: The main data object carried between event processors<\/li>\n\n\n\n<li>Attributes: Metadata contained in the message header<\/li>\n\n\n\n<li>Payload: Core information of the message<\/li>\n\n\n\n<li>Variables: Stores current event state for use by later event processors<\/li>\n\n\n\n<li>Error message: Generates by the flow<br>Q: What are the three types of flows in Mule 4?<br>Answer:<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Regular<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Starts with a message source<\/li>\n\n\n\n<li>Can have its own error handler<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Private flow<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>No message source<\/li>\n\n\n\n<li>Can only be triggered from within the Mule application<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Sub flows<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>No message source like a private flow<\/li>\n\n\n\n<li>No Error handling (Errors bubble up into the parent flow)<br>Q: What happens if you route a message with a flow reference to a sub flow?<br>Answer:<br>The flow message is processed synchronously<br>Q: How can you trigger flows asynchronously from a parent flow?<br>Answer:<\/li>\n<\/ul>\n\n\n\n<p>With the Async scope:<br>It will copy the message and process it asynchronously in the parent and sub-flow<br>For example if you want to send e massage to Splunk you can use the async scope<br>Q: With which component can you trigger flows beside an event source?<br>Answer:<br>Scheduler:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fixed frequency: Poll every 1000 mili sec<\/li>\n\n\n\n<li>Cron: You can specify an event to occur just once at a certain specific date or at some<br>frequency<br>When you enable CRON you can see the application on cloud hub an trigger it in the run time<br>manager<\/li>\n\n\n\n<li>runtime manager -&gt; schedules<\/li>\n\n\n\n<li>You can also trigger flows directly from connectors with internal schedulers: Database, File,<br>FTP, SFTP on Table Row and on New or Update File<br>Q: Which connectors have internal scheduling options?<br>Answer:<\/li>\n\n\n\n<li>Database: on Table Row<\/li>\n\n\n\n<li>File, FTP, SFTP: On New or Update File<br>Q: What are the advantages of using connectors?<br>Answer:<\/li>\n\n\n\n<li>Facilitate integration of third-party systems such as Salesforce, Google, Facebook, Workday<\/li>\n\n\n\n<li>No need to study and code to underlying protocol or security by the third party system<br>Powered by <a href=\"https:\/\/learnexams.com\/search\/study?query=\" target=\"_blank\" rel=\"noopener\">https:\/\/learnexams.com\/search\/study?query=<\/a><\/li>\n<\/ul>\n\n\n\n<p>What characterises integration solutions across an enterprise?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Various systems and applications to connect<\/li>\n\n\n\n<li>Various stakeholders<\/li>\n\n\n\n<li>Conflicting goals<\/li>\n\n\n\n<li>Stakeholders have different assumptions, understandings and language<\/li>\n\n\n\n<li>Systems have different requirements, reliability, availability and performance<\/li>\n<\/ul>\n\n\n\n<p>What is the most important objective of an integration solution?<br>To address the in-scope requirements of stakeholders related to the scenarios and use cases<\/p>\n\n\n\n<p>Identify stakeholders involved in an integration project?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Project sponsor: drives the project<\/li>\n\n\n\n<li>Architects: Responsible for implementation<\/li>\n\n\n\n<li>System integrators and external stakeholders: responsible for external systems<\/li>\n\n\n\n<li>Auditors: Verify compliance, policies, integrity<\/li>\n\n\n\n<li>Users: Enduser of the system<\/li>\n<\/ul>\n\n\n\n<p>Identify stakeholders related to Anypoint Platform?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Users<\/li>\n\n\n\n<li>Administrators<\/li>\n\n\n\n<li>Developers and Architects<\/li>\n\n\n\n<li>System integrators and external stakeholders<\/li>\n\n\n\n<li>Analysts and Managers: responsible for managing the scope, value, costs etc.<\/li>\n<\/ul>\n\n\n\n<p>What are the main areas which an architect has to deal with?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Non-technical business vs. technical stakeholders<\/li>\n\n\n\n<li>End users<\/li>\n\n\n\n<li>Development vs. deployment vs. runtime operations stakeholders<\/li>\n\n\n\n<li>Implementers vs. managers. vs. executives<\/li>\n<\/ul>\n\n\n\n<p>What is Mulesofts point of view on integration solution architectures vs. enterprise architectures?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Integration solutions architecture: Documents individual integration initiatives for example message-based integration, batch processing, ETL, form of integration between systems<\/li>\n\n\n\n<li>Enterprise architecture: Application network of an organisation. API-Led connectivity, layering, reusing, combining API-Led<\/li>\n<\/ol>\n\n\n\n<p>What is Mulesoft&#8217;s OBD = Outcome based delivery approach?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>90% of the projects are not reaching their goals<\/li>\n\n\n\n<li>After few months of production the customer can not use the platform because the Organisation is not enabled enough<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Business outcomes = What do we deliver?<\/li>\n\n\n\n<li>Technology delivery = How can we use Anypoint Platform?<\/li>\n\n\n\n<li>Org enablement = How can we enable C4E and training?<\/li>\n<\/ol>\n\n\n\n<p>How are user stories usually documented?<\/p>\n\n\n\n<p>What are the two kinds of requirements which are discovered from user story perspective?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Functional requirements:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Triggering events<\/li>\n\n\n\n<li>Acceptance criteria<\/li>\n\n\n\n<li>Expected errors and error handling<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Non-functional requirements:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>May be invented by industry or other external authorities<\/li>\n\n\n\n<li>Are constrains on the requirements<\/li>\n<\/ul>\n\n\n\n<p>What are typical types of documentation in an integration solution architecture?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Required use cases<\/li>\n\n\n\n<li>Views of systems and sub-systems<\/li>\n\n\n\n<li>Views of data and interfaces<\/li>\n\n\n\n<li>Functional requirements and non-functional requirements and SLAs<\/li>\n\n\n\n<li>Views of interactions and design decisions<\/li>\n\n\n\n<li>Key decisions, requirements and tradeoffs<\/li>\n<\/ul>\n\n\n\n<p>What is the 4+1 methodology?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Is one common approach how to illustrate views for software and systems<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Logical view: Architecture diagram, relationships between systems and stakeholders<\/li>\n\n\n\n<li>Process view: API-led diagram, Information about the movement of information, Documents success and failure paths, Sequence and activity diagrams<\/li>\n\n\n\n<li>Development view: Data mapping, testing strategy, Example flows in Mulesoft<\/li>\n\n\n\n<li>Physical view: Deployment diagrams, What artefacts are running on each node, how the different pieces are connected, high level topology: databases, runtimes, workers, LBs, firewalls, VPCs<\/li>\n<\/ol>\n\n\n\n<p>+1 = The plus 1 illustrates the scenarios from an end user perspective &#8211;&gt; User Stories<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Design phase: Process view, development view, physical view<\/li>\n<\/ul>\n\n\n\n<p>What documentation is also required beside 4+1 view?<br>Maintenance, operations and security documentation<\/p>\n\n\n\n<p>What are Mule applications under the hood?<br>Java-based applications based on Java Spring configured by Mule application XML files<\/p>\n\n\n\n<p>Which 4+1 view is created to direct deployment and maintenance phases?<br>Physical view:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Shows the process and the nodes that are running<\/li>\n\n\n\n<li>View on CI\/CD<\/li>\n<\/ul>\n\n\n\n<p>What is a Mule application?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It runs in a Java virtual machine (JVM)<\/li>\n\n\n\n<li>It is triggered by internal or external events or processes and routes to other components or endpoints<\/li>\n<\/ul>\n\n\n\n<p>How does a typical Mule flow looks like?<\/p>\n\n\n\n<p>What are the main elements for a Mule event?<br>Mule events can be passed or copied between event processors in the flow<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Message: The main data object carried between event processors<\/li>\n\n\n\n<li>Attributes: Metadata contained in the message header<\/li>\n\n\n\n<li>Payload: Core information of the message<\/li>\n\n\n\n<li>Variables: Stores current event state for use by later event processors<\/li>\n\n\n\n<li>Error message: Generates by the flow<\/li>\n<\/ul>\n\n\n\n<p>What are the three types of flows in Mule 4?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Regular<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Starts with a message source<\/li>\n\n\n\n<li>Can have its own error handler<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Private flow<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>No message source<\/li>\n\n\n\n<li>Can only be triggered from within the Mule application<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Sub flows<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>No message source like a private flow<\/li>\n\n\n\n<li>No Error handling (Errors bubble up into the parent flow)<\/li>\n<\/ul>\n\n\n\n<p>What happens if you route a message with a flow reference to a sub flow?<br>The flow message is processed synchronously<\/p>\n\n\n\n<p>How can you trigger flows asynchronously from a parent flow?<br>With the Async scope:<\/p>\n\n\n\n<p>It will copy the message and process it asynchronously in the parent and sub-flow<\/p>\n\n\n\n<p>For example if you want to send e massage to Splunk you can use the async scope<\/p>\n\n\n\n<p>With which component can you trigger flows beside an event source?<br>Scheduler:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fixed frequency: Poll every 1000 mili sec<\/li>\n\n\n\n<li>Cron: You can specify an event to occur just once at a certain specific date or at some frequency<\/li>\n<\/ul>\n\n\n\n<p>When you enable CRON you can see the application on cloud hub an trigger it in the run time manager<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>runtime manager -&gt; schedules<\/li>\n\n\n\n<li>You can also trigger flows directly from connectors with internal schedulers: Database, File, FTP, SFTP on Table Row and on New or Update File<\/li>\n<\/ul>\n\n\n\n<p>Which connectors have internal scheduling options?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Database: on Table Row<\/li>\n\n\n\n<li>File, FTP, SFTP: On New or Update File<\/li>\n<\/ul>\n\n\n\n<p>What are the advantages of using connectors?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Facilitate integration of third-party systems such as Salesforce, Google, Facebook, Workday<\/li>\n\n\n\n<li>No need to study and code to underlying protocol or security by the third party system<\/li>\n\n\n\n<li>Speed up development and deployment<\/li>\n\n\n\n<li>Make mule applications easier to maintain<\/li>\n<\/ul>\n\n\n\n<p>How can you share global elements across Mule applications?<br>Mule Domain project:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mule domains are only supported in customer-hosted runtime planes<\/li>\n\n\n\n<li>One or more application can be associated with the Mule domain<\/li>\n\n\n\n<li>A Mule domain can be deployed to Mule runtimes along with Mule applications<\/li>\n<\/ul>\n\n\n\n<p>What is important about Mule Domains when you want to use them?<br>They are only supported in customer-hosted runtime planes<\/p>\n\n\n\n<p>What changed in Mule 4 compared to Mule 3?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Messages are now called events and the structure has changed<\/li>\n\n\n\n<li>Inbound and outbound properties are called attributes<\/li>\n\n\n\n<li>Each Mule 4 connector explicitly sets its own outbound properties<\/li>\n\n\n\n<li>Session variables are removed and instead each connector passes data over transports as Payload, Headers attachments<\/li>\n\n\n\n<li>Variables are now stored and passed around with the Mule event<\/li>\n<\/ol>\n\n\n\n<p>How did flow change on Mule 4?<br>We don&#8217;t use processing strategies anymore in Mule 4. Everything is auto tuned<\/p>\n\n\n\n<p>What has changed between Mule 4 and Mule 3 looking at the connectors?<br>In Mule 4 the connectors are not bounded anymore to the runtime<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Each connector and many other components are separated out into independent extension libraries called modules<\/li>\n<\/ul>\n\n\n\n<p>In Mule 3 you had to wait for the new runtime if a new connector was released<\/p>\n\n\n\n<p>How are modules configured in a Mule application?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Each module is configured as a Maven dependency in the pom.xml file<\/li>\n<\/ul>\n\n\n\n<p>What is supported by the HTTP connector?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Inbound requests over HTTP and HTTPS to trigger a flow<\/li>\n\n\n\n<li>Send an HTTP or HTTPS request in the middle of the flow<\/li>\n\n\n\n<li>HTTP 1.0 and 1.1<\/li>\n<\/ul>\n\n\n\n<p>It does NOT support HTTP 2.0<\/p>\n\n\n\n<p>How are Grizzly libraries used for HTTP connectors?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Grizzly is a standard open source library supporting HTTP\/S protocols<\/li>\n\n\n\n<li>Uses selector threads pool<\/li>\n\n\n\n<li>Listeners have a shared selector pool for each Mule app<\/li>\n\n\n\n<li>Requesters have a dedicated selector pool for each Mule app<\/li>\n<\/ul>\n\n\n\n<p>What can you do if a connector is not available?<br>You can build your own custom connector with Mule 4 SDK<\/p>\n\n\n\n<p>What are the 4 Anypoint Connector types?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Community: Mulesoft or Community written, no license<\/li>\n\n\n\n<li>Mulesoft Certified: Developed by Mulesoft partners and developer community and reviews by Mulesoft<\/li>\n\n\n\n<li>Select: Mulesoft maintains select connectors, To use them you must have an Anypoint Platform subscription<\/li>\n\n\n\n<li>Premium: Premium Connectors like SAP, you need an active CloudHub premium subscription<\/li>\n<\/ol>\n\n\n\n<p>How does the connector reconnection strategy works?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>By default a failed connectivity test is just logged and the application starts anyways or continues to run without trying to reconnect<\/li>\n\n\n\n<li>A reconnection strategy can be configured to try repeatedly to connect<\/li>\n\n\n\n<li>A failsDeploy attribute can be set to true to throw an exception if the reconnection attempts fail which prevents the Mule application from starting<\/li>\n<\/ul>\n\n\n\n<p>What do you need to consider when writing DataWeave?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use functions like filter in order to improve the performance and do not iterate with loops in order to filter<\/li>\n\n\n\n<li>Always use Dataweave type: application\/dw in development phase. its easier to debug because its better to read the errors<br>At the end you can change the type to application\/json or whatever you need<\/li>\n<\/ul>\n\n\n\n<p>What are types of Mule routers?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choice<\/li>\n\n\n\n<li>Scatter-Gather<\/li>\n\n\n\n<li>First Successful<\/li>\n\n\n\n<li>Round Robin<\/li>\n\n\n\n<li>Error handling<\/li>\n<\/ul>\n\n\n\n<p>What are characteristics of Round Robin?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Routes the incoming Mule event to one of its routes<\/li>\n\n\n\n<li>A different route is selected each time in looping<\/li>\n\n\n\n<li>Each invocation of the Round Robin router is synchronous<\/li>\n<\/ul>\n\n\n\n<p>Round robin uses object store to remember the last execution<\/p>\n\n\n\n<p>What happens if an error is not handled?<br>If an error is not handled the error message is logged and the flow processing stops<\/p>\n\n\n\n<p>Where can an error handler be added in a Mule application?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Global Error Handler<\/li>\n\n\n\n<li>A regular Flow<\/li>\n\n\n\n<li>A try scope (sequence of one or more mule event)<\/li>\n<\/ul>\n\n\n\n<p>An Error Handler can not be added to subflows<\/p>\n\n\n\n<p>What is the difference between on Error Propagate and on Error Continue<br>Propagate:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>all processors in the error handling scope are executed<\/li>\n\n\n\n<li>At the end of the scope:<br>. The rest of the flow that threw the error is not executed<br>. The error is re-thrown up to the next level and handled there<\/li>\n\n\n\n<li>If the error starts with an HTTP listener it returns Error 5XX response<\/li>\n<\/ul>\n\n\n\n<p>Continue:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>All processors in the error handling scope are executed<\/li>\n\n\n\n<li>At the end of the scope:<br>. The rest of the flow that threw the error is not executed<br>. The result of the error handler scope is passed up to the next level as if the flow execution had completed successfully<\/li>\n\n\n\n<li>If the flow starts with HTTP listener it returns 2XX response<\/li>\n<\/ul>\n\n\n\n<p>What happens with an error handling within a transaction?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On error propagate:<br>The error is thrown up the call stack so the current open transaction is rolled back<\/li>\n\n\n\n<li>Continue:<br>The error is handled so the current open transaction is committed (no roll back)<\/li>\n<\/ul>\n\n\n\n<p>Example:<br>If you write a database on error propagate the previous transaction is rolled back<\/p>\n\n\n\n<p>How does a try scope handle errors?<br>Acts like a private flow inside the parent flow:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Can have its own error handling<\/li>\n\n\n\n<li>Unhandled errors bubble up to the parent flow<\/li>\n<\/ul>\n\n\n\n<p>What is reactive programming?<br>A programming paradigm that combines the concurrency with event-based and asynchronous systems<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mule runtime is based on reactive programming<\/li>\n<\/ul>\n\n\n\n<p>Example: You get a lot of events and you perform action as soon as you want to perform them<br>(Pizza example)<\/p>\n\n\n\n<p>What is back-pressure and how is it handled by Mule?<br>When Salesforce is slowly, the connector will slow down as well<\/p>\n\n\n\n<p>What processing model is used by the Mule 4 runtime?<br>A non-blocking and reactive processing model:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Non blocking is a central theme in reactive principles<\/li>\n\n\n\n<li>Non blocking is the norm in Mule 4<\/li>\n<\/ul>\n\n\n\n<p>What does non-blocking mean?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When you make an outbound request the thread will be released back to the grizzly-thread-pool until receiving an answer<\/li>\n<\/ul>\n\n\n\n<p>What happens if the scheduler interval is faster then the processing of the flow? What do you need to do in this case?<br>Mule runtime throws an error and loses the message.<\/p>\n\n\n\n<p>You need to set max. concurrency in the flow to: 1<\/p>\n\n\n\n<p>How many global executors do exists to run the tasks in the Mule 4 runtime?<br>3<\/p>\n\n\n\n<p>What are the three execution types that can be set in an Anypoint connectors source code?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>IO_INTENSIVE (Blocking)<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Transaction scope<\/li>\n\n\n\n<li>all blocking IO intensive connectors<\/li>\n\n\n\n<li>All technique that blocks the current thread<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>CPU_INTENSIVE<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Intensive processesing<\/li>\n\n\n\n<li>Dataweave<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>CPU_LITE<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Processing that neither blocks or is CPU intensive<\/li>\n\n\n\n<li>Routing, filtering, message passing<\/li>\n<\/ul>\n\n\n\n<p>What is RESTful?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Addressable resource:<br>A resource is any information or concept that can be named<\/li>\n\n\n\n<li>Stateless:<br>The server does not store application state<\/li>\n\n\n\n<li>Connectedness:<br>The server guides the client to change state &#8211;&gt; Done by Hypermedia<\/li>\n\n\n\n<li>Uniform interface:<br>Resources share interface characteristics<\/li>\n\n\n\n<li>Idempotency:<br>The same HTTP request should always create the same server state<\/li>\n<\/ul>\n\n\n\n<p>Which HTTP methods are idempotent?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Read<\/li>\n\n\n\n<li>Updated<\/li>\n\n\n\n<li>Delete<\/li>\n<\/ul>\n\n\n\n<p>Idempotent: It doesn&#8217;t change the results no matter how ofter you klick it<\/p>\n\n\n\n<p>What is the difference between SOAP and REST?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SOAP focuses on exposing a piece of application logic (not data) as service<\/li>\n\n\n\n<li>SOAP is based on the XML and W3C standard<\/li>\n\n\n\n<li>SOAP and REST support SSL<\/li>\n\n\n\n<li>SOAP focuses on exposing and accessing named operations, while REST focuses on accessing resources via HTTP methods<\/li>\n<\/ul>\n\n\n\n<p>What is special in Mule 4 talking about streaming? What is streaming?<br>The Mule 4 automatically streams large data payloads without any special configuration<\/p>\n\n\n\n<p>Steams are data structures which are processed continuously as it arrives<\/p>\n\n\n\n<p>Data will hold in memory before computing<\/p>\n\n\n\n<p>Which connectors support streaming?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>File<\/li>\n\n\n\n<li>FTP<\/li>\n\n\n\n<li>DB<\/li>\n\n\n\n<li>HTTP<\/li>\n\n\n\n<li>Sockets<\/li>\n\n\n\n<li>Salesforce<\/li>\n<\/ul>\n\n\n\n<p>What are the 3 streaming options for connectors in Mule 4?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>File stored repeatable streams:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>By default stores 500 objects in its in-memory buffer (number can be configured)<\/li>\n\n\n\n<li>Excess objects are serialised using a Kyro serializer<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In-memory repeatable streams<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Max buffer size 500 objects<\/li>\n\n\n\n<li>If streams exceed the max bugger size then the application fails<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Non repeatable streams:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The input stream is only read once<\/li>\n\n\n\n<li>No extra memory or performance overhead compared with repeatable streams<\/li>\n<\/ul>\n\n\n\n<p>What is an asynchronous processing model?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The main thread does not wait for its workers to complete execution<\/li>\n\n\n\n<li>Uses branch processing<\/li>\n\n\n\n<li>Failure in one of the branches does not impact the main flow<\/li>\n\n\n\n<li>Responses from branch processing are not available to the main flow<\/li>\n<\/ul>\n\n\n\n<p>How can you achieve with a JMS connector synchronous and asynchronous communication?<br>Synchronous:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Publish sends a message to a queue<\/li>\n\n\n\n<li>never gets a response back to the message provider<\/li>\n<\/ul>\n\n\n\n<p>Asynchronous:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Publish consume &#8211;&gt; Blocks the flow until a response is returned from the JMS provider or the timeout expires<\/li>\n<\/ul>\n\n\n\n<p>What is the difference between JMS and VM queues?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Unlike JMS, VM queues do not use any intermediate message broker<\/li>\n\n\n\n<li>Creates and communicates with virtual machine using publish\/subscribe module<\/li>\n\n\n\n<li>Supports sync and async<\/li>\n\n\n\n<li>Supports intra-app and inter-app (in Mule domain) communication<\/li>\n<\/ul>\n\n\n\n<p>How do you persist data with a VM queue?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On customer-hosted Mule runtime: by serializing and storing the content on the disk<\/li>\n\n\n\n<li>On cluster of customer-hosted Mule runtime: persistent queues are backed by the Hazelcast distributed data grid<\/li>\n\n\n\n<li>On CloudHub: Are stored in a CloudHub service<\/li>\n<\/ul>\n\n\n\n<p>What is the difference between VM queue and other queues?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>With VM queues reliability and quality is limited<\/li>\n\n\n\n<li>VM queues can be used for specific use cases:<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>To distribute messages across a cluster of Mule runtimes<\/li>\n\n\n\n<li>For high-performance async communication<\/li>\n\n\n\n<li>To distribute work within the same Mule application across multiple workers<\/li>\n\n\n\n<li>When investment in a JMS broker is not supported (VM is for free)<\/li>\n<\/ol>\n\n\n\n<p>Describe the batch job processing model?<br>(only available with Mule Enterprise runtime)<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the input payload a fixed block of records is send to the batch job<\/li>\n\n\n\n<li>All batch records are first queued<\/li>\n\n\n\n<li>Records are taken from the top of the queue one at a time and sent to the first batch step<\/li>\n\n\n\n<li>Several threads may process multiple records in parallel<\/li>\n\n\n\n<li>All batch records will be queues and processed again for batch step 2<\/li>\n<\/ol>\n\n\n\n<p>Important: It can be that some records are still processed in step 1 and some are already taken to step 2 if threads are available in the pool<\/p>\n\n\n\n<p>What are batch step filters used for?<br>You can define an &#8220;accept Expression&#8221; if a record did not fail during the previous batch step<\/p>\n\n\n\n<p>You can configure another filter which handles previously failed records<\/p>\n\n\n\n<p>What are characteristics of BatchJobResult?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Contains a summary report about the records processed for the particular batch job<\/li>\n\n\n\n<li>Does not include any of the actual processed records or data<\/li>\n\n\n\n<li>The payload after a batch job is the original payload before entering the batch job<\/li>\n<\/ul>\n\n\n\n<p>Which API data types are supported by Mulesoft?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>JSON and XML<\/li>\n\n\n\n<li>REST API RAML data types<\/li>\n\n\n\n<li>OpenAPI OAS data types<\/li>\n<\/ul>\n\n\n\n<p>How can you convert data types from RAML to OAS?<br>using online tools: apimatic.io<\/p>\n\n\n\n<p>or its done automatically by Mulesoft. Full conversion will be available in the new release<\/p>\n\n\n\n<p>What data types are supported by DataWeave?<\/p>\n\n\n\n<p>What is important to know about Java and DataWeave?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Java is generally NOT recommended for data transformations<\/li>\n\n\n\n<li>Also other languages: Ruby, JPython, Nashoron etc is not recommenced tu use<\/li>\n<\/ul>\n\n\n\n<p>However<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>DataWeave can call out to static methods in Java<\/li>\n\n\n\n<li>Java classes can be defined in Spring context<\/li>\n\n\n\n<li>Mulesoft recommends to encapsulate custom Java transformations in classes<\/li>\n\n\n\n<li>Mulesoft promotes separation of concern hence removed the expression component<\/li>\n<\/ul>\n\n\n\n<p>How do you enrich messages with external payload?<br>In Mule 4 components have Target and targetValue.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A target saves you the step of having to store the previous event payload using a variable event processor<\/li>\n\n\n\n<li>The payload from the previous event is then left unchanged<\/li>\n\n\n\n<li>The target can also operate on event processor result<\/li>\n<\/ul>\n\n\n\n<p>What is a common data model and why should it be used?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To represent data in new applications that need to communicate with other internal applications<\/li>\n\n\n\n<li>When the process of defining a common data model does not delay implementation indefinitely<\/li>\n<\/ul>\n\n\n\n<p>In Mulesoft you would have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1 transformation on experience API to the CDM<\/li>\n\n\n\n<li>1 transformation on system API from CDM to external system<\/li>\n<\/ul>\n\n\n\n<p>What are the scopes a CDM can take place?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Just the current project<\/li>\n\n\n\n<li>To the business unit<\/li>\n\n\n\n<li>To the entire enterprise<\/li>\n<\/ul>\n\n\n\n<p>What are ways to implement data validation patterns in Mule applications?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choice routers<\/li>\n\n\n\n<li>DataWeave Code<\/li>\n\n\n\n<li>Validation Modules<\/li>\n\n\n\n<li>Catch and Handle Errors<\/li>\n<\/ul>\n\n\n\n<p>What modules provide validation operations?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Validation Module<\/li>\n\n\n\n<li>JSON validate schema<\/li>\n\n\n\n<li>XML validate schema<\/li>\n\n\n\n<li>APIKit, JSON validation, throws SOAP faults<\/li>\n\n\n\n<li>Java validate type<\/li>\n\n\n\n<li>HTTP request operation, validate response, identify success vs. failure status code<\/li>\n<\/ul>\n\n\n\n<p>How can you combine validations?<br>With the All scope<\/p>\n\n\n\n<p>How can you use the validation module without throwing an error?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Validation operations can be used directly inside DataWeave code<\/li>\n\n\n\n<li>In this case the operation just returns true or false and does not throw an errors<\/li>\n<\/ul>\n\n\n\n<p>You can use this to write choice router conditions<\/p>\n\n\n\n<p>How can you configure sequential execution in a Mule flow?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>set max concurrency of 1<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This ensures that only one flow instance is processed at any point<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>For each scope<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>splits a payload into elements and processed them one by one through the components that you place in the scope<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>For loops<\/li>\n<\/ol>\n\n\n\n<p>Whar are collections in for each?<br>Collection = What are the iterable colletions<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>By default for each tries to split the payload into iterable types<\/li>\n\n\n\n<li>If the payload is a Java collection it can be done without any configuration<\/li>\n\n\n\n<li>If the payload is non-Java you need to specify the iterable collection to use<\/li>\n<\/ul>\n\n\n\n<p>Why is parallel processing sometimes required?<br>Problem:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In a single flow processors are executed in sequence and each processor execution is dependent on the execution of preceding processor<\/li>\n\n\n\n<li>The processor that communicates with an external system might block processing of the current Mule event<\/li>\n<\/ul>\n\n\n\n<p>Which processors provide parallel processing?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scatter-Gather<\/li>\n\n\n\n<li>Async scope<\/li>\n\n\n\n<li>VM<\/li>\n\n\n\n<li>JMS<\/li>\n<\/ul>\n\n\n\n<p>What happens if a scatter-gather throws an error?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>if type: MULE:COMPOSITE_ROUTING<\/li>\n\n\n\n<li>The error contains the result of every route<\/li>\n\n\n\n<li>Event processing does not continue with the next event<\/li>\n\n\n\n<li>Instead the flows error handlers process the error as they would any other error type<\/li>\n<\/ul>\n\n\n\n<p>What is important for async scopes and what happens with errors in an async scope?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Response from the async scope is NOT accessible nor is it returned to the main flow<\/li>\n\n\n\n<li>Events are processed inside an Async scope concurrently with the event from the main flow<\/li>\n<\/ul>\n\n\n\n<p>Errors inside the async scope do not impact the main flow<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can use try scope to customize error handling<\/li>\n<\/ul>\n\n\n\n<p>Which types of testing are relevant for Mule applications?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Unit testing: unit specific, functional<\/li>\n\n\n\n<li>Integration testing: all interactions<\/li>\n\n\n\n<li>Performance testing: Scalability, Reliability, Usage, Workload<\/li>\n<\/ul>\n\n\n\n<p>What is Before Test in Munit?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can set the Mule event passed to the execution scope<\/li>\n<\/ul>\n\n\n\n<p>How can you configure that only certain tests are executed?<br>You can add tags to the Munit tests<\/p>\n\n\n\n<p>What are populate tools for blackbox integration testing?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SOAPUI<\/li>\n\n\n\n<li>Restlet Client<\/li>\n\n\n\n<li>REST-assured<\/li>\n<\/ul>\n\n\n\n<p>What tools can be used for performance testing?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>JMeter<\/li>\n\n\n\n<li>BlazeMeter<\/li>\n<\/ul>\n\n\n\n<p>What are the different deployment models that Mulesoft provides?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mulesoft-hosted runtime plane &#8211;&gt; cloud based<\/li>\n\n\n\n<li>Customer-hosted runtime plane &#8211;&gt; provisioned and managed by the customer<\/li>\n<\/ul>\n\n\n\n<p>For non mulesoft hosted environments like AWS, Azure, PCF<br>Also on-prem infrastructure, on bare-metal, virtual machines or containers like docker<\/p>\n\n\n\n<p>What are the features of a Mulesoft-hosted runtime plane?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A new virtual machine is automatically provisioned for the new Mule runtime &#8211;&gt; called Cloudhub worker<\/li>\n\n\n\n<li>A Mule application can be scaled vertically and horizontally<\/li>\n\n\n\n<li>Mulesoft provides a load balancing service<\/li>\n\n\n\n<li>Mulesoft implements a distributed object store service<\/li>\n<\/ol>\n\n\n\n<p>What is horizontal and vertical scaling?<br>Horizontal: The Mule application can be automatically deployed to multiple Cloudhub workers<\/p>\n\n\n\n<p>Vertical: A Mule application can have its worker resized to a larger or smaller vCore size<\/p>\n\n\n\n<p>What is the underlying infrastructure of Cloudhub?<br>EC2 AWS instance with a Mule runtime with a shared load balancer<\/p>\n\n\n\n<p>&#8211;&gt; CloudHub is on AWS<\/p>\n\n\n\n<p>What are Mulesoft iPaas options?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cloudhub<\/li>\n\n\n\n<li>Runtime Fabric<\/li>\n\n\n\n<li>PCF<\/li>\n<\/ul>\n\n\n\n<p>What is Runtime Fabric?<br>It is an additional software provided by Mulesoft to scale out customer-hosted Mule runtimes<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mule applications deploy to isolated Mule runtime which run in a docker container<\/li>\n\n\n\n<li>The containers can be deployed to any cloud service<\/li>\n\n\n\n<li>Provides additional services like zero-downtime redeployment and load balancing<\/li>\n<\/ul>\n\n\n\n<p>What are the differences between Anypoint control plane on Mulesoft-hosted or Private Cloud Edition?<\/p>\n\n\n\n<p>What are advantages of a Mulesoft-hosted runtime plane?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Each mule runtime is automatically installed in a separate CloudHub worker<\/li>\n\n\n\n<li>No contention for host resources<\/li>\n\n\n\n<li>Automatic upgrades\/patches<\/li>\n\n\n\n<li>Globally available<\/li>\n\n\n\n<li>Mulesoft provides security and SLA<\/li>\n\n\n\n<li>Managed by Mulesoft hosted anypoint platform control plane<\/li>\n<\/ol>\n\n\n\n<p>What could be a reason for the private cloud edition?<br>For customers with strict regulatory or compliance requirements<\/p>\n\n\n\n<p>What is the difference between Private Cloud Edition and Pivotal Cloud Foundry?<\/p>\n\n\n\n<p>PCE vs. PCF<br>Same as Anypoint platform except the runtime plane is deployed on PCF instance<\/p>\n\n\n\n<p>&#8211;&gt; Like CloudHub, one Mule application per Mule runtime<\/p>\n\n\n\n<p>How does runtime fabric works?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Runtime fabric orchestrates and automates the deployment of Mule runtimes into containers in any cloud or on premises<\/li>\n\n\n\n<li>Deploy consistently across any cloud or data center<\/li>\n\n\n\n<li>Run multiple Mule runtime versions in the same runtime fabric<\/li>\n\n\n\n<li>Isolate apps, scale horizontally, redeploy, zero downtime<\/li>\n\n\n\n<li>Connect to the control plane hosted by Mulesoft<\/li>\n\n\n\n<li>No need to dockerize Mule apps<\/li>\n<\/ul>\n\n\n\n<p>What are the main differences between CloudHub (CH), Runtime Fabric and Customer-hosted?<br>Inbound HTTP load balancing: CH, Fabric<br>No inbound HTTP load balancing: on-prem<\/p>\n\n\n\n<p>VM queues messages are load balanced for deployments to multiple CH workers: CH<\/p>\n\n\n\n<p>VM queues messages are load balanced for deployments to a cluster of Mule runtimes: Fabric, on-prem<\/p>\n\n\n\n<p>Rescale Mule runtimes with zero downtime: CH, Fabric<\/p>\n\n\n\n<p>no rescaling: customer-hosted<\/p>\n\n\n\n<p>What could be factors for deciding to a on-premis option?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Regulatory<\/li>\n\n\n\n<li>Time-to market<\/li>\n\n\n\n<li>IT operations efforts<\/li>\n\n\n\n<li>Accessing on-prem data sources<\/li>\n\n\n\n<li>Flexibility of deployment across cloud providers<\/li>\n\n\n\n<li>Isolation between Mule apps<\/li>\n\n\n\n<li>Control over Mule runtime tuning<\/li>\n\n\n\n<li>Scalability of runtime plane<\/li>\n\n\n\n<li>Roll-out new releases<\/li>\n\n\n\n<li>Redeployment with zero downtime<\/li>\n<\/ul>\n\n\n\n<p>Please provide for each use case appropriated deployment options:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Regulatory<\/li>\n\n\n\n<li>Time-to market<\/li>\n\n\n\n<li>IT operations efforts<\/li>\n\n\n\n<li>Accessing on-prem data sources<\/li>\n\n\n\n<li>Flexibility of deployment across cloud providers<\/li>\n\n\n\n<li>Isolation between Mule apps<\/li>\n\n\n\n<li>Control over Mule runtime tuning<\/li>\n\n\n\n<li>Scalability of runtime plane<\/li>\n\n\n\n<li>Roll-out new releases<\/li>\n\n\n\n<li>Redeployment with zero downtime<\/li>\n\n\n\n<li>Regulatory: PCE, PCF<\/li>\n\n\n\n<li>Time-to market: CH<\/li>\n\n\n\n<li>IT operations efforts: CH or Fabric\/PCF over PCE<\/li>\n\n\n\n<li>Accessing on-prem data sources with high throughput: Fabric, PCE, PCF<\/li>\n\n\n\n<li>Flexibility of deployment across cloud providers: Fabric, PCE<\/li>\n\n\n\n<li>Isolation between Mule apps: favours bare metal over VM or containers<\/li>\n\n\n\n<li>Control over Mule runtime tuning: Hybrid &#8211;&gt; Fabric and PCE<\/li>\n\n\n\n<li>Scalability of runtime plane: CH, favours automatically provisioning then manual<\/li>\n\n\n\n<li>Roll-out new releases: Weekly releases for CH and quarterly for PCE<\/li>\n\n\n\n<li>Redeployment with zero downtime: CH or Fabric<\/li>\n<\/ul>\n\n\n\n<p>What are use cased for saving state in a Mule application?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Between flow executions:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To remember state from previous outbound HTTP request<\/li>\n\n\n\n<li>To filter out already processed messaged (watermark)<\/li>\n\n\n\n<li>To cache unchanged data or responded to speed up response time<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Between iterations when processing a collection of elements:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Including batch processing<\/li>\n\n\n\n<li>Including iterations driven by a scheduler or cron job<\/li>\n<\/ul>\n\n\n\n<p>What is the difference between persistent and non-persistent data store?<br>Persistent: Data survives when redeploying or when server crashes or CH worker is stopped<\/p>\n\n\n\n<p>Non-persistent: Data can be reused while the application is still running but data is lost after application restarts or server crashes<\/p>\n\n\n\n<p>What are the options to store states in Mulesoft and what is the fastest?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Fastest: non-persistant<\/li>\n\n\n\n<li>persistant: latency to write data to the local file<\/li>\n\n\n\n<li>state replicate to a distributed memory data grid: added latency to replicate across network<\/li>\n\n\n\n<li>back a mule runtime cluster with persistent database storage: latency to replicate data across the network<\/li>\n<\/ol>\n\n\n\n<p>What is an object store and what is it designed for?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mulesoft object store is a key-value store implemented in Java and accsesed via Object Store connector<\/li>\n<\/ul>\n\n\n\n<p>It is designed for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Synchronization information like watermarks<\/li>\n\n\n\n<li>Temporal information like access tokens<\/li>\n\n\n\n<li>User information<\/li>\n<\/ul>\n\n\n\n<p>What does Mulesoft understand by persistence?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>persistence: storage that is copied to a disk or some externals storage or replicated across several nodes<\/li>\n\n\n\n<li>non-persistent: usually refers to data that is only stored in the JVM memory<\/li>\n<\/ul>\n\n\n\n<p>Each object store can be configured as persistent or transient (non-persisten)<\/p>\n\n\n\n<p>What does Mulesoft mean by durability and reliability for Object Store?<br>One vs. multiple CloudHub workers<br>One vs. multiple clustered customer-hosted Mule runtimes<\/p>\n\n\n\n<p>All these factors affect the overall performance and SLAs of an object store<\/p>\n\n\n\n<p>How does a Mule application implements an object store?<br>Persistent: OSv2 = Anypoint Object Store service<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cloud native implementation<\/li>\n\n\n\n<li>Data is shared between all CH workers<\/li>\n<\/ul>\n\n\n\n<p>Non-persistent: Does NOT use OSv2 service<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>object store is implemented locally in each CH worker<\/li>\n\n\n\n<li>Data is isolated within each CH worker<\/li>\n<\/ul>\n\n\n\n<p>What are the two options to configure performance of a Mule runtime cluster?<br>You can set:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>reliable or<\/li>\n\n\n\n<li>performance<\/li>\n<\/ul>\n\n\n\n<p>by default its set to reliable<\/p>\n\n\n\n<p>What are the limitations of Anypoint Object Store?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Not a universal data storage solution like S3 bucket<\/li>\n\n\n\n<li>Does not support transactions<\/li>\n\n\n\n<li>Does not replace an actual DB and not suitable for searches or queries<\/li>\n\n\n\n<li>Data is automatically removed after 30 days for OSv2<\/li>\n\n\n\n<li>Max storage per message is 10 MB<\/li>\n<\/ul>\n\n\n\n<p>Where is the data saved depending on the runtime plane type?<br>CH:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Data is saved when the Mule application is deployed to CH<\/li>\n\n\n\n<li>To shared distributed memory when the Mule app is deployed to a cluster of runtimes<\/li>\n<\/ul>\n\n\n\n<p>Customer-hosted:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Can use OSv2 REST API to store and retrieve data<\/li>\n<\/ul>\n\n\n\n<p>How can you block access to an object store from other Mule application components?<br>A private object store can be configured by a particular component to securely hide its object store data from another component in the Mule application<\/p>\n\n\n\n<p>What are the object store types that Anypoint provides?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Global object store:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>can share state between components in a mule application<\/li>\n\n\n\n<li>For OSv2 between workers of a multi-worker CH deployment<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Private object store:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When sharing data between components in the flow is deemed to be security risk<\/li>\n<\/ul>\n\n\n\n<p>What are the characteristics of VM queues used to store the state of an application?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Queues can be transient or persistent<\/li>\n\n\n\n<li>Transient queues are faster than persistent queues but less reliable<\/li>\n<\/ul>\n\n\n\n<p>On customer-hosted runtime plane:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>standalone mule runtimes persistent queues are stored to the local disk<\/li>\n\n\n\n<li>cluster of mule runtimes, persistent queues are backed by the clusters distributed data grid<\/li>\n<\/ul>\n\n\n\n<p>What are the advantages of VM persistent queues instead of another 3party messaging solution?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use persistent queues when the use case does not require<\/li>\n\n\n\n<li>More durable and reliable then JMS or DB<\/li>\n\n\n\n<li>To share between multiple applications or with non-mule applications<\/li>\n\n\n\n<li>persistent queues are not available<\/li>\n<\/ul>\n\n\n\n<p>What is the difference between JMS and VM?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>VM no publish subscribe<\/li>\n\n\n\n<li>VM not external<\/li>\n\n\n\n<li>JMS expensive<\/li>\n<\/ul>\n\n\n\n<p>Difference for persistent queues:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can not see the message in a VM queue<\/li>\n<\/ul>\n\n\n\n<p>Why should you not use file-based persistence for Mule application on CloudHub?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mule applications have only limited and ephemeral file system access<\/li>\n\n\n\n<li>EC2 disc storage is removed when CH worker from the EC2 instance is removed<\/li>\n\n\n\n<li>The file connector can only access specific folders such as \/temp or \/opt\/storage<\/li>\n<\/ul>\n\n\n\n<p>When should you use an external store to store and manage Mule application state?<br>Pros:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>May provide more exacting performance, reliability, durability<\/li>\n\n\n\n<li>May be preferred option to achieve certain high availability or failover goals<\/li>\n\n\n\n<li>Use when backup and replication is required for cache objects<\/li>\n<\/ul>\n\n\n\n<p>Cons:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Additional cost, management and staffing requirements<\/li>\n\n\n\n<li>Added layers and complexity<\/li>\n<\/ul>\n\n\n\n<p>What is a watermark?<br>A watermark is a form of state that is stored during a recurring processing cycle such as to process a collection of records<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mostly used to avoid dublicates<\/li>\n<\/ul>\n\n\n\n<p>What types of watermarks can be used?<br>Automatic:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>saving, retrieving and comparing is automatically handled through an object store<\/li>\n\n\n\n<li>Only for few connectors available:<br>on new or Update File or On Table Row<\/li>\n<\/ul>\n\n\n\n<p>Manual:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Handle saving, retrieving and comparing the watermark<\/li>\n\n\n\n<li>More flexible in that you specify exactly what records you want to retrieve<\/li>\n<\/ul>\n\n\n\n<p>How can you send logs to an external logger?<br>With an additional appender in log4j<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Supports synchronous and asynchronous logging<\/li>\n\n\n\n<li>By default logging in Mule is done asynchronously<\/li>\n<\/ul>\n\n\n\n<p>What is the difference between System and Application logs?<br>System log:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>specific to the mule runtime<\/li>\n\n\n\n<li>configured by log4j and inaccessible to customers<\/li>\n<\/ul>\n\n\n\n<p>Application log:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>specific to the mule application<\/li>\n\n\n\n<li>configured by log4j typically packaged in mule application<\/li>\n<\/ul>\n\n\n\n<p>What is the difference between synchronous and asynchronous logging and when is it used?<br>Synchronous:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Thread which is processing the message is interrupted to wait<\/li>\n\n\n\n<li>Used when log is used as an audit trail or ERROR\/CRITICAL message<\/li>\n<\/ul>\n\n\n\n<p>Asynchronous:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Logging occurs in a separate thread so the actual message is not delayed<\/li>\n\n\n\n<li>Log may be lost in case of system crash<\/li>\n<\/ul>\n\n\n\n<p>How can you trace messages in Mulesoft?<br>The correlation id is automatically logged on cloudhub and customer-hosted mule runtimes<\/p>\n\n\n\n<p>the logger component automatically logs the correlationId for DEBUG level messages<\/p>\n\n\n\n<p>What are the retention limitations in CloudHub?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Up to 100MB per Mule application and per worker<\/li>\n\n\n\n<li>At most 30 days<\/li>\n<\/ul>\n\n\n\n<p>How can you enable if you want to send CloudHub logs to external logging systems?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>With a custom log appender<\/li>\n\n\n\n<li>You need to request via the Mulesoft support portal<\/li>\n<\/ul>\n\n\n\n<p>What is another option instead of an additional appender in log4j to send data to an external system?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Custom aggregator application<\/li>\n\n\n\n<li>Lambda is taking over the CloudHub APIs the logs and send it to another system<\/li>\n<\/ul>\n\n\n\n<p>Where can you configure alerts and how can they be triggered?<br>Runtime manager<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Can be triggered by Mule application or server conditions<\/li>\n\n\n\n<li>Alerts can send notifications to email addresses<\/li>\n\n\n\n<li>Custom notifications can be generated by a Mule application<\/li>\n<\/ul>\n\n\n\n<p>What are business events and what are they used for?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mule applications can collect business events information as each Mule event transitions through a flow<\/li>\n\n\n\n<li>Business events are designed to collect KPIs and store them in an Mulesoft provided online service<\/li>\n\n\n\n<li>The process may degrade network or Mule application performance<\/li>\n<\/ul>\n\n\n\n<p>How can you enable Business Events?<br>Default business events can be enabled or disabled per flow<\/p>\n\n\n\n<p>What is a Custom Business Event?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A Custom Business Event component can generate additional business events at a particular place in a flow<\/li>\n\n\n\n<li>You can define a KPI with its related Value<\/li>\n\n\n\n<li>KPIs can be stored outside the Mule application<\/li>\n<\/ul>\n\n\n\n<p>What types of environments does Anypoint provide for deployment?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Production quality environment<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Deploy apps and APIs to publicity<br>-. When you create a new account it contains one prod environment<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Sandbox quality environment<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Env for development and testing<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Design quality environment<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enables you to test and run mule applications at design time<\/li>\n<\/ul>\n\n\n\n<p>The underlying infrastructure is different depending on the type you select<\/p>\n\n\n\n<p>Each VPC is assigned to a business group<\/p>\n\n\n\n<p>How does a best practice CI\/CD process looks like for Mule?<\/p>\n\n\n\n<p>What are the options to run applications beside manually on CloudHub?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Anypoint CLI<\/li>\n\n\n\n<li>Platform APIs<\/li>\n<\/ul>\n\n\n\n<p>With which tools can you run static code analysis?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Githook<\/li>\n\n\n\n<li>Sonarcube<\/li>\n<\/ul>\n\n\n\n<p>What are the characteristics of a business group?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Business groups provide complete isolation of resources<\/li>\n\n\n\n<li>vCores are assigned to a specific business group: Makes those vCores only available to the business group and unavailable to the parent organization<\/li>\n\n\n\n<li>Each business group has its own environment<\/li>\n\n\n\n<li>Each business group has a separate cliend id and client secret<\/li>\n\n\n\n<li>Deleting a business group is NOT recoverable as all resources get deleted<\/li>\n<\/ul>\n\n\n\n<p>What are the Maven lifecycle phases?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>compile: compile mule source code of the project<\/li>\n\n\n\n<li>test: run munit tests associated to the project<\/li>\n\n\n\n<li>package: packages the project into a mule deployable jar<\/li>\n\n\n\n<li>install: sends the distributable to a local repository ($MULE_HOME)<\/li>\n\n\n\n<li>deploy: sends the distributable to a remote repository<\/li>\n<\/ul>\n\n\n\n<p>What is a transaction?<br>Is a grouping of operations what are guaranteed to all complete or none at all<\/p>\n\n\n\n<p>What is the two phase commit protocol?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>First you check if the system is ready to commit<\/li>\n\n\n\n<li>When its ready to commit, you commit to the DB<\/li>\n<\/ol>\n\n\n\n<p>What is the XA interface?<br>If you have global transactions involving multiple separate resources such as database you need to manage it by a transaction manager.<\/p>\n\n\n\n<p>XA-Interface specifies communication between a transaction manager and a resource manager<\/p>\n\n\n\n<p>What are the alternatives if an API doesn&#8217;t support the 2phase commit?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Large distributed transactions systems: Google Spanner<\/li>\n\n\n\n<li>Eventual consistency<\/li>\n\n\n\n<li>Sagas<\/li>\n\n\n\n<li>CAP theorem: two of them can be achieved: consistency, availability, partition tolerance<\/li>\n<\/ul>\n\n\n\n<p>What are the two SAGA pattern?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Event<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Each API creates an event and send it to the next one<\/li>\n\n\n\n<li>No API is responsible for all<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Command\/Orchestration<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you have 3 APIs, one generates an event then send it to another payment API. This will receive and generate a success and send it to delivery<\/li>\n\n\n\n<li>Every event is passed from API to API<\/li>\n\n\n\n<li>In SAGA one API is responsible for everything. One Experience API is responsible for all others and if there is a failure the mein API will take the error<\/li>\n<\/ul>\n\n\n\n<p>Which transaction types are supported by Mule?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Single-resource (local) TX<\/li>\n<\/ul>\n\n\n\n<p>If you only have one database in the try scope<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Global (XA) TX<\/li>\n<\/ul>\n\n\n\n<p>If you have more then one database = distributed system<\/p>\n\n\n\n<p>What are characteristics of Transactions?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Supported connectors must be configured to use transactions<\/li>\n\n\n\n<li>All message processing done on a single thread<\/li>\n\n\n\n<li>XA transactions need XA-capable transaction manager<\/li>\n<\/ul>\n\n\n\n<p>Which connectors support transactions?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>JMS<\/li>\n\n\n\n<li>VM<\/li>\n\n\n\n<li>Database<\/li>\n<\/ul>\n\n\n\n<p>How do you begin and finish a transaction?<br>Begin a transaction:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Try scope<\/li>\n\n\n\n<li>A transactional connector acting as an event source (Database, JMS, VM)<\/li>\n<\/ul>\n\n\n\n<p>Committed automatically at the end of:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Flow<\/li>\n\n\n\n<li>Try scope<\/li>\n\n\n\n<li>On error continue scope<\/li>\n<\/ul>\n\n\n\n<p>Rollback transaction:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After a failure occurs in a transaction scope, but only if the error is not handled in an On Error Continue Scope<\/li>\n\n\n\n<li>On Error Propagate<\/li>\n\n\n\n<li>By throwing an error in a flow or in a Try scope using: raise-error<\/li>\n<\/ul>\n\n\n\n<p>Please check image and mention all transaction configurations<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Transaction between databases &#8211;&gt; Type = XA<\/li>\n\n\n\n<li>Transaction action:<\/li>\n<\/ul>\n\n\n\n<p>.Try scope: always begin<br>. Advanced properties: mysql join<br>. Advanced properties derby: join<\/p>\n\n\n\n<p>What is the default XA transaction manager in Mule applications?<br>Bitronix<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To use Bitronix declare it as a global configuration element in the Mule application<\/li>\n\n\n\n<li>Each Mule runtime can have only one instance of a Bitronix transaction maanger which is shared by all Mule applications<\/li>\n\n\n\n<li>For customer-hosted deplyoments define the XA transaction manager in a Mule domain<\/li>\n<\/ul>\n\n\n\n<p>What are the different connector options for transactional behaviour?<\/p>\n\n\n\n<p>How can reliability achieved in Mule applications?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>until successful scope<\/li>\n\n\n\n<li>reconnection strategies<\/li>\n\n\n\n<li>redelivery policy<\/li>\n\n\n\n<li>RETRY_EXHAUSTED exception scope<\/li>\n\n\n\n<li>Transactions<\/li>\n<\/ul>\n\n\n\n<p>How does until successful scope works?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It repeatedly triggers the scope components (including flow references) until they all succeed or until a maximum number of retries is exceeded<\/li>\n\n\n\n<li>The scope provides option to control the max number of retries and the interval between retries<\/li>\n<\/ul>\n\n\n\n<p>How do you configure a reconnection strategy?<\/p>\n\n\n\n<p>How do you configure a redelivery policy?<\/p>\n\n\n\n<p>How can you use RETRY_EXHAUSTED?<br>The connector raises an exception and published the message to the DLQ<\/p>\n\n\n\n<p>How can you achieve reliability for non-transactional systems?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Zero message for non-transactional systems is achieved using reliability pattern<\/li>\n\n\n\n<li>Splits processing between an acquisition flow and a processing flow<\/li>\n\n\n\n<li>The flows do not call each other directly but use persisted queues<\/li>\n<\/ul>\n\n\n\n<p>Describe the reliability pattern for non-transactional systems?<br>The reliability pattern consists of two flows:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Acquisition flow:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Receives incoming messages then dispatches them to the persisted queue<\/li>\n\n\n\n<li>In case of failure until redelivery is exhausted the message is dispatched to a DLQ<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The processing flow<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Process messages from the processing queue then dispatches them to another persisted queue<\/li>\n<\/ul>\n\n\n\n<p>What are HA and DR goals?<br>HA = High availability<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to keep the overall system operational when a system component fails<\/li>\n<\/ul>\n\n\n\n<p>DR = Disaster recovery<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How to restore a system to a previous acceptable state after a natural or man-made disaster<\/li>\n<\/ul>\n\n\n\n<p>How can HA be achieved?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Horizontally scaling to multiple mule runtimes<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Process on multiple concurrent physical machines\/VMs\/dockers<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Load balancing and clustering:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Clustering uses an active-active model of node<\/li>\n\n\n\n<li>Load distributes across the actives nodes<\/li>\n<\/ul>\n\n\n\n<p>What is a cluster?<br>A cluster is a set of Mule runtime engines that acts as a unit.<\/p>\n\n\n\n<p>A cluster is a virtual server composed of multiple nodes (Mule runtime engines)<\/p>\n\n\n\n<p>The nodes in a cluster communicate and share information through a distributed shared memory grid. This means that the data is replicated across memory in different machines<\/p>\n\n\n\n<p>On which runtime planes is clustering available?<br>It is not available on CloudHub. You can use Fabric in order do share or double scale your application and provide high availability<\/p>\n\n\n\n<p>What are the benefits of clustering?<br>HA: Clustering guarantees HA. If a Mule runtime engine becomes unavailable due to failure or downtime, another node in the cluster can take the workload.<\/p>\n\n\n\n<p>Performance: Clustering also improves performance since the nodes are processing parallel the messages.<\/p>\n\n\n\n<p>Other benefits:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Automatic load balancing<\/li>\n\n\n\n<li>You can set up alerts when a node goes down<\/li>\n<\/ul>\n\n\n\n<p>What does unclustered load balancing for HA and performance means? (only available for customer-hosted runtime planes)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Multiple Mule runtimes are configured to run the same application<\/li>\n\n\n\n<li>They DON&#8217;T share or synchronise data between Mule runtimes &#8211;&gt; in clustering communication is shared over the shared memory grid<br>(you can use a shared database)<\/li>\n\n\n\n<li>Messages must be distributed or load balanced with a third party product<\/li>\n<\/ul>\n\n\n\n<p>How can you achieve HA on CloudHub?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Using multiple CloudHub workers &#8211;&gt; more then 1<\/li>\n\n\n\n<li>Workers do not share any memory<\/li>\n\n\n\n<li>Workers can use an external system for state management<\/li>\n\n\n\n<li>Each worker is created in a different availability zone in the same AWS region<\/li>\n\n\n\n<li>Mule application can share and store data between workers with OSv2<\/li>\n<\/ul>\n\n\n\n<p>What are the two ways how nodes (runtimes) can join a cluster in customer-hosted runtime plane?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Unicast: Cluster uses IP address for identifying server<\/li>\n\n\n\n<li>Multicast: cluster group servers automatically detect each other<\/li>\n<\/ul>\n\n\n\n<p>How do you share memory in a cluster?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Distributed Shared Memory Grid:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hazelcast is used to create a distributed shared memory data grid<\/li>\n\n\n\n<li>Data is automatically replicated and available between the clusters nodes<\/li>\n\n\n\n<li>This allows data to survive if a node crashes or otherwise leaves the cluster<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Components:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Components that use a cluster shared memory include: VM queues, Object Stores<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connectors:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Most connectors are not cluster-aware:<\/li>\n\n\n\n<li>All connectors that use object store are cluster-aware<\/li>\n\n\n\n<li>Cache scope, Idempotent message, Round robin<\/li>\n<\/ul>\n\n\n\n<p>How does Round Robin stores the previous stage?<br>With an Object Store<\/p>\n\n\n\n<p>What are the differences between Clustering and Load Balancing in a customer-hosted runtime plane?<br>Pro Clustering:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Shared, distributed memory<\/li>\n\n\n\n<li>Ideal for HA scenarios<\/li>\n\n\n\n<li>Build-in load balancing for VM queues<\/li>\n\n\n\n<li>Built into Mule<\/li>\n<\/ul>\n\n\n\n<p>Pro LB:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Easy to set up<\/li>\n\n\n\n<li>No performance overhead due to data replication<\/li>\n\n\n\n<li>Configurable load balancing<\/li>\n<\/ul>\n\n\n\n<p>Cons Clustering:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Performance overhead due to data replication<\/li>\n\n\n\n<li>Not supported by CloudHub<\/li>\n\n\n\n<li>Required 3party product for HTTP load balancing<\/li>\n<\/ul>\n\n\n\n<p>Cons LB:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Required 3party product<\/li>\n\n\n\n<li>No data synchronisation<\/li>\n\n\n\n<li>Manage idempotency<\/li>\n<\/ul>\n\n\n\n<p>What do you choose if you want to have HA and performant processing. Clustering or would you rather go for LB?<br>In this case Load Balancing because due to the shared memory of clustering you need to replicate data and you have more overhead which is constraining performance<\/p>\n\n\n\n<p>What is Anypoint MQ?<br>Publish Subscribe Service<\/p>\n\n\n\n<p>What is the difference between VM queue standalone Mule runtime or clustering when it comes to load balancing?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>VM queue standalone &#8211;&gt; NOT load balanced<\/li>\n<\/ul>\n\n\n\n<p>. Every standalone Mule runtime node will execute flow instances independently<br>. The processing happens on a single node<br>. No distributed processing<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>VM queue clustered &#8211;&gt; load balanced<\/li>\n<\/ul>\n\n\n\n<p>How can you identify performance bottlenecks?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Monitoring tools: anypoint dashboards, Jconsol, VisualVM, AppDynamics etc.<\/li>\n<\/ul>\n\n\n\n<p>Why is application profiling performed?<br>Due to:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Memory issue<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Detect memory leaks or excessive load situations<\/li>\n\n\n\n<li>Java heap memory dump can help to analyze these types of issues<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Application unresponsiveness<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Detect blocked threads, long-running threads, waiting threads<\/li>\n\n\n\n<li>Thread dumps can help analyze the issue<\/li>\n<\/ul>\n\n\n\n<p>What are tools to monitor traffic and KPIs?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Anypoint Monitoring<\/li>\n\n\n\n<li>New Relic<\/li>\n\n\n\n<li>Splunk and ELK<\/li>\n\n\n\n<li>Zipkin or Jaeger<\/li>\n\n\n\n<li>Nagios<\/li>\n<\/ul>\n\n\n\n<p>What are the scaling options you can apply on Mule runtime and Mule application?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Vertical scaling<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scale up &#8211;&gt; More vCore size on CH<\/li>\n\n\n\n<li>More Resources &#8211;&gt; CPU, RAM on each machine<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Horizontal scaling<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scale out<\/li>\n\n\n\n<li>Process on multiple machines<\/li>\n\n\n\n<li>Load balancing or\/and clustering<\/li>\n<\/ul>\n\n\n\n<p>How can you cluster for performance?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can configure an Application or Runtime for high performance which is by default disabled<\/li>\n\n\n\n<li>Mule Runtime:<br>Setting the storeprofile value in the mule-cluster.properties or wrapper.conf file: mule.cluster.storeprofile=performance<\/li>\n\n\n\n<li>Mule Application:<br>You can also override per Mule Application in a configuration global element (screenshot)<\/li>\n<\/ul>\n\n\n\n<p>What are the effects of setting the performance profile?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Disables distributed VM queues, using local VM queues instead to prevent distribution in the shared data grid<\/li>\n\n\n\n<li>Implements node local in-memory object stores instead of shared memory grid architecture to avoid replication<\/li>\n<\/ol>\n\n\n\n<p>Its not true that application always perform better in a cluster!<\/p>\n\n\n\n<p>How does a Mule application deploys to multiple CloudHub workers?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CH automatically distributes multiple workers for the same Mule application across two or more zones<\/li>\n\n\n\n<li>The HTTP load balancing distributes requests across all CH workers in an round-robin manner<\/li>\n\n\n\n<li>A Mule app can scale out to max 8 workers or 16vCores<\/li>\n<\/ul>\n\n\n\n<p>How can you enable autoscaling on Cloudhub and how is it configured?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Runtime manager provides an autoscaling feature<\/li>\n\n\n\n<li>You have to ask Mulesoft to enable this feature<\/li>\n\n\n\n<li>Allows you to scale to CPU or Memory usage threshold is exceeded<\/li>\n\n\n\n<li>You can decide between:<br>. Increase vCore size &#8211; vertical<br>. Increase number of Mule runtimes &#8211; horizontal<\/li>\n<\/ul>\n\n\n\n<p>Each autoscaling policy is triggered every 30min<\/p>\n\n\n\n<p>What is the difference between a worker and vCore?<br>Applications on CloudHub run by one or more instances of Mule, called workers.<\/p>\n\n\n\n<p>Each worker is a dedicated instance of Mule and can different memory capacity or processing power depending on the configuration.<\/p>\n\n\n\n<p>You can scale workers vertically:<\/p>\n\n\n\n<p>What are some configuration for designing a performant application? 10 topics<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Synchronously<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Better for performance because the throughput is less and small payloads<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Asynchronously<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For high throughput and large payload<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Batch<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Processes messages in batches (depending on the max batch size of external system &#8211; 200 messages)<\/li>\n\n\n\n<li>High throughput<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Scheduler<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scheduler runs periodically for new data<\/li>\n\n\n\n<li>Useful for batch processing: use short interval to keep source and target in sync<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Messaging queues<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Decouple of data producers from consumers<\/li>\n\n\n\n<li>Useful for real time data integration<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Streaming<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Data can be read multiple times or accessed randomly<\/li>\n\n\n\n<li>Data can be sent to multiple places without need to cache data in memory first<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Transformation<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Avoid unnecessary conversions to Java<\/li>\n\n\n\n<li>Let Mule handle streaming for you<\/li>\n\n\n\n<li>Do not convert binary data types to Strings<\/li>\n\n\n\n<li>DataWeave memory bugger of 1572864 bytes, if you exceed hard disk is used as buffer<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Scatter-Gather<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Parallel execution<\/li>\n\n\n\n<li>Max concurrency sets concurrency for parallel execution of scope<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Loggin<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Async logging rather then sync<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Network latency<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Compress large payload (gzip)<\/li>\n\n\n\n<li>Can use compression module<\/li>\n\n\n\n<li>Caching responses<\/li>\n<\/ul>\n\n\n\n<p>What is the default buffer size of DataWeave and what happens when you exceed it?<br>1.5 MB<\/p>\n\n\n\n<p>It will use your system hard disk as buffer<\/p>\n\n\n\n<p>What are some performance tuning considerations you need to think of?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>HTTP or HTTPS connector<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Always use HTTPS because the latency is not much worse<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>JMC connector<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>caching is on by default<\/li>\n\n\n\n<li>Use sessionCacheSize to adjust size of JMS cached session<\/li>\n\n\n\n<li>Disable JMS message persistent at JMS<\/li>\n\n\n\n<li>Configure numberOfConsumers on JMS listener for high trough-put<\/li>\n\n\n\n<li>Configure ACK mode to meet your SLA<\/li>\n\n\n\n<li>Avoid durable subscriber and message filtering<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Database connector<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Caching on by default<\/li>\n\n\n\n<li>Use bulk operations based on DB connector for batch processing<\/li>\n\n\n\n<li>Enable streaming to start processing large results set<\/li>\n\n\n\n<li>Max row and fetch size:<br>Example:<br>max rows = 1000<br>fetch size = 200 limits the response to max 1000 rows. in that it would require 5 separate network round trips<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>VM connector<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use for HA<\/li>\n\n\n\n<li>Prefere flow reference within the same Mule app instead of VM endpoints<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Batch jobs<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Default block size 100<\/li>\n\n\n\n<li>Max concurrency sets concurrency for batch jobs (default is twice the available cores in CPU)<\/li>\n\n\n\n<li>Run comparative batch sizes to find optimum concurrency for the use cases<\/li>\n\n\n\n<li>Use fixed site batch aggregator to do bulk operation for supported connectors<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Streaming batch aggregator:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Receives all records in the job instance without running out of memory<\/li>\n\n\n\n<li>SaaS provider often have restrictions on accepting streaming input<\/li>\n<\/ul>\n\n\n\n<p>How can you tune performance on Mule customer-hosted plane?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>JVM standard properties:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>can be set in mule runtime weapper.config<\/li>\n\n\n\n<li>Set initial and max heap size<\/li>\n\n\n\n<li>Set NewRatio of the old and young generation heaps<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>You can use parallel GC = Garbage Collecting<\/li>\n<\/ol>\n\n\n\n<p>What is heap memory and what are garbage collectors?<br>On customer-hosted plane:<\/p>\n\n\n\n<p>Garbage collectors are used to move java objects from young generation heap to old generation heap<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Java objects reside in heap memory<\/li>\n\n\n\n<li>New objects are created in young generation heap memory<\/li>\n\n\n\n<li>Garbage collectors move objects to old generation heap memory<\/li>\n<\/ul>\n\n\n\n<p>What are the performance tuning parameters for flows and components?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Flow: max concurrency<\/li>\n\n\n\n<li>Batch Job: Max concurrency, Batch block size<\/li>\n\n\n\n<li>Batch aggregator: Streaming, Aggregator size<\/li>\n\n\n\n<li>Scatter-Gather: Max concurrency<\/li>\n\n\n\n<li>HTTP connector: use persistent connections<\/li>\n\n\n\n<li>JMS connector: session cache size, cache consumer, cache producers, max redelivery<\/li>\n\n\n\n<li>DB connector: Max pool size, min pool size, prepare statement cache size, transaction isolation<\/li>\n\n\n\n<li>DB operation: Streaming, timeout, max rows, fetch size<\/li>\n<\/ul>\n\n\n\n<p>Who is the owner of an organisation?<br>The person who creates it<\/p>\n\n\n\n<p>What can you configure on high-level with the access control of Anypoint?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Organization: Created by the owner:<\/li>\n\n\n\n<li>Business Groups:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Business groups has its client id and client secret<\/li>\n\n\n\n<li>provides isolation of resources<\/li>\n\n\n\n<li>vCores are assigned to business groups<\/li>\n\n\n\n<li>vCores are only available for the BG and not to the parent organization<\/li>\n\n\n\n<li>Each BG have its own environments<\/li>\n\n\n\n<li>Deletion of a BG is not recoverable<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Child Business Groups:<\/li>\n\n\n\n<li>Roles<\/li>\n\n\n\n<li>Environments<\/li>\n\n\n\n<li>Users<\/li>\n<\/ol>\n\n\n\n<p>Can you use external identity management server for Anypoint?<br>Yes, OpenID, SAML2.0<\/p>\n\n\n\n<p>You can also apply oAuth2.0 policy to authenticate client applications<\/p>\n\n\n\n<p>What secure communication protocols are supported by Mulesoft?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Symmetric and Asymmetric cryprography standards<\/li>\n\n\n\n<li>Digital certifications<\/li>\n<\/ul>\n\n\n\n<p>Protocols:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTTPS<\/li>\n\n\n\n<li>TLS<\/li>\n\n\n\n<li>SFTP<\/li>\n\n\n\n<li>FTPS<\/li>\n\n\n\n<li>SMTP<\/li>\n\n\n\n<li>IPSec<\/li>\n<\/ul>\n\n\n\n<p>What is the difference in configuring Managing type in API Manager between:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Basic Endpoint<\/li>\n\n\n\n<li>Endpoint with Proxy<br>Basic Endpoint:<\/li>\n\n\n\n<li>Policies are downloaded to the application.<\/li>\n\n\n\n<li>You apply the policies in the runtime itself<\/li>\n\n\n\n<li>The policy is downloaded to \/policies folder<\/li>\n\n\n\n<li>API autodiscovery must be enabled to apply the policy<\/li>\n<\/ul>\n\n\n\n<p>Endpoint with proxy: Proxy is applying the policy<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you are exposing non-mule applications<\/li>\n\n\n\n<li>You have additional licenses<\/li>\n<\/ul>\n\n\n\n<p>Can you apply additional policies on top of the Anypoint API policies?<br>Yes with Anypoint Security.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Its an additional product you need to buy<\/li>\n\n\n\n<li>It offers you other types of policies that can be enforced at the edges of your network for multiple Mule Apps<\/li>\n<\/ul>\n\n\n\n<p>How is edge security used by Mule applications?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Anypoint Security Edge is an enterprise solution for edge level security of APIs<\/li>\n\n\n\n<li>It is a standalone product deployed outside Mule runtime<\/li>\n\n\n\n<li>Its typically deployed in DMZ in a customer-hosted runtime plane<\/li>\n<\/ul>\n\n\n\n<p>When is it applied?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To inbound request after they are sent from a calling API client before they arrive at the Mule application API endpoints (so before policies of API manager are applied)<\/li>\n\n\n\n<li>To outbound responses back to the API client after leaving the Mule application API endpoint after API manager policies are applied<\/li>\n<\/ul>\n\n\n\n<p>Are Anypoint Security policies available for CloudHub runtime planes?<br>No, but for Fabric<\/p>\n\n\n\n<p>What is the difference between Edge policies and API policies?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Policies are applied in the Edge gateway or in the API Implementation \/ API proxy app<\/li>\n\n\n\n<li>Edge policies apply to many API instances, API policies apply to exactly ONE API instance<\/li>\n\n\n\n<li>Different policies are available<\/li>\n<\/ul>\n\n\n\n<p>Where is Anypoint Security and Tokenization usually deployed?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Edge usually in a DMZ in a customer-hosted environment<\/li>\n\n\n\n<li>Token usually inside the firewall to replace sensitive data with face data<\/li>\n<\/ul>\n\n\n\n<p>What is Tokenization?<br>It replaces sensitive data with fake data in the same format<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Credit card numbers, social security numbers, phone numbers etc.<\/li>\n<\/ul>\n\n\n\n<p>What are the three main features of Edge security?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>CAP: Content Security<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Prevents malicious content from reaching a service during runtime execution<\/li>\n\n\n\n<li>Pattern Scans<\/li>\n\n\n\n<li>SQL injections<\/li>\n\n\n\n<li>Limit message size<\/li>\n\n\n\n<li>Limit number of file attachments<\/li>\n\n\n\n<li>Service will generate a CAP violation if the request matches any of the above criteria<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>QoS: Quality of Service<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Request data rate<\/li>\n\n\n\n<li>Raw request data rate<\/li>\n\n\n\n<li>Response data rate<\/li>\n\n\n\n<li>Failed response rate<\/li>\n\n\n\n<li>Message buffer utilization<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>DoS: Denial of Service<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Alerts<\/li>\n\n\n\n<li>Block-intervals: rejects messages<\/li>\n\n\n\n<li>Block-forever: Permanently block messages<\/li>\n\n\n\n<li>Shape-interval: Restricts the rate<\/li>\n\n\n\n<li>Shape-forever: Restricts the rate forever<\/li>\n<\/ul>\n\n\n\n<p>How does a symmetric key works?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>One key is used to both encrypt and decrypt the information<\/li>\n\n\n\n<li>How can you securely exchange a symmetric key over a public network?<\/li>\n<\/ul>\n\n\n\n<p>How does an asymmetric key works?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Public key can be freely distributed since its only used to lock the data<\/li>\n\n\n\n<li>The private key is used to decrypt the data<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Alice to Bob: Hello lets set up a SSL session<\/li>\n\n\n\n<li>Bob to Alice: Here is my Certification<\/li>\n\n\n\n<li>Alice to Bob: Here is the one time encryption key for the session<\/li>\n\n\n\n<li>Bob decrypts session using the private key and established the secure session<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The certification must be valid<\/li>\n\n\n\n<li>Certification must be signed by someone<\/li>\n<\/ul>\n\n\n\n<p>What is the difference between:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Tokenization<\/li>\n\n\n\n<li>Encryption<\/li>\n\n\n\n<li>Data Masking<\/li>\n\n\n\n<li>Token: Data to random String, You can not derive the original data from the token<\/li>\n\n\n\n<li>Encryption: You can decrypt it again<\/li>\n\n\n\n<li>Data Masking: One way process, you can not get the original value back<\/li>\n<\/ul>\n\n\n\n<p>How can you secure application properties?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a Secure Properties Config<br>(It supports YAML configuration and Java properties)<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The encryption can be given when starting runtime<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Encrypted value is defined in ![value] in quotes<\/li>\n\n\n\n<li>You can access it in the properties: ${secure::db.port}<\/li>\n<\/ol>\n\n\n\n<p>How can you hide secure properties on cloudhub runtime manager?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add it to the mule-artifact.json<\/li>\n\n\n\n<li>The secure properties on cloudhub will be <strong><em>*<\/em><\/strong><\/li>\n<\/ul>\n\n\n\n<p>How can you secure data in Mule applications?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Mule cryptography module supports Java Cryptographic architecture:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>symmetric and asymmetric encrypting\/decrypting<\/li>\n\n\n\n<li>Signing and signature validation of a payload or part of a payload<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>DataWeave also has a Crypto module for hashing payload:<\/li>\n<\/ol>\n\n\n\n<p>How does Crypto Module works?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Java Keytool generate keystore file<\/li>\n\n\n\n<li>Mule Crypto processor use JCE configuration with generated key store file<\/li>\n<\/ol>\n\n\n\n<p>What is contained in a public certificate?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Public key<\/li>\n\n\n\n<li>Organization details<\/li>\n\n\n\n<li>The certificate issuer<\/li>\n\n\n\n<li>A certificate is typically signed by a trusted certificate authority = CA or can be self signed using the Java Keytool<\/li>\n<\/ul>\n\n\n\n<p>What is a Java keystore and a truststore?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Keystore stores public certificates plus corresponding private keys<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Java keytool can be used to create keystores for Mule applications or Anypoint Platform<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Truststore stores public certificates for other parties and maybe also the signing of CAs<\/li>\n<\/ol>\n\n\n\n<p>How do you configure one-way TLS for HTTPS?<\/p>\n\n\n\n<p>How do you configure a two-way TLS for HTTPS?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Client sends identity: public certificate containing public key<\/li>\n\n\n\n<li>Client has its own keystore for the private key<\/li>\n\n\n\n<li>Server has its own truststore to validate the clients certificate<\/li>\n<\/ol>\n\n\n\n<p>How can you externalize a Mule runtimes certificate?<br>On customer-hosted Mule runtime:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can externalize to a folder outside the Mule_HOME location<\/li>\n<\/ul>\n\n\n\n<p>You can also use external Secret Manager (Jenkins etc)<\/p>\n\n\n\n<p>What is a Virtual Private Cloud = VPC?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Anypoint can create a private isolated network in the cloud to host CloudHub workers<\/li>\n\n\n\n<li>Mule applications deployed to the VPC can communicate with each other using VPCs private network addresses<\/li>\n<\/ul>\n\n\n\n<p>Where can you set a VPC with a DLBs?<br>VPC can remain completely isolated from external networks:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Usually a VPC uses one or more dedicated load balancers to route traffic with external public and private networks<\/li>\n\n\n\n<li>A DLB can handle Mule event payloads up to 200MB<\/li>\n<\/ul>\n\n\n\n<p>How can you connect VPCs?<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Configure customized firewall rules for Mule applications deployed into the VPC:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open ports beside 80, 8081, 8082<\/li>\n\n\n\n<li>Block direct connections to CloudHub workers over port 8081 or 8082<\/li>\n\n\n\n<li>Allow or restrict any other TCP or UDP ports<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect a VPC to a corporate intranet<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On-Prem or Clouds<\/li>\n\n\n\n<li>Via VPM connection to a private network<\/li>\n<\/ul>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Connect your VPC to another AWS VPC using VPC Peering<\/li>\n<\/ol>\n\n\n\n<p>How can you hide DLB hostnames?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A DLB DNS entries are A records and are maintained by Mulesoft<\/li>\n\n\n\n<li>Customers can define their own domain names as CNAMEs in their own DNS server<\/li>\n<\/ul>\n\n\n\n<p>What is important about the VPC sizing?<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mule applications are deployed in CloudHub workers and each worker is assigned with a dedicated IP<\/li>\n\n\n\n<li>For zero downtime deployment each worker in CloudHub needs additional IP addresses<\/li>\n\n\n\n<li>A few IPs in a VPC are reserved for infrastructure<\/li>\n\n\n\n<li>The IP addresses are usually in a private range with a subnet block specifier such as 10.0.0.1\/24<\/li>\n<\/ul>\n\n\n\n<p>What is the smallest and largest CIDR network subnet block you can assign for your VPC?<br>CIDR = Classless interdomain routing<\/p>\n\n\n\n<p>smallest: \/24 = 256 IP addresses<\/p>\n\n\n\n<p>largest: \/16 = I 65536 IP addresses<\/p>\n\n\n\n<p>If you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>4 different environments: Dev, staging, performance and production<\/li>\n\n\n\n<li>50 application deployed in each environment<\/li>\n\n\n\n<li>Two separate VPCs for production and non-production environments<\/li>\n\n\n\n<li>In performance and production environment each Mule application will be deployed to two workers<\/li>\n<\/ul>\n\n\n\n<p>What is the minimum CIDR network subnet for each of the VPCs? (non-prod and prod)<br>IP addresses<\/p>\n\n\n\n<p>50 dev<br>50 staging<\/p>\n\n\n\n<p>50 + 50 performance &#8211;&gt; due to 2 workers per application<\/p>\n\n\n\n<p>50 + 50 prod &#8211;&gt; due to 2 workers per application<\/p>\n\n\n\n<p>300 IPs + zero downtime 50% (150) = 450<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/23 = 510 IPs so you select \/23<\/li>\n<\/ul>\n\n\n\n<p>Remember you can configure a VPC with any CIDR subnet between \/24 and \/16 without any additional costs<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You should plan for worst case growth<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>MuleSoft Certified Integration Architect Exam (Latest 2024\/ 2025 Update) Questions and Verified Answers |100% Correct| Grade A MuleSoft Certified Integration ArchitectExam (Latest 2024\/ 2025 Update) Questionsand Verified Answers |100% Correct| GradeAQ: What are typical types of documentation in an integration solution architecture?Answer: Q: What documentation is also required beside 4+1 view?Answer:Maintenance, operations and security documentationQ: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[25],"tags":[],"class_list":["post-131918","post","type-post","status-publish","format-standard","hentry","category-exams-certification"],"_links":{"self":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts\/131918","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/comments?post=131918"}],"version-history":[{"count":0,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/posts\/131918\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/media?parent=131918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/categories?post=131918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.learnexams.com\/blog\/wp-json\/wp\/v2\/tags?post=131918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}