Mulesoft.U Development Fundamentals Trivia Training Quiz

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Alberto
A
Alberto
Community Contributor
Quizzes Created: 1 | Total Attempts: 11,569
Questions: 122 | Attempts: 11,654

SettingsSettingsSettings
Mulesoft.U Development Fundamentals Trivia Training Quiz - Quiz

If you consider yourself a software developer, you must have come across the Mulesoft. U and what they offer when it comes to computer knowledge. How good are you when it comes to the development fundamentals of Mulesoft. U? This trivia training quiz will help refresh your memory. Do give it a shot and see which parts to polish up on.


Questions and Answers
  • 1. 

    What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?

    • A.

      Experience

    • B.

      Data

    • C.

      System

    • D.

      Process

    • E.

      Security

    Correct Answer
    C. System
    Explanation
    The MuleSoft API-led connectivity layer called "System" is intended to expose part of a backend database without business logic. This layer focuses on providing access to the underlying system and its data, without any additional processing or manipulation. It allows developers to directly interact with the database and retrieve the required information without having to go through any business logic or rules.

    Rate this question:

  • 2. 

    What HTTP method in a RESTful web service is typically used to replace a resource completely?

    • A.

      PATCH

    • B.

      PUT

    • C.

      POST

    • D.

      GET

    Correct Answer
    B. PUT
    Explanation
    In a RESTful web service, the PUT method is typically used to replace a resource completely. This means that when a client sends a PUT request to a specific resource endpoint, the server replaces the existing resource with the new representation provided in the request payload. Unlike the PATCH method which is used to partially update a resource, PUT replaces the entire resource. POST is used to create a new resource, while GET is used to retrieve a resource.

    Rate this question:

  • 3. 

    What statement is part of Mulesoft’s description of an application network?

    • A.

      Create reusable APIs and assets designed to be consumed by other business units

    • B.

      Creates and manages availability and fault tolerant services and infrastructure

    • C.

      Leverages Central IT to deliver complete point-to-point solutions with master data management

    • D.

      Creates and manages a collection of JMS messaging services and infrastructure

    Correct Answer
    A. Create reusable APIs and assets designed to be consumed by other business units
    Explanation
    Mulesoft's description of an application network includes the statement "Create reusable APIs and assets designed to be consumed by other business units." This means that Mulesoft focuses on creating APIs and assets that can be reused by different parts of a business, allowing for easier integration and collaboration between different units. This approach promotes efficiency and flexibility in the development and management of applications within an organization.

    Rate this question:

  • 4. 

    According to MuleSoft, what is the Center for Enablement's role in the new IT operating model?

    • A.

      Creates and manages assets to be consumed by of business developers

    • B.

      Centrally manages partners and consultants to implement line of business projects

    • C.

      Implements line of business projects to enforce common security requirements

    • D.

      Produces & manages API policies for line of business deployments

    Correct Answer
    A. Creates and manages assets to be consumed by of business developers
    Explanation
    The Center for Enablement's role in the new IT operating model is to create and manage assets that can be used by business developers. This means that the center is responsible for providing resources, tools, and support to enable business developers to effectively carry out their tasks and projects. By doing so, the center plays a crucial role in facilitating the development and implementation of business solutions within the organization.

    Rate this question:

  • 5. 

    What is a core characteristic of the Modern API?

    • A.

      API is designed first using an API specification for rapid feedback

    • B.

      API is rapidly prototyped following AGILE methodology

    • C.

      API follows the RESTful architecture

    • D.

      API has a mechanism to accept feedback and suggestions for improvement

    Correct Answer
    A. API is designed first using an API specification for rapid feedback
    Explanation
    The core characteristic of the Modern API is that it is designed first using an API specification for rapid feedback. This means that before any coding or implementation takes place, the API is planned and documented using a specification. This allows for early feedback and validation from stakeholders, ensuring that the API meets their requirements and expectations. By designing the API first, potential issues and improvements can be identified and addressed early in the development process, saving time and resources in the long run.

    Rate this question:

  • 6. 

    Refer to the exhibit. ENDPOINT: https://www.searchworld.org/s/api.php QUERY PARAMETERS: action - Action type - required options: compare, delete, save, search query - Search string - required profile - Search profile to use options: strict, normal, classic format - The format of the output options: xml, xmlfm, json, jsonfm namespace - Namespace to search options: 1,2,3,4 HEADERS: AUTH - Authentication token - required The API specification supports searching for articles on the searchworld.org site. What is the most idiomatic (used for its intended purpose) URL and method to retrieve articles about "einstein" in XML format?

    • A.

      GET Method api.php?action=search&query=einstein&format=xml AUTH

    • B.

      GET Method api.php?&query=einstein&format=xml AUTH

    • C.

      GET Method api.php?action=search&query=einstein&format=xml NO AUTH

    • D.

      POST Method api.php?action=search&query=einstein&format=xml AUTH

    Correct Answer
    A. GET Method api.php?action=search&query=einstein&format=xml AUTH
    Explanation
    The most idiomatic URL and method to retrieve articles about "einstein" in XML format is to use the GET method with the following URL: api.php?action=search&query=einstein&format=xml. Additionally, the request should include the AUTH header for authentication.

    Rate this question:

  • 7. 

    What is the main purpose of flow designer in Design Center?

    • A.

      Design API RAML files in a graphical way

    • B.

      To design and Develop fully functional Mule applications in a hosted development environment

    • C.

      Define API lifecycle management in a graphical way

    • D.

      Design and mock Mule application templates that must be implemented using Anypoint Studio

    Correct Answer
    B. To design and Develop fully functional Mule applications in a hosted development environment
    Explanation
    The main purpose of flow designer in Design Center is to design and develop fully functional Mule applications in a hosted development environment. It provides a graphical interface that allows users to visually create, configure, and manage the flow of data and integration processes within their Mule applications. This eliminates the need for manual coding and allows for faster and more efficient development of Mule applications.

    Rate this question:

  • 8. 

    Where does a deployed flow designer application run in Anypoint Platform?

    • A.

      Exchange

    • B.

      Clouhhub Worker

    • C.

      API Manager

    • D.

      Design Center

    Correct Answer
    B. Clouhhub Worker
    Explanation
    A deployed flow designer application runs on the CloudHub worker in Anypoint Platform. The CloudHub worker is responsible for executing the application and handling the incoming requests and data processing. It provides a scalable and reliable runtime environment for running applications in the cloud.

    Rate this question:

  • 9. 

    What MuleSoft product enables publishing, sharing, and searching of APIs?

    • A.

      API Designer

    • B.

      API MUnit

    • C.

      Anypoint Exchange

    • D.

      API Notebook

    Correct Answer
    C. Anypoint Exchange
    Explanation
    Anypoint Exchange is the correct answer because it is a MuleSoft product that enables publishing, sharing, and searching of APIs. It provides a centralized platform where organizations can publish their APIs, making them easily discoverable and accessible to developers. Anypoint Exchange also allows for collaboration and sharing of APIs within an organization or with external partners. It includes features such as API documentation, versioning, and the ability to rate and review APIs.

    Rate this question:

  • 10. 

    What asset can NOT be created using Anypoint Platform Design Center?

    • A.

      API Specifications

    • B.

      Mule Applications

    • C.

      API Fragments

    • D.

      API portals

    Correct Answer
    D. API portals
    Explanation
    Anypoint Platform Design Center is a tool that allows users to design and create various assets related to API development. API Specifications, Mule Applications, and API Fragments can all be created using the Design Center. However, API Portals cannot be created using this tool. API Portals are separate components that provide a user-friendly interface for developers and consumers to interact with APIs. They are typically created using specialized portal software or platforms, rather than the Design Center.

    Rate this question:

  • 11. 

    A web client submits a GET request to a Mule 4 application to the endpoint /customers?id=48493. Where is the id stored in the Mule event by the HTTP Listener?

    • A.

      Inbound properties

    • B.

      Variables

    • C.

      Attributes

    • D.

      Payload

    Correct Answer
    C. Attributes
    Explanation
    The id is stored in the Mule event by the HTTP Listener in the Attributes.

    Rate this question:

  • 12. 

    An API has been created in Design Center. What is the next step to make the API discoverable?

    • A.

      Deploy the API to a Maven repository

    • B.

      Enable autodiscovery in API Manager

    • C.

      Publish the API from inside flow designert

    • D.

      Publish the API to Anypoint Exchange

    Correct Answer
    D. Publish the API to Anypoint Exchange
    Explanation
    To make the API discoverable, it needs to be published to Anypoint Exchange. Anypoint Exchange is a platform where organizations can publish and share their APIs, connectors, templates, and other reusable assets. By publishing the API to Anypoint Exchange, it becomes visible and accessible to other developers and users who can discover and consume the API.

    Rate this question:

  • 13. 

    1. Refer to the exhibit:
    #%RAML 1.0 title: ACME Medical API baseUri: http://dev.acme.com/api /patients: GET: queryParameters: year: type: integer example: 2017 What is the correct URL to perform a GET request to /patients?

    • A.

      Http://dev.acme.com/patients?year=2016

    • B.

      Http://dev.acme.com/api/patients

    • C.

      Http://dev.acme.com/patients

    • D.

      Http://dev.acme.com/api/patients?year=2016

    Correct Answer
    D. Http://dev.acme.com/api/patients?year=2016
    Explanation
    The correct URL to perform a GET request to /patients is "http://dev.acme.com/api/patients?year=2016". This is because the base URI is "http://dev.acme.com/api" and the endpoint is "/patients". The query parameter "year" is set to 2016, so it should be included in the URL as a query string.

    Rate this question:

  • 14. 

    A RAML example fragment named BankAccountsExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?

    • A.

      Example: !include BankAccountsExample.raml

    • B.

      Example: #import BankAccountsExample.raml

    • C.

      Example: !include examples/BankAccountsExample.raml

    • D.

      Example: #import examples/BankAccountsExample.raml

    Correct Answer
    C. Example: !include examples/BankAccountsExample.raml
    Explanation
    The correct syntax to reference the fragment is "example: !include examples/BankAccountsExample.raml". This syntax uses the "!include" directive to import the BankAccountsExample.raml file located in the examples folder of the API specification project.

    Rate this question:

  • 15. 

    Refer to the exhibit: 1 #%RAML 1.0 2 title: American Flights API 3 version: 10 4 5 /flights: 6 get: 7 8 /{flight_id}: 9 10 get: There is an error in the flight_id resource’s GET method. What needs to be done to fix the problem?

    • A.

      Remove blank line on row 9

    • B.

      Enclose flight_id with parenthesis () instead of curly braces {}

    • C.

      Indent the get method under the {flight_id} resource

    • D.

      Outdent the {flight_id} resource

    • E.

      Remove the curly braces {} around flight_id

    Correct Answer
    C. Indent the get method under the {flight_id} resource
    Explanation
    The correct answer is to indent the get method under the {flight_id} resource. This means that line 10 should be indented to align with line 9. This is necessary to ensure that the get method is properly nested within the {flight_id} resource and follows the correct structure of the RAML specification.

    Rate this question:

  • 16. 

    Refer to the exhibit. This RAML specification includes an XML example that matches the Records data type defined in another RAML file named recordsDataType.raml. Using the Records type, how can this XML example be represented in RAML?

    • A.

      Option 1

    • B.

      Option 2

    • C.

      Option 3

    • D.

      Option 4

    Correct Answer
    D. Option 4
  • 17. 

    What is the purpose of the api:router element in APIkit?

    • A.

      Routes requests to API implementations, but does not validate them against RAML API specifications

    • B.

      Routes responses to the caller, but does not validate them against RAML API specifications

    • C.

      Validates requests against RAML API specifications and routes them to API implementations

    • D.

      Validates responses returned from API requests and routes them to the caller

    Correct Answer
    C. Validates requests against RAML API specifications and routes them to API implementations
    Explanation
    The api:router element in APIkit is responsible for validating requests against RAML API specifications and routing them to API implementations. It ensures that the incoming requests adhere to the defined API specifications before forwarding them to the appropriate implementation. This helps in maintaining the integrity and consistency of the API by validating the requests against the specified rules and constraints.

    Rate this question:

  • 18. 

    What is the minimum required configuration in a flow for a Mule application to compile?

    • A.

      An event processor/A message processor in the Process section of a flow

    • B.

      An event/message processor in the Source section of a flow

    • C.

      An empty flow

    • D.

      A message processor in both the Source and Process sections of a flow

    Correct Answer
    A. An event processor/A message processor in the Process section of a flow
    Explanation
    The minimum required configuration in a flow for a Mule application to compile is an event processor or a message processor in the Process section of a flow. This means that there must be at least one processor that will handle the incoming event or message in order for the flow to be valid and compile successfully.

    Rate this question:

  • 19. 

    An inbound Database connector is configured to select rows from a MySQL database. What is the format of results returned from the database query?

    • A.

      Java

    • B.

      JSON

    • C.

      XML

    • D.

      CSV

    Correct Answer
    A. Java
    Explanation
    The format of results returned from the database query is in Java. This means that the data retrieved from the MySQL database will be in a format that is compatible with the Java programming language.

    Rate this question:

  • 20. 

    What is NOT part of a Mule 4 event?

    • A.

      Message

    • B.

      Payload

    • C.

      InboundProperties

    • D.

      Attributes

    Correct Answer
    C. InboundProperties
    Explanation
    : In Mule 4, the concept of inboundProperties from Mule 3 has been replaced by attributes within the message. The Mule 4 event is composed of a message and variables, where the message contains the payload and attributes. Attributes can include metadata such as headers from an HTTP request, but the specific term "inboundProperties" is not used as part of the Mule 4 event structure. This change is part of the simplification and improvement in the handling of messages and event data between Mule 3 and Mule 4.

    Rate this question:

  • 21. 

    How does APIkit determine the number of flows to generate from a RAML specification?

    • A.

      Creates a separate flow for each HTTP method

    • B.

      Creates a separate flow for each resource

    • C.

      Creates a separate flow for each resource that contains child resources

    • D.

      Creates one flow for the entire API spec

    • E.

      Creates a separate flow for each response status code

    Correct Answer
    A. Creates a separate flow for each HTTP method
    Explanation
    APIkit determines the number of flows to generate from a RAML specification by creating a separate flow for each HTTP method. This means that for each different method (GET, POST, PUT, DELETE, etc.) defined in the RAML specification, APIkit will generate a separate flow to handle that specific method. This allows for better organization and separation of logic for each individual method in the API.

    Rate this question:

  • 22. 

    What is the purpose of API autodiscovery?

    • A.

      Enables API Manager to discover the published API on Anypoint Exchange

    • B.

      Allows the Mule application to be automatically discovered on Anypoint Exchange

    • C.

      Enables the API to be directly manage in API Manager

    • D.

      Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy

    Correct Answer
    D. Allows a deployed Mule application to connect with API Manager to download policies and act as its own API proxy
    Explanation
    API autodiscovery is a mechanism that allows a deployed Mule application to automatically connect with API Manager. Through this connection, the application can download and apply any policies defined in API Manager and act as its own API proxy. This enables the enforcement of runtime policies and allows the API to be managed directly within API Manager without requiring separate proxy applications. Autodiscovery simplifies API management by automating the association between a Mule application and its corresponding API in API Manager.

    Rate this question:

  • 23. 

    What is the maximum number of Mule applications that can run in a Cloud Hub Worker?

    • A.

      At most one

    • B.

      At least one

    • C.

      Depends on the vCores

    • D.

      Depends on the number of CloudHub workers configured

    Correct Answer
    A. At most one
    Explanation
    The maximum number of Mule applications that can run in a Cloud Hub Worker is at most one. This means that a single Cloud Hub Worker can only run one Mule application at a time.

    Rate this question:

  • 24. 

    What does an API proxy application NOT do?

    • A.

      Determine which request Mule event is allowed to pass through to the API backend service

    • B.

      Apply runtime policies to enforce governance

    • C.

      Determine which response Mule event is allowed to pass through to the API backend service

    • D.

      Measure the traffic flowing through the proxy

    Correct Answer
    D. Measure the traffic flowing through the proxy
    Explanation
    An API proxy primarily serves as an intermediary between clients and the actual API, managing and controlling access and requests. It can determine which requests or responses are allowed to pass through to the API backend service and apply runtime policies to enforce governance, such as security measures, rate limiting, and other access controls. However, measuring the traffic flowing through the proxy, while it can be a function associated with API management tools, is not the primary role of an API proxy application itself. The primary focus of an API proxy is on managing access and enforcing policies rather than traffic measurement or analytics, which are typically handled by other components within an API management solution.

    Rate this question:

  • 25. 

    What does the Mule runtime use to enforce policies and limit access to APIs?

    • A.

      Anypoint Access Control

    • B.

      The proxy created by API Manager

    • C.

      API Manager

    • D.

      The Mule runtime’s embedded API Gateway

    Correct Answer
    D. The Mule runtime’s embedded API Gateway
    Explanation
    The Mule runtime uses its embedded API Gateway to enforce policies and limit access to APIs. This API Gateway acts as a proxy and provides security features such as authentication, authorization, and rate limiting. It allows organizations to control and manage access to their APIs, ensuring that only authorized users and applications can interact with them. By using the embedded API Gateway, the Mule runtime provides a secure and scalable solution for API management and enforcement of policies.

    Rate this question:

  • 26. 

    API Manager has been configured to enforce an SLA policy and the RAML spec has been updated with the required client_id and client_secret header requirements. The new RAML spec has been published to Anypoint Exchange. What is the next step to gain access to the API?

    • A.

      POST a JSON object to the /api/register endpoint of the API proxy

    • B.

      Request access to the API in Anypoint Exchange

    • C.

      Email the organization administrators to request access to the API

    • D.

      Add a client application to the Anypoint Platform organization

    Correct Answer
    B. Request access to the API in Anypoint Exchange
    Explanation
    The next step to gain access to the API is to request access to the API in Anypoint Exchange. This is because the RAML spec has been updated with the required client_id and client_secret header requirements, and the new RAML spec has been published to Anypoint Exchange. By requesting access in Anypoint Exchange, the user can follow the necessary steps to gain access to the API.

    Rate this question:

  • 27. 

    What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?

    • A.

      New attributes may be added from the HTTP response headers, but no headers are ever removed

    • B.

      New attributes may be added from the HTTP response, but previous attributes are passed through unchanged

    • C.

      Attributes do not change

    • D.

      Attributes are replaced with new attributes from the HTTP Request response (which might be null)

    Correct Answer
    D. Attributes are replaced with new attributes from the HTTP Request response (which might be null)
    Explanation
    After making an outbound HTTP request in a Mule flow, the attributes of the Mule event are replaced with new attributes from the HTTP request response. These new attributes may contain information from the response, but it is possible for them to be null if the response does not provide any relevant attributes. The previous attributes of the Mule event are completely replaced and no longer available.

    Rate this question:

  • 28. 

    A Set Variable component saves the current payload to a variable with the name images. What is the DataWeave expression to access the images variable?

    • A.

      #[payload.images]

    • B.

      #[images]

    • C.

      #[flowVars.images]

    • D.

      #[vars.images] (vars is a DataWeave predefined variable)

    Correct Answer
    D. #[vars.images] (vars is a DataWeave predefined variable)
    Explanation
    The correct answer is #[vars.images] because "vars" is a predefined variable in DataWeave that allows us to access variables saved within the flow. In this case, the payload is saved to a variable named "images" using the Set Variable component, and we can access it using #[vars.images].

    Rate this question:

  • 29. 

    A web service implements an API to handle requests to http://acme.com/customers/{state}. A web client makes a request to this API implementation at http://acme.com/customers/CA. What is the correct DataWeave expression to retrieve the value CA?

    • A.

      #[message.payload.inboundProperties.'http.query.params’.state]

    • B.

      #[message.inboundProperties.'http.uri.params'.state]

    • C.

      #[attributes.uriParams.state]

    • D.

      #[attributes.’http.uri.params’.state]

    • E.

      #[state]

    Correct Answer
    C. #[attributes.uriParams.state]
    Explanation
    The correct DataWeave expression to retrieve the value "CA" is #[attributes.uriParams.state]. This expression accesses the "state" parameter from the URI parameters of the incoming message.

    Rate this question:

  • 30. 

    A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?

    • A.

      #[“Content-Type: “ ++ attributes.headers.’content-type’]

    • B.

      #[“Content-Type: “ + headers.’content-type’]

    • C.

      #[“Content-Type: “ + attributes.headers.’content-type’]

    • D.

      #[“Content-Type: “ ++ headers.’content-type’]

    Correct Answer
    A. #[“Content-Type: “ ++ attributes.headers.’content-type’]
    Explanation
    The correct answer is #[“Content-Type: ” ++ attributes.headers.’content-type’]. This DataWeave expression concatenates the string "Content-Type: " with the value of the "content-type" header from the attributes.headers object. This will log the Content-Type header using a Logger component.

    Rate this question:

  • 31. 

    Refer to the exhibit. What is the correct DataWeave expression for accessing the city Cleveland from the JSON payload?

    • A.

      #[payload[2].city]

    • B.

      #[payload[1].city]

    • C.

      #[payload.city[1]]

    • D.

      #[payload.city[2]]

    Correct Answer
    B. #[payload[1].city]
    Explanation
    The correct DataWeave expression for accessing the city Cleveland from the JSON payload is #[payload[1].city]. This expression uses the index 1 to access the second element in the payload array, and then accesses the city property within that element.

    Rate this question:

  • 32. 

    What is NOT part of a Mule 4 event?

    • A.

      Message

    • B.

      OutboundProperties

    • C.

      Attributes

    • D.

      Variables

    • E.

      Payload

    Correct Answer
    B. OutboundProperties
    Explanation
    The outboundProperties are not part of a Mule 4 event. Mule 4 events consist of a message, attributes, variables, and payload. The outboundProperties refer to the properties that are set on an outbound message, which means they are not inherently part of the event itself.

    Rate this question:

  • 33. 

    A Mule application has two flows named parentFlow and childFlow. The childFlow begins with an HTTP Listener. A variable is defined in parentFlow, then an HTTP Request is made to childFlow’s HTTP Listener with some headers set. What is the scope of the variable and attributes in the parentFlow after childFlow returns a response?

    • A.

      The variable is accessible. All the attributes passed to childFlow are removed or replaced

    • B.

      The variable is NOT accessible. All the attributes passed to childFlow are removed or replaced

    • C.

      The variable is NOT accessible. All the attributes passed to childFlow are preserved

    • D.

      The variable is accessible. All the attributes passed to childFlow are preserved

    Correct Answer
    A. The variable is accessible. All the attributes passed to childFlow are removed or replaced
    Explanation
    After the childFlow returns a response, the variable defined in the parentFlow is still accessible. However, all the attributes that were passed to the childFlow are removed or replaced. This means that any modifications made to the attributes within the childFlow will not be reflected in the parentFlow.

    Rate this question:

  • 34. 

    A Mule application has a flow named parentFlow. The parentFlow contains an HTTP Request operation at the end of the flow. The parentFlow also contains a Set Variable operation right before the HTTP Request operation. What is the scope of the variable to the server receiving the HTTP Request from parentFlow?

    • A.

      The variable is accessible in the server but is immutable

    • B.

      The variable is accessible in the server, can be changed, and changes are see back in parentFlow

    • C.

      The variable is NOT accessible in the server

    • D.

      The variable is accessible in the server, can be changed but changes are not seen back in parentFlow

    Correct Answer
    C. The variable is NOT accessible in the server
    Explanation
    The variable is not accessible in the server because the scope of the variable is limited to the parentFlow only. It is set right before the HTTP Request operation, which means it is only available within that flow and not outside of it. Therefore, the server receiving the HTTP Request from parentFlow will not have access to this variable.

    Rate this question:

  • 35. 

    A Mule application has two flows named parentFlow and childFlow. A variable is defined in parentFlow. What is the scope of the variable when the parentFlow calls childFlow using a Flow Reference?

    • A.

      The flow variable is accessible in childFlow but is immutable

    • B.

      The flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow

    • C.

      The flow variable is NOT accessible in childFlow

    • D.

      The flow variable is accessible in childFlow, can be changed, but changes are NOT seen back in parentFlow

    Correct Answer
    B. The flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow
    Explanation
    When the parentFlow calls childFlow using a Flow Reference, the flow variable defined in parentFlow is accessible in childFlow. Additionally, the variable can be changed within the childFlow, and any changes made to the variable will be seen back in the parentFlow. Therefore, the correct answer is "The flow variable is accessible in childFlow, can be changed, and changes are seen back in parentFlow."

    Rate this question:

  • 36. 

    Refer to the exhibit. In the deployable archive's /classes folder, there are two properties files named dev.properties and prod.properties. The Mule application fails to deploy to CloudHub through Runtime Manager with the following error message. What could be causing this error?

    • A.

      The property files were NOT saved at the root level of the deployable archive

    • B.

      The env property is NOT set in the Runtime Manager in the Mule application's Properties tab

    • C.

      A file named ${env}.properties is NOT included in the deployable archive file

    • D.

      The dev.properties and prod.properties files were NOT uploaded to Runtime Manager

    Correct Answer
    B. The env property is NOT set in the Runtime Manager in the Mule application's Properties tab
    Explanation
    The error message suggests that the Mule application fails to deploy to CloudHub due to the env property not being set in the Runtime Manager in the Mule application's Properties tab. This means that the necessary environment property is missing, causing the deployment to fail.

    Rate this question:

  • 37. 

    What reserved property can be defined and used in a Mule application to allow an HTTPS Listener to be accessed by external web clients after the Mule application is deployed to CloudHub?

    • A.

      ${ssl.port}

    • B.

      ${ssl.listener.port}

    • C.

      ${https.listener.port}

    • D.

      ${https.port}

    Correct Answer
    D. ${https.port}
    Explanation
    The correct answer is ${https.port}. This property can be defined and used in a Mule application to allow an HTTPS Listener to be accessed by external web clients after the application is deployed to CloudHub. By specifying this property, the application will use the corresponding port for the HTTPS Listener, enabling external clients to access the application securely over HTTPS.

    Rate this question:

  • 38. 

    Why must a Mule application’s deployable archive package all its dependencies in order to be deployed to CloudHub?

    • A.

      The online logging service requires access to ALL project dependencies to log the appropriate Java classes used in the Mile application

    • B.

      CloudHub workers CANNOT download ALL possible project dependencies a project may contain

    • C.

      CloudHub workers need to compare the current dependencies with the LATEST project dependencies from the Mulesoft repository

    • D.

      Mulesoft support requires access to ALL project dependencies for future online troubleshooting

    Correct Answer
    B. CloudHub workers CANNOT download ALL possible project dependencies a project may contain
    Explanation
    CloudHub workers cannot download all possible project dependencies a project may contain because CloudHub is a platform as a service (PaaS) that runs applications in a managed environment. In order to ensure that the application runs smoothly and without any issues, all dependencies need to be packaged and included in the deployable archive. This ensures that the application has access to all the required resources and libraries it needs to function properly. If the dependencies were not included, CloudHub workers would not be able to download them and the application may fail to run or encounter errors.

    Rate this question:

  • 39. 

    In what file does the Mule project keep track of all of its dependencies?

    • A.

      Mule-artifact.json

    • B.

      Pom.xml

    • C.

      Mule-app.properties

    • D.

      Global.xml

    Correct Answer
    B. Pom.xml
    Explanation
    The Mule project keeps track of all of its dependencies in the "pom.xml" file. This file is commonly used in Maven projects to manage project dependencies, including external libraries and modules. It contains information about the project, such as its name, version, and dependencies, which are specified using XML tags. The "pom.xml" file plays a crucial role in building and managing the Mule project, ensuring that all required dependencies are properly included and resolved during the development and deployment processes.

    Rate this question:

  • 40. 

    What can ONLY be done with VM connectors, and NOT with Flow References, in a single Mule application?

    • A.

      Preserve variables as the Mule event gets passed to another flow

    • B.

      Allow a flow to pass events to another flow synchronously

    • C.

      Preserve the original payload when the VM connector returns a response from a flow

    • D.

      Allow a flow to pass events to another flow asynchronously

    Correct Answer
    D. Allow a flow to pass events to another flow asynchronously
    Explanation
    VM connectors in Mule allow a flow to pass events to another flow asynchronously. This means that the flow does not have to wait for a response from the second flow before continuing with its execution. On the other hand, Flow References do not support asynchronous event passing. They are used for synchronous communication, where the flow waits for a response from the referenced flow before proceeding. Therefore, only VM connectors can be used to enable asynchronous event passing in a single Mule application.

    Rate this question:

  • 41. 

    What file type is required to configure a Web Service Consumer to consume a SOAP web service?

    • A.

      RAML

    • B.

      WSDL

    • C.

      JSON

    • D.

      OAS

    Correct Answer
    B. WSDL
    Explanation
    To configure a Web Service Consumer to consume a SOAP web service, the required file type is WSDL (Web Services Description Language). WSDL is an XML-based language that provides a standardized way to describe the functionalities of a web service. It specifies the location of the web service, the operations it supports, the input and output parameters, and other relevant details. By using the WSDL file, the Web Service Consumer can understand the structure and behavior of the SOAP web service and communicate with it effectively.

    Rate this question:

  • 42. 

    How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?

    • A.

      As query parameters in the HTTP Request operation

    • B.

      As URI parameters in the HTTP Request operation

    • C.

      In the Mule’s event’s payload

    • D.

      As flow variables

    • E.

      As attributes in a Transform Message component before the HTTP Request operation

    • F.

      As attributes in the HTTP Listener operation

    Correct Answer
    A. As query parameters in the HTTP Request operation
    Explanation
    Query parameters are dynamically passed to an outbound REST request using an HTTP Request operation by including them as query parameters in the URL of the HTTP Request operation. This allows the request to be customized and specific data to be retrieved from the server.

    Rate this question:

  • 43. 

    Refer to the exhibit. The flow calls a SOAP endpoint using the Consume operation of the Web Service Consumer. The SOAP service has a required input parameter. What event processor can be used to build the SOAP envelope with the required argument to pass to the SOAP service?

    • A.

      Set Property

    • B.

      Build SOAP

    • C.

      Transform Message

    • D.

      JSON to XML

    • E.

      Set Attachment

    Correct Answer
    C. Transform Message
    Explanation
    The Transform Message event processor can be used to build the SOAP envelope with the required argument to pass to the SOAP service. Transform Message allows for the transformation of the message payload, headers, and properties. In this case, it can be used to transform the input parameter into the appropriate SOAP envelope format, including any necessary SOAP headers and body elements.

    Rate this question:

  • 44. 

    An HTTP Request operation returns a JSON array of objects. In the Transform Message component, what is the process to convert the array of objects to an array of custom Java Account objects?

    • A.

      Add the Account object metadata to the output and use the drag-and-drop feature to transform the incoming JSON data

    • B.

      Change the output type to the Java Account object type

    • C.

      Add the Account object metadata to the input and the Transform Message component will automatically convert the JSON objects to Account objects

    • D.

      Change the input type to the Java Account object type

    Correct Answer
    A. Add the Account object metadata to the output and use the drag-and-drop feature to transform the incoming JSON data
    Explanation
    To convert the JSON array of objects to an array of custom Java Account objects in the Transform Message component, the process is to add the Account object metadata to the output and use the drag-and-drop feature to transform the incoming JSON data. This means that the metadata for the Account object needs to be added to the output message structure, and then the drag-and-drop feature can be used to map the incoming JSON data to the Account object fields. By doing this, the Transform Message component will automatically convert the JSON objects to Account objects based on the defined metadata.

    Rate this question:

  • 45. 

    What is the process to create a connector using REST Connect?

    • A.

      Develop the API in flow designer and publish the API to Exchange

    • B.

      Design the API in Anypoint Studio and upload the API to Runtime Manager

    • C.

      Design the API In Design Center and publish the API to Exchange

    • D.

      Develop the API in Anypoint Studio and export the connector as a jar file

    Correct Answer
    C. Design the API In Design Center and publish the API to Exchange
    Explanation
    The correct answer is to design the API in Design Center and publish the API to Exchange. This is the correct process to create a connector using REST Connect. Design Center is a web-based tool that allows users to design APIs visually, and once the API is designed, it can be published to Exchange. Exchange is a platform where APIs can be shared and discovered by other users. This process ensures that the API is properly designed and available for others to use. Developing the API in flow designer, Anypoint Studio, or exporting it as a jar file are not the correct steps for creating a connector using REST Connect.

    Rate this question:

  • 46. 

    How are multiple conditions used in a Choice router to route events?

    • A.

      To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes

    • B.

      To route the same event to the matched route of EVERY true condition

    • C.

      To find the FIRST true condition, then distribute the event to the ONE matched route

    • D.

      To filter and aggregate the responses after copying the event to EVERY route

    Correct Answer
    C. To find the FIRST true condition, then distribute the event to the ONE matched route
    Explanation
    The correct answer explains that in a Choice router, multiple conditions are used to find the FIRST true condition. Once the first true condition is found, the event is distributed to the ONE matched route. This means that only one route will be selected based on the first condition that evaluates to true.

    Rate this question:

  • 47. 

    A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?

    • A.

      An Object containing all three Mule event Objects

    • B.

      An array of three JSON payload Objects

    • C.

      An array of the three Mule event Objects

    • D.

      An Object containing all three JSON payload Objects

    • E.

      The last JSON payload Object

    • F.

      The last Mule event object

    Correct Answer
    A. An Object containing all three Mule event Objects
    Explanation
    The Scatter-Gather component processes three separate HTTP requests and returns a Mule event with a JSON payload for each request. The final output of the Scatter-Gather is an Object containing all three Mule event Objects. This means that the output will include the Mule event Objects for all three requests, allowing further processing or manipulation of the data.

    Rate this question:

  • 48. 

    An event contains a payload that is an array of Objects. How is the event routed in a Scatter-Gather?

    • A.

      The ENTIRE event is sent to each route and processed SEQUENTIALLY

    • B.

      The event is SPLIT and different SMALLER events are routed and processed in PARALLEL

    • C.

      The event is SPLIT and different SMALLER events are routed and processed SEQUENTIALLY

    • D.

      The ENTIRE event is sent to each route and processed in PARALLEL

    Correct Answer
    D. The ENTIRE event is sent to each route and processed in PARALLEL
    Explanation
    In a Scatter-Gather, the entire event is sent to each route and processed in parallel. This means that the event payload, which is an array of objects, is replicated and sent to each route simultaneously. Each route then processes the event independently and in parallel, allowing for concurrent execution and potentially faster processing time.

    Rate this question:

  • 49. 

    What module and operation will throw an error if a Mule event's payload is not a number?

    • A.

      Validation module's Is number operation

    • B.

      Validation module's Is not number operation

    • C.

      Filter module's Is number operation

    • D.

      Filter module's Is not number operation

    Correct Answer
    A. Validation module's Is number operation
    Explanation
    The Validation module's Is number operation will throw an error if a Mule event's payload is not a number. This operation is specifically designed to check if the payload is a number, and if it is not, it will trigger an error.

    Rate this question:

  • 50. 

    Refer to the exhibits. What happens to this flow when the Validation module's Is not null operation throws an error?

    • A.

      The flow silently stops processing its Mule event

    • B.

      The flow stops processing its Mule event and returns an error message to the HTTP Listener operation

    • C.

      The flow logs the error message in the console and continues processing its Mule event

    • D.

      The flow continues processing its Mule event and appends the error message to the end of the payload

    Correct Answer
    B. The flow stops processing its Mule event and returns an error message to the HTTP Listener operation
    Explanation
    When the Validation module's "Is not null" operation throws an error, the flow will stop processing its Mule event and return an error message to the HTTP Listener operation. This means that the flow will not continue processing the event and will instead notify the HTTP Listener operation about the error that occurred.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Apr 05, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 02, 2020
    Quiz Created by
    Alberto
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.