Mulesoft.U Development Fundamentals! Trivia Training Quiz

122 Questions | Total Attempts: 2308

SettingsSettingsSettings
Please wait...
Mulesoft.U Development Fundamentals! Trivia Training 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 8. 
    Where does a deployed flow designer application run in Anypoint Platform?
    • A. 

      Exchange

    • B. 

      Clouhhub Worker

    • C. 

      API Manager

    • D. 

      Design Center

  • 9. 
    What MuleSoft product enables publishing, sharing, and searching of APIs?
    • A. 

      API Designer

    • B. 

      API MUnit

    • C. 

      Anypoint Exchange

    • D. 

      API Notebook

  • 10. 
    • A. 

      API Specifications

    • B. 

      Mule Applications

    • C. 

      API Fragments

    • D. 

      API portals

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 20. 
    What is NOT part of a Mule 4 event?
    • A. 

      Message

    • B. 

      Payload

    • C. 

      InboundProperties

    • D. 

      Attributes

  • 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

  • 22. 
    • 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

  • 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

  • 24. 
    • 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

  • 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

  • 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

  • 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)

  • 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)

  • 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]

  • 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’]

  • 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]]

  • 32. 
    • A. 

      Message

    • B. 

      OutboundProperties

    • C. 

      Attributes

    • D. 

      Variables

    • E. 

      Payload

  • 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

  • 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

  • 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

  • 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

  • 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}

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • 46. 
    • 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

  • 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

  • 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

  • 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

  • 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

  • 51. 
    Refer to the exhibits. The main flow has an On Error Continue scope. In the Configuration global element, default error handler is set to globalErrorHandler. A web client makes an HTTP GET request to the flow's HTTP Listener. The Is number validator then throws an error with message "Validate - Payload is an Integer". What response message is returned to the web client?
    • A. 

      Error - main flow

    • B. 

      Success - Begin main flow

    • C. 

      Success - End main flow

    • D. 

      Validate - Payload is an Integer

    • E. 

      Global Error Handler

  • 52. 
    Refer to the exhibits. The main flow has an On Error Propagate scope. In the Configuration global element, default error handler is set to globalErrorHandler. A web client makes an HTTP GET request to the flow's HTTP Listener. The Is number validator then throws an error with message "Validate - Payload is an Integer". What response message is returned to the web client?
    • A. 

      Error - main flow

    • B. 

      Success - Begin main flow

    • C. 

      Success - End main flow

    • D. 

      Validate - Payload is an Integer

    • E. 

      Global Error Handler

  • 53. 
    Refer to the exhibits. The private flow has an On Error Propagate scope. In the Configuration global element, default error handler is set to globalErrorHandler. A web client makes an HTTP GET request to the flow's HTTP Listener. The Is number validator in the private flow then throws an error with message "Validate - Payload is an Integer". What response message is returned to the web client?
    • A. 

      GlobalErrorHandler

    • B. 

      Success - mainFlow

    • C. 

      Error - privateFlow

    • D. 

      Validate - Payload is a Number

  • 54. 
    Refer to the exhibits. The main flow has an On Error Continue scope and the private flow has an On Error Propagate scope. A web client makes an HTTP GET request to the HTTP Listener. The Is number validator in the private flow then throws an error with message "Validate - Payload is an Integer". What response message is returned to the web client?
    • A. 

      Error - main flow

    • B. 

      Success - main flow

    • C. 

      Error - private flow

    • D. 

      Success - private flow

    • E. 

      Validate - Payload is Integer

  • 55. 
    How can an error scope be configured to catch all errors in the HTTP namespace?
    • A. 

      Type: HTTP When:

    • B. 

      Type: HTTP* When:

    • C. 

      Type: When: #[ error.errorType.namespace == "HTTP" ]

    • D. 

      Type: When: #[ contains "HTTP" ]

  • 56. 
    Refer to the exhibits. The main flow has an On Error Continue scope with type set to HTTP:NOT_FOUND. The Mule application configures globalErrorHandler as its default error handler. A web client posts a request to the HTTP Listener. The Transform Message component then throws a MULE:EXPRESSION error trying to convert the payload to application/xml. What response message is returned to the web client?
    • A. 

      "HTTP:NOT_FOUND error"

    • B. 

      "MAIN"

    • C. 

      "Global Error Handler"

    • D. 

      The MULE:EXPRESSION error's message

  • 57. 
    Refer to the exhibit. An event payload contains an unordered array of flight objects, where every object has a price key and a toAirport key. What is valid DataWeave code to return flights with price under 500, grouped by toAirport in ascending order, with the lowest price first?
    • A. 

      Payload groupBy $.toAirport filter $.price < 500 orderBy $.price

    • B. 

      Payload groupBy $.toAirport filter $.price > 500 orderBy $.price

    • C. 

      Payload filter $.price < 500 orderBy $.price groupBy $.toAirport

    • D. 

      Payload filter $.price > 500 orderBy $.price groupBy $.toAirport

  • 58. 
    Refer to the exhibit. What is valid DataWeave code to transform the input JSON payload to the output XML payload?
    • A. 

      Option 1

    • B. 

      Option 2

    • C. 

      Option 3

    • D. 

      Option 4

  • 59. 
    A Mule application has a main flow and a combineNames flow. In the main flow, a variable named fullName is set to the object {firstName: "Max", lastName: "Mule"}. What is valid DataWeave code to call the combineNames flow with the input object stored in the fullName variable?
    • A. 

      #[ dw::Flow::lookup( "combineNames", vars.fullName ) ]

    • B. 

      #[ dw::Runtime::lookup( "combineNames", vars.fullName ) ]

    • C. 

      #[ lookup( "combineNames", vars.fullName ) ]

    • D. 

      #[ combineNames( vars.fullName ) ]

    • E. 

      #[ lookup( combineNames( vars.fullName ) ) ]

  • 60. 
    What DataWeave 2.0 type can be used as input to a map operation?
    • A. 

      Array

    • B. 

      Object

    • C. 

      Map

    • D. 

      String

    • E. 

      Key

  • 61. 
    What is the correct way to format the decimal 20.3844 as a string to two decimal places?
    • A. 

      20.3844 as String {format: ".0#"}

    • B. 

      20.3844 as :string {format: ".0#"}

    • C. 

      20.3844 as String as format: ".0#"

    • D. 

      20.3844 as :string as format: ".0#"

    • E. 

      20.3844 as String (format = ".0#")

    • F. 

      20.3844 as :string (format = ".0#")

  • 62. 
    A Flow Reference component sends a non-empty JSON object payload to another flow named childFlow, which then returns an XML body. A Flow Reference component saves the payload returned from childFlow to its target attribute named payload. Refer to the exhibit. What is true about the Mule event's payload at the next event processor after the Flow Reference component?
    • A. 

      The payload is the XML response body

    • B. 

      The payload is a non-empty Java object

    • C. 

      The payload is the original JSON object

    • D. 

      The payload is null

  • 63. 
    Refer to the exhibit. What is the object type returned by the File List operation?
    • A. 

      Array of Mule event objects

    • B. 

      Object of Mule event objects

    • C. 

      Array of String file names

    • D. 

      Object of String file names

  • 64. 
    In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?
    • A. 

      To save the most recent records retrieved from a database to enable database caching

    • B. 

      To avoid duplicate processing of records in a database

    • C. 

      To enable multithreaded event processing for each record retrieved from a database

    • D. 

      To save the payload into the ObjectStore for future reference

  • 65. 
    Assume that a database table contains a recordID column that always increases as new records get added to the table. In a Mule application, what is the key process to enable manual watermarking for requests to a database using the Scheduler endpoint and the Database SELECT operation?
    • A. 

      Save the max recordID from the set of recordIDs in an Object

    • B. 

      Store and reference this recordID in subsequent database requests

    • C. 

      Enable automatic watermarking in the Database Select operation

    • D. 

      Set the Watermark column in the Scheduler endpoint to the recordID

    • E. 

      Save the max recordID from the set of recordIDs in a variable and reference this variable in subsequent database requests

  • 66. 
    A flow has a JMS Publish consume operation followed by a JMS Publish operation. Both of these operations have the default configurations. Which operation is asynchronous (does not wait for a response before continuing to the next event processor) and which operation is synchronous (blocks and waits for a response or timeout before continuing to the next event processor)?
    • A. 

      Publish consume: Asynchronous. Publish: Synchronous

    • B. 

      Publish consume: Asynchronous. Publish: Asynchronous

    • C. 

      Publish consume: Synchronous. Publish: Asynchronous

    • D. 

      Publish consume: Synchronous. Publish: Synchronous

  • 67. 
    Refer to the exhibits. The Set Payload component sets the payload to a Map object (not an Array). The File Write operation writes out files based on this Map object. How many files are written to the file system when the flow executes?
    • A. 

      0

    • B. 

      1

    • C. 

      2

    • D. 

      3

  • 68. 
    Refer to the exhibit. The payload [1,2,3] is passed to the Batch Job scope. In Batch_Step_1, a variable named batchStepPayload is set to the current payload. What is the value of the last log message after one batch job completes?
    • A. 

      13

    • B. 

      [11, 12. 13]

    • C. 

      33

    • D. 

      30

    • E. 

      10

  • 69. 
    Refer to the exhibit. What are the values of the counter and stepVar variables in the On Complete phase?
    • A. 

      Counter: 31, stepVar: 31

    • B. 

      Counter: 1, stepVar: 31

    • C. 

      Counter: 31, stepVar: null

    • D. 

      Counter: 1, stepVar: null

  • 70. 
    Refer to the exhibit. What are the values of the counter and stepVar variables after the Batch Job?
    • A. 

      Counter: 31, stepVar: 31

    • B. 

      Counter: 1, stepVar: 31

    • C. 

      Counter: 1, stepVar: null

    • D. 

      Counter: 31, stepVar: null

  • 71. 
    A Batch Job scope has three batch steps. An event processor in the second batch step throws an error because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?
    • A. 

      Event processing continues to the third batch step

    • B. 

      All processing of the batch job stops

    • C. 

      The second batch step is retried

    • D. 

      The first batch step is retried

  • 72. 
    Refer to the exhibits. What is the output of the Logger component in the Batch Job?
    • A. 

      [.333] [1]

    • B. 

      [.333, 1]

    • C. 

      [.333, .667, 1, 1.333]

    • D. 

      [.333] [.667] [1] [1.333]

  • 73. 
    In a RAML specification, what attribute defines a query parameter to be optional for a resource?
    • A. 

      Required: false

    • B. 

      Optional: true

    • C. 

      Provided: false

    • D. 

      Mandatory false

  • 74. 
    • A. 

      Payload

    • B. 

      InboundProperties

    • C. 

      OutbountProperties

    • D. 

      Variables

    • E. 

      Attachments

  • 75. 
    What out-of-the-box policy can safeguard against Denial of Service type attacks?
    • A. 

      Rate limiting

    • B. 

      Throttling

    • C. 

      Cross-origin resource sharing

    • D. 

      LDAP security manager

  • 76. 
    A Mule application properties file named training-DEVproperties has been defined. How is the properties file referenced in the Mule application?
    • A. 

      In an attribute in the main mule element

    • B. 

      In a Property Placeholder element

    • C. 

      As a -M-D placeholder when starting the Mule runtime

    • D. 

      In an attribute in the HTTP Listener element

  • 77. 
    What port number is used to expose the domain URL of a Mule application deployed to CloudHub?
    • A. 

      8081

    • B. 

      81

    • C. 

      80

    • D. 

      8080

  • 78. 
    What message processor can set the HTTP response status code to 200?
    • A. 

      Variable

    • B. 

      Set Payload

    • C. 

      Property

    • D. 

      Record Variable

    • E. 

      Attachment

  • 79. 
    What property of a Mule message is immutable?
    • A. 

      Attachments

    • B. 

      OutboundProperties

    • C. 

      Session Variables

    • D. 

      Payload

    • E. 

      InboundProperties

    • F. 

      Flow Variables

  • 80. 
    A Mule application has two flows named parentFlow and childFlow. A variable is defined in parentFlow. What is true for a Mule subflow?
    • A. 

      It can have its own exception strategy

    • B. 

      It is executed synchronously

    • C. 

      An external client can send messages directly to it

    • D. 

      It must be in the same configuration file as the parent flow

  • 81. 
    What is the default processing strategy of a one-way flow?
    • A. 

      Queued-asynchronous

    • B. 

      Synchronous

    • C. 

      Non-blocking

    • D. 

      Thread-per-processor

    • E. 

      Queued-thread-per-processor

  • 82. 
    What is required for two Mule applications to share data using a VM connector component?
    • A. 

      Put the Mule applications in the same Anypoint Platform environment

    • B. 

      Put the Mule applications in the same Anypoint Platform business group

    • C. 

      Put the Mule applications in the same non-default Mule domain

    • D. 

      Put the Mule applications in the same default Mule domain

  • 83. 
    How are outbound properties automatically passed to an outbound REST request using an HTTP Request component?
    • A. 

      As headers

    • B. 

      As query parameters

    • C. 

      As URI parameters

    • D. 

      In the message payload

    • E. 

      As attachments

    • F. 

      As flow variables

  • 84. 
    A WSDL defines a conversionRate operation with an input message that requires two parts: fromCurrency and toCurrency. How are fromCurrency and toCurrency set in the flow in order to call the conversionRate operation using a Web Service Consumer component?
    • A. 

      In two flow variables

    • B. 

      As outbound properties

    • C. 

      As inbound properties

    • D. 

      In the message payload

    • E. 

      As attachments

  • 85. 
    • A. 

      Set URI parameters in the HTTP Request component

    • B. 

      Set inbound properties before the HTTP Request component

    • C. 

      Set query parameters in the HTTP Request component

    • D. 

      Set outbound properties before the HTTP Request component

  • 86. 
    An exception is caught by a choice exception strategy. How is the exception routed?
    • A. 

      To all exceptions whose conditions evaluate to true

    • B. 

      To the first exception strategy whose condition evaluates to true

    • C. 

      To the first exception strategy whose condition evaluates to true and to the default exception strategy

    • D. 

      To the first exception strategy whose condition evaluates to true and to the global exception strategy

  • 87. 
    How is a default exception strategy set in a Mule application?
    • A. 

      In a configuration global element in any Mule configuration XML file

    • B. 

      In the mule-app.properties file

    • C. 

      As an attribute of one or more flow configuration elements in one or more Mule configuration XML files

    • D. 

      As an attribute of a global exception strategy

    • E. 

      As a JVM system environment variable

  • 88. 
    A Payload filter is configured to test for type javalang_String. What happens when the filter is passed a message with the payload null?
    • A. 

      The Mule application stops

    • B. 

      The message is replayed from the start of the flow

    • C. 

      The message is passed to subsequent message processors

    • D. 

      All subsequent message processors are skipped

  • 89. 
    What module and operation will throw an exception 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’s module’s Is number operation

    • D. 

      Filter’s module’s Is not number operation

  • 90. 
    A Mule flow has a JMS queue listener as the message source. Where can the next message processor access a JMS messages header?
    • A. 

      Outbound property

    • B. 

      Inbound property

    • C. 

      Payload

    • D. 

      Attachment

    • E. 

      Flow variable

  • 91. 
    What part of a Mule flow can contain a Poll scope?
    • A. 

      Async scope

    • B. 

      Message source

    • C. 

      For Each scope

    • D. 

      Message Enricher scope

  • 92. 
    How is a Poll scope's watermark accessed from a message processor in a flow?
    • A. 

      In a session variable

    • B. 

      In an outbound property

    • C. 

      In an inbound property

    • D. 

      In a flow variable

    • E. 

      In a header

  • 93. 
    A File connector configured to read files from a /mule/input directory. All other File connector settings are the default settings. What happens to a file after it is processed by the File connector?
    • A. 

      The file is moved to /mule/output

    • B. 

      The file is deleted from the input directory, but is not moved anywhere

    • C. 

      The file is moved to /tmp

    • D. 

      The file stays in the input directory

  • 94. 
    What phase of a batch job using a Batch scope must contain at least one message processor?
    • A. 

      Input

    • B. 

      Load and Dispatch

    • C. 

      Process Records

    • D. 

      On Complete

  • 95. 
    A message payload is modified using a Message Enricher scope with an empty target. What is true about the message payload that leaves the Message Enricher scope?
    • A. 

      The payload is changed to the modified payload

    • B. 

      The modified payload is stored in a flow variable

    • C. 

      The modified payload is stored as an inbound property

    • D. 

      The payload returns to the original payload

    • E. 

      The modified payload is stored as an outbound property

  • 96. 
    A Batch scope has three batch steps. A message processor in the second batch step throws an exception because the input data is incomplete. What is the default behavior after the exception is thrown?
    • A. 

      Continues to the third batch step

    • B. 

      Stops processing the entire batch job

    • C. 

      Retries the second batch step

    • D. 

      Retries the first batch step

  • 97. 
    What is the scope of a record variable in a Batch scope?
    • A. 

      In a single batch step, but not in the other batch steps

    • B. 

      In all batch steps, but not in the On Complete phase

    • C. 

      In the message source, each batch step, and the On Complete phase

    • D. 

      In all batch steps, and the On Complete phase

  • 98. 
    Assume that a database table contains a record ID column that always increases as new records get added to the table. In a Mule application, what is the key process to enable manual watermarking for requests to a database using the Scheduler endpoint and the Database SELECT operation?
    • A. 

      Save the max recordID from the set of recordIDs in an ObjectStore and reference this record in subsequent database requests

    • B. 

      Enable automatic watermarking in the Database SELECT operation

    • C. 

      Set the Watermark column in the Scheduler endpoint to the recordID

    • D. 

      Save the max recordID from the set of recordIDs in a variable and reference this variable in subsequent database request

  • 99. 
    How is the success of a Center for enablement measured?
    • A. 

      Measured on policies in place

    • B. 

      Measured on asset consumption

    • C. 

      Measured on accessibility of assets

    • D. 

      Measured on number of assets available

  • 100. 
    1. What are four ways APIs provide the info for how to communicate with a software component? (Select 4... lol)
    • A. 

      Operations (what to call)

    • B. 

      Inputs (what to send with a call)

    • C. 

      Outputs (what you get back from a call)

    • D. 

      Underlying data types

  • 101. 
    This defines what you can call, what you send it, and what you get back:
    • A. 

      API Specification

    • B. 

      API Proxy

    • C. 

      Web Service

  • 102. 
    What is an application that controls access to a web service, restricting access and usage with an API gateway?
    • A. 

      API Specification

    • B. 

      API Proxy

    • C. 

      Web Service

  • 103. 
    • A. 

      API Specification

    • B. 

      API Proxy

    • C. 

      Web Service

  • 104. 
    How are SOAP web services defined?
    • A. 

      In an XML-based WSDL (Web Services Description Language) file

    • B. 

      DUH

  • 105. 
    What do RESTful web services use?
    • A. 

      Existing HTTP communication protocol

    • B. 

      DUH

  • 106. 
    Which RESTful web service request method partially updates a resource?
    • A. 

      GET

    • B. 

      POST

    • C. 

      DELETE

    • D. 

      PUT

    • E. 

      PATCH

  • 107. 
    Which RESTful web service request method creates a new resource?
    • A. 

      GET

    • B. 

      POST

    • C. 

      DELETE

    • D. 

      PUT

    • E. 

      PATCH

  • 108. 
    Which RESTful web service request method deletes a resource?
    • A. 

      GET

    • B. 

      POST

    • C. 

      DELETE

    • D. 

      PUT

    • E. 

      PATCH

  • 109. 
    Which RESTful web service request method retrieves the current state of a resource in some representation (usually JSON or XML)
    • A. 

      GET

    • B. 

      POST

    • C. 

      DELETE

    • D. 

      PUT

    • E. 

      PATCH

  • 110. 
    Which RESTful web service request method replaces a resource completely? (If the resources doesn't exist a new one is created)
    • A. 

      GET

    • B. 

      POST

    • C. 

      DELETE

    • D. 

      PUT

    • E. 

      PATCH

  • 111. 
    What are four benefits of API portals? (Choose 4)
    • A. 

      Documentation and examples

    • B. 

      Way to register applications and get access to the API

    • C. 

      Way to provide feedback and make requests

    • D. 

      Way to test the API by making calls to it

  • 112. 
    What takes data and devices connected with APIs to make them pluggable and to create reusable services?
    • A. 

      Application network

    • B. 

      DUH

  • 113. 
    What is a method of communication that allows two software systems to exchange data over the internet?
    • A. 

      Web Service

    • B. 

      DUH

  • 114. 
    What provides info for how to communicate with a software component?
    • A. 

      API

    • B. 

      DUH

  • 115. 
    What do RESTful web services use?
    • A. 

      Standard HTTP protocol

    • B. 

      DUH

  • 116. 
    When a REST API is added to the exchange, what is automatically created for it?
    • A. 

      API Portal

    • B. 

      DUH

  • 117. 
    What are three things an API portal has? (Choose 3)
    • A. 

      Auto-generated API documentation

    • B. 

      API console

    • C. 

      Auto-generated API endpoint that uses a mocking service

  • 118. 
    When is a connector automatically created?
    • A. 

      When a RAML 1.0 API specification is added to the exchange

    • B. 

      DUH

  • 119. 
    What application is used for building integration apps that connect systems and consume APIs?
    • A. 

      API designer

    • B. 

      Anypoint Studio

    • C. 

      Flow Designer

  • 120. 
    What application is used for implementing APIs and building integration applications?
    • A. 

      Anypoint Studio

    • B. 

      API designer

    • C. 

      Flow Designer

  • 121. 
    What application is used for designing, documenting, and mocking APIs?
    • A. 

      Flow Designer

    • B. 

      API designer

    • C. 

      Anypoint Studio

  • 122. 
    What is the language Mule uses to access, query, and transform event data?
    • A. 

      DataWeave 2.0

    • B. 

      DUH