Browse all practice questions for the MuleSoft Developer 2 Certification Practice Exam. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

MuleSoft Developer 2 Certification Practice Exam course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • Can you configure custom API policies to execute before automated policies?
  • Which tool uses RAML to design, document, and version APIs in Anypoint Platform?
  • How do you configure TLS and certificates in Mule 4?
  • In the standard Maven lifecycle, which phase directly follows packaging?
  • Which packaging type indicates a MuleSoft policy Maven project?
  • Which of the following represents the full set of security schemes supported by the HTTP Connector?
  • Which set of widgets is available for custom dashboards in Anypoint Monitoring?
  • What is the purpose of the Maven plugin in Mule projects?
  • Which of the following is an example of a processor in Mule flows?
  • Which statement is true about Anypoint Monitoring dashboards?
  • Which log4j level is the least verbose and disables logging when set?
  • What does the Package Maven phase do?
  • Which statement best explains the relationship between a Global Element and a flow in Mule?
  • What does the Deploy Maven phase do?
  • What is a RAML parameter and how is it used?
  • How many retries are performed by default for GET and DELETE methods when a Remotely Closed error occurs in the HTTP Requester?
  • When creating a shared library, what should the common logic application's pom.xml Maven configuration classifier be?
  • Can clear-text and encrypted properties be defined in the same properties file?
  • Which statement best describes internal versus external messaging destinations in Mule?
  • Which messaging destinations are accessible externally from a Mule app?
  • Anypoint MQ circuit breaker closed state begins in which condition?
  • How do you manage configuration for multiple environments in Anypoint Platform?
  • To prevent version drift for a transitive dependency across Mule projects, where should you centralize dependency versions?
  • What regulates API request traffic by limiting the number of messages processed by an API and ensures that the number of messages processed within a specified time, regardless of client, does not exceed the configured limit?
  • How do you use MUnit to test a connector integration?
  • What is the significance of the <http-policy:execute-next/> element in a policy's xml?
  • If a Scatter-Gather route times out, which error is raised?
  • What are notable differences between DataWeave 2.0 and DataWeave 1.0?
  • How does the Choice router work in a Mule flow?
  • Scenario: A request is received, and crosses other policies before reaching the HTTP Caching policy. It is a cache hit scenario. The HTTP Caching policy searches for the key in the object store and finds that the response to a request is already cached as a stored entry. Does the request proceed any further in the policy chain?
  • What happens when an Anypoint MQ circuit breaker is in the open state?
  • How do you support 2-way TLS in a Mule app listener?
  • What is the correct way to send a custom correlation ID from the client to multiple Mule applications via HTTP?
  • How do you manage property files in a Mule application?
  • Which items must be configured to use Anypoint MQ queues?
  • Which statement best describes the difference between a Flow and a Sub-flow in Mule 4?
  • Under the default Mule configuration, which log level is enabled?
  • What is the difference between asynchronous and synchronous loggers?
  • How do you handle binary data in DataWeave?
  • Policies consist of what two components?
  • Which capability is provided by API Portal that supports consumer developers but is not primarily a design-time feature?
  • In DataWeave 2.0, what does the header line %dw 2.0 specify?
  • To enable API Autodiscovery in a deployed Mule application, which configuration steps are required?
  • A Mule application is configured to dynamically accept the package name it needs to log, as well as the package's level, during startup. What are the two required steps?
  • Which Mule component is best suited for sharing a common error handler across multiple Mule projects?
  • Explain the use of the For Each scope in Mule 4.
  • In API Autodiscovery, what is the practical effect of linking the API ID to its runtime implementation?
  • To enable TLS for a SOAP web service in Mule, which configuration step is required?
  • A common error handler needs to be reused across multiple Mule projects. Which component is best suited for this task?
  • What are transactions in Mule flows and how do you propagate them?
  • In OAuth Authorization Code Grant Type Flow, what must occur before the AUTH CODE is issued?
  • What is the purpose of the server configuration element of the cloudhubDeployment config in the Mule Maven plugin?
  • What are the two main phases of the OAuth 2.0 Authorization Code Grant Type flow?
  • In the context of HTTP caching, which statement describes how a cached response is retrieved?
  • Are Mule's default loggers asynchronous or synchronous?
  • Which Object Store configuration provides isolation within a Cache scope so that data is not accessible by other connectors in the same application?
  • What is the difference between the HTTP Listener and HTTP Request connectors?
  • Which directory is used for resource filtering when filtering is enabled?
  • What is the purpose of APIkit Router?
  • What is REST Connect primarily used for?
  • What does the Test Maven phase do?
  • What are the two layers of the Mule Runtime Engine?
  • Which statement about Batch Processing in Mule 4 is true?
  • What is the main difference between Anypoint Object Store V2/CloudHub Object Store V1 and Mule Object Store?
  • In Mule 4, what is a Batch Job used for?
  • RAML is typically used for which aspect of MuleSoft API design?
  • At minimum, what is required in the client-side keystore to enable mTLS?
  • A developer has created a custom policy with version "1.0.0-SNAPSHOT". The developer attempts to publish the policy to Exchange using the Exchange Maven Facade API version 3 and then apply the policy in API Manager. What will happen?
  • What is a Connector in MuleSoft and give an example of usage?
  • Which statement best describes how RAML design and publication flow works in Anypoint Platform?
  • Where do you configure resource filtering for main/resources?
  • What is RAML used for in API design in Anypoint Platform?
  • Do projects automatically inherit every module listed under dependencies in the parent POM file?
  • What elements does a digital certificate have?
  • What function decrypts a secure property within a Mule app? Use the example of the tls.keystore.keyPassword property.
  • How do you monitor Mule applications with Anypoint Monitoring?
  • What is the difference between VM transient queues and persistent queues?
  • In the OAuth Authorization Code Grant Type Flow, how does the client get AUTH CODE?
  • Which artifact centralizes version management for plugins and dependencies across modules?
  • How do you represent a null value in DataWeave?
  • What is the difference between Mule runtime versions and Mule app packaging?
  • Explain the difference between On Error Propagate and On Error Continue.
  • What is the effect of http-policy:execute-next on subsequent operations?
  • How do you implement pagination in REST API calls within Mule?
  • Are logging messages of level DEBUG or TRACE logged in a Mule app with the default configuration?
  • How is the encrypted portion of a secure property represented in YAML-style syntax?
  • What is the purpose of the Cache scope in Mule flows?
  • If a TLS context has a keystore but no truststore, what TLS mode is active?
  • If a Scatter-Gather route fails, which error is raised?
  • Which command converts a JKS keystore to PKCS12?
  • What does the Compile Maven phase do?
  • What does the Validate Maven phase do?
  • Which of the following is cited as an example of a source not provided by the Mule XML SDK?
  • What does the Verify Maven phase do?
  • Which operation does DataWeave perform regarding paginated responses in Mule flows?
  • Which snippet correctly represents the JSON schema validation invocation?
  • Which of the following is not a typical element of a digital certificate?
  • Which Maven version string represents a SNAPSHOT version?
  • Which file defines the policy artifact descriptor in a MuleSoft policy project?
  • What is a Sub-flow in Mule 4 used for?
  • How do you deploy a Mule application to CloudHub?
  • What is the correct order of Maven phases from first to last?
  • Which option represents a valid HTTP Connector security mode that forwards authentication to the upstream API?
  • Do projects automatically inherit every module listed under dependencyManagement in the BOM parent POM file?
  • Where should plugin and dependency versions be configured for a MuleSoft project?
  • What does the Install Maven phase do?
  • What is the Mule Debugger and how is it used?
  • Is Maven's settings.xml file project-specific?
  • During development, what should the developer do to view the request and response traffic to and from the SOAP service when using the Web Service Consumer module's Consume operation?
  • What are common patterns for API versioning in MuleSoft?
  • Policies consist of what two files?
  • In Mule 4, what is the key difference between Set Variable and Set Property?
  • Which statement accurately describes implementing OAuth 2.0 in MuleSoft?
  • In the OAuth Authorization Code Grant Type Flow, how does the client get ACCESS_TOKEN?
  • What distinguishes two-way TLS from one-way TLS on a Mule HTTPS listener?
  • What does a liveness health check endpoint do?
  • A custom logger Mule XML SDK module is being developed to log the current payload in a particular format. Which code syntax is required to automatically accept the payload as a parameter to an XML SDK operation?
  • In mTLS, what additional validation occurs that is not in standard TLS?
  • When creating a shared library, what should the common logic application's pom.xml packaging type be?
  • What is DataWeave used for in MuleSoft and what are its primary outputs?
  • Which statement about CloudHub's handling of log4j2 configuration for a project is accurate?
  • Which fault tolerance pattern protects against an HTTP API that frequently returns 502 status codes?
  • In a Maven project, where should plugin configurations be placed?
  • What is the purpose of a Circuit Breaker?
  • What is Mule XML SDK's biggest limitation when it comes to its capabilities compared to a Java application?
  • In the Maven lifecycle listed, which phase immediately follows compile?
  • What is a Global Element used for in a Mule application?
  • If an Orders API is deployed to a CloudHub 2.0 shared space and is accessible via the default ingress, what action is required to enable HTTP mTLS?
  • Provide an example of a Global Element you would configure in Anypoint Studio.
  • What configuration of the Scatter-Gather router executes routes in a sequential manner?
  • How do you define and call a function in DataWeave 2.0?
  • Where should a dependency version be defined so that all projects inheriting the BOM share the same version?
  • When a request includes the header X-Mule-Correlation-ID, what does Mule do with it?
  • What is the example filename format used for parameterized configuration in the global.xml?
  • Do property files containing encrypted properties have to have their filename end with '-secure.yaml' or '-secure.properties'?
  • Which statement differentiates Scatter-Gather and Parallel For Each in Mule flows?
  • When the HTTP Requester receives a Remotely Closed error, which HTTP methods are retried three times by default?
  • Does the Validation connector by default throw an error when a validation fails?
  • In Maven's lifecycle, which phase directly precedes the Compile phase?
  • How are environment properties accessed in Mule 4?
  • What is the primary role of a BOM (Bill of Materials) in a multi-module Maven project?
  • How do you consume a SOAP web service with TLS?
  • When creating a shared library, what should the common logic application's pom.xml required dependencies' scopes be?
  • In Mule 4, what initiates a Flow?
  • How do you define a default path in a Choice router using otherwise?
  • Which of the following assets can be published to Exchange?
  • Which Maven phase is used to copy the final artifact to a remote repository for sharing with others?
  • In a cache hit scenario, where is the response retrieved from?
  • Which mechanism allows externalizing sensitive credentials in Mule 4 configuration?
  • Name at least three OAuth 2.0 grant types.
  • How do you perform unit testing of DataWeave transformations in MUnit?
  • Which artifact centralizes plugin and dependency versions across modules?
  • What is the result if a non-text-based payload is uploaded to Anypoint MQ?
  • Which module and operation are used to invoke an external SOAP request from a Mule app?
  • Which statement does a readiness health check endpoint perform?
  • Which widget type in Anypoint Monitoring displays a single numeric value?
  • In Anypoint API Manager, what does the YAML file define?
  • What is the difference between a CloudHub Shared Load Balancer vs. a Dedicated Load Balancer?
  • Does CloudHub normally use a project's log4j2.xml file?
  • Which file within the Maven-based policy project is responsible for defining the policy dependencies and specifying the packaging type?
  • How do you support TLS in a Mule app listener?
  • What best describes the difference between a scope and a processor in Mule flows?
  • What are the three layers in API-led connectivity?
  • How does Flow Reference (flow-ref) work in Mule flows?
  • Where are API Manager policies implemented in the Mule Runtime Engine?
  • Which attribute lists the XML schema files to validate in the XML schema validation tag?
  • What is the preferred naming convention for XML SDK operation names?
  • Which statement best describes how Scatter-Gather affects results?
  • Does Scatter-Gather support transactions?
  • What is the correct ordering of the log4j levels from most verbose to least verbose?
  • What is the role of batch size and thread configuration in a Batch Job?
  • What error type does the Validation module raise?
  • In the Mule 4 Database Connector, what does a Global Element for the connection pool provide?
  • In the Mule Runtime Engine, which layer provides API gateway functionality?
  • Which client side configuration is essential to enable mutual TLS when calling an external API?
  • In a Scatter-Gather router, which property controls concurrency of the route execution?
  • What is Batch processing in Mule 4 and when would you use it?
  • What does REST Connect do?
  • What is a key advantage of DataWeave 2.0 streaming over DataWeave 1.0?
  • What is the function of API Autodiscovery when integrating an API Manager managed API with a Mule application implementation?
  • Which XML tag in global.xml do you use to add a secure config file?
  • Which keystore types are supported by MuleSoft for TLS in an HTTPS listener?
  • Which statement correctly distinguishes liveness and readiness health checks?
  • In an MUnit test case that asserts true equals true, which assertion would pass?
  • When converting a JKS to PKCS12, what is the typical destination file extension?
  • How do you secure APIs deployed in Anypoint Platform?
  • Which of the following describes the behavior of a For Each scope when iterating a collection?
  • What error is raised when a JSON schema validation fails?
  • Which MEL expression resolves environment properties in Mule 4?
  • What is Design Center used for in Anypoint Platform?
  • What is a Scatter-Gather router and how does it work?
  • What are logging Appenders?
  • Which file contains the XML template that implements the policy using Mule's XML schema language?
  • Which statement correctly describes a Connector in MuleSoft?
  • What is the role of the client certificate in a two way TLS handshake?
  • Which statement about environment placeholders in Anypoint Platform is true?
  • Which permissions grant authority to approve or reject API access requests?
  • In a Maven-based policy project, which type of file are optional resources that the policy may depend on?
  • What does Anypoint API Functional Monitoring do?
  • What are MUnit tests and why are they important?
  • For mutual TLS when calling an external API, which client side configuration is required?
  • What is Exchange in Anypoint Platform?
  • What is the purpose of the On Complete phase in a Batch Job?
  • Is a client truststore optional in one-way TLS? What about mTLS?
  • If the X-Mule-Correlation-ID header is present, what does Mule do with it?
  • What happens in the half-open state for Anypoint MQ circuit breaker?
  • Where do you list file extensions to exclude from Mule filtering?
  • What is the Java Component in Mule and when would you use it?
  • Are logging messages of level ERROR logged in a Mule app with the default configuration?
  • Can you get a REST Connect connector's examples from the specification's examples?
  • In which configuration scope would you place the AsyncLogger entry to enable dynamic package and level logging at startup?
  • When using Scatter-Gather, what is the key outcome after branches complete?
  • Which statement about the Choice router in a Mule flow is true?
  • How do you consume a SOAP web service in Mule?
  • Which snippet correctly represents the XML schema validation invocation?
  • What is Maven resource filtering?
  • How do you implement retry logic in Mule flows?
  • RAML parameter usage: Which of the following is true about RAML path parameters?
  • How do you configure a database connection in Mule 4?
  • Where do you configure two-way TLS for SOAP WSC?
  • To transform XML to JSON in DataWeave 2.0, which script setup is correct?
  • Which set of permissions would allow approving or rejecting API access requests?
  • What does a readiness health check endpoint do?
  • What is the difference between TLS and mTLS?
  • How would we parameterize a configuration file in global.xml?
  • What is a DLQ?
  • What does the flowRef attribute of an API Autodiscovery config reference?
  • What is the main difference between Anypoint Object Store V2 and CloudHub Object Store V1?
  • How do you define the encrypted part of a secure property? Use the example of a property named "password".
  • What is the effect of the -deststoretype PKCS12 option in the keytool command?
  • What is OpenAPI (Swagger) and how is it used in MuleSoft?
  • Do XML SDK custom errors require a mapping element, a definition, or both?
  • Which Maven phase installs the artifact into the local repository for use by other local projects?
  • In a Maven BOM, what is the effect of listing modules under dependencyManagement with respect to child projects?
  • Regarding deployment to Exchange via the Exchange Maven Facade API, which statement is true about versioning?
  • What is different in mTLS compared to TLS as it pertains to truststores and keystores?
  • In the JSON schema validation tag, which attribute holds the schema value?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy