[Dec 16, 2024] Latest MCD-Level-2 PDF Dumps & Real Tests Free Updated Today [Q25-Q44]

Share

[Dec 16, 2024] Latest MCD-Level-2 PDF Dumps & Real Tests Free Updated Today

MCD-Level-2 Dumps With 100% Verified Q&As - Pass Guarantee or Full Refund

NEW QUESTION # 25
A mule application exposes and API for creating payments. An Operations team wants to ensure that the Payment API is up and running at all times in production.
Which approach should be used to test that the payment API is working in production?

  • A. Monitor the Payment API directly sending real customer payment data
  • B. Create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API
  • C. Create a health check endpoint that reuses the same port number and HTTP Listener configuration as the API itself
  • D. Configure the application to send health data to an external system

Answer: B

Explanation:
To test that the payment API is working in production, the developer should create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API. This way, the developer can isolate the health check endpoint from the API traffic and avoid affecting the performance or availability of the API. The health check endpoint should return a simple response that indicates the status of the API, such as OK or ERROR.
References:https://docs.mulesoft.com/api-functional-monitoring/afm-create-monitor#create-a-monitor


NEW QUESTION # 26
When registering a client application with an existing API instance or API Group instance, what is required to manually approve or reject request access?

  • A. To only have Exchange Administrator permission
  • B. To configure the SLA tier for the application
  • C. To configure the SLA tier for the application and have the role of Organization Administrator, API Manager Environment Administrator, or the Manage Contacts permission
  • D. To configure the SLA tier for the application and have the Exchange Administrator permission

Answer: A

Explanation:
To manually approve or reject request access when registering a client application with an existing API instance or API Group instance, it is required to configure the SLA tier for the application and have one of the following roles or permissions: Organization Administrator, API Manager Environment Administrator, or Manage Contracts permission. These roles or permissions allow managing client applications and contracts in API Manager.
References:https://docs.mulesoft.com/api-manager/2.x/client-applications#managing-client-applications-and-con


NEW QUESTION # 27
A Mule application uses API autodiscovery to access and enforce policies for a RESTful implementation.

  • A. Any of the APIkit generate implement flows
  • B. Northing because flowRef is an optional attribute which can be passed runtime
  • C. The name of the flow that has APlkit Console to receive all incoming RESTful operation requests.
  • D. The name of the flow that has HTTP listener to receive all incoming RESTful operation requests

Answer: D

Explanation:
To use API autodiscovery to access and enforce policies for a RESTful implementation, flowRef must be set to the name of the flow that has HTTP listener to receive all incoming RESTful operation requests. This way, API autodiscovery can identify the API implementation andassociate it with the corresponding API specification and policies in API Manager. The flow that has HTTP listener is usually the main flow that contains the APIKit Router.
References:https://docs.mulesoft.com/api-manager/2.x/api-auto-discovery-new-concept#flowref


NEW QUESTION # 28
A Mule application uses API autodiscovery to access and enforce policies for a RESTful implementation.

  • A. Any of the APIkit generate implement flows
  • B. Northing because flowRef is an optional attribute which can be passed runtime
  • C. The name of the flow that has APlkit Console to receive all incoming RESTful operation requests.
  • D. The name of the flow that has HTTP listener to receive all incoming RESTful operation requests

Answer: D

Explanation:
Explanation
To use API autodiscovery to access and enforce policies for a RESTful implementation, flowRef must be set to the name of the flow that has HTTP listener to receive all incoming RESTful operation requests. This way, API autodiscovery can identify the API implementation and associate it with the corresponding API specification and policies in API Manager. The flow that has HTTP listener is usually the main flow that contains the APIKit Router. References:
https://docs.mulesoft.com/api-manager/2.x/api-auto-discovery-new-concept#flowref


NEW QUESTION # 29
What is the MuleSoft recommended method to encrypt sensitive property data?

  • A. The encryption key should be identical for all environments and the sensitive data should be different for each environment
  • B. The encryption key should be different for each environment and the sensitive data should be the same for all environments
  • C. The encryption key and sensitive data should be different for each environment
  • D. The encryption key should be identical for all environments

Answer: C

Explanation:
Explanation
The MuleSoft recommended method to encrypt sensitive property data is to use the Secure Properties Tool that comes with Anypoint Studio. This tool allows encrypting properties files with a secret key and then decrypting them at runtime using the same key. The encryption key and sensitive data should be different for each environment to ensure security and avoid accidental exposure of sensitive data. References:
https://docs.mulesoft.com/mule-runtime/4.3/secure-configuration-properties


NEW QUESTION # 30
Multiple individual Mute application need to use the Mule Maven plugin to deploy to CloudHub.
The plugin configuration should .. reused where necessary and anything project, specific should be property-based.
Where should the Mule Maven details be configured?

  • A. Pom, xml
  • B. A parent pom.xml
  • C. A Bill of Materials (BOM) parent pm
  • D. Settings, xml

Answer: B

Explanation:
To reuse Mule Maven plugin configuration across multiple individual Mule applications, the developer should use a parent pom.xml file. A parent pom.xml file defines common configuration for one or more child projects that inherit from it. The developer can specify common properties and dependencies for all child projects in the parent pom.xml file, such as Mule Maven plugin configuration, and then reference them in each child project's pom.xml file using placeholders. References:
https://docs.mulesoft.com/mule-runtime/4.3/mmp-concept#parent-pomhttps://maven.apache.org/guides/introduc


NEW QUESTION # 31
Refer to the exhibit.
A Mute Object Store is configured with an entry TTL of one second and an expiration interval of 30 seconds.
What is the result of the flow if processing between os'store and os:retrieve takes 10 seconds?

  • A. nullPayload
  • B. originalPayload
  • C. OS:KEY_NOT_FOUND
  • D. testPayload

Answer: A

Explanation:
Explanation
The result of the flow is nullPayload if processing between os:store and os:retrieve takes 10 seconds. This is because the entry TTL of the object store is one second, which means that any stored value expires after one second and is removed from the object store. The expiration interval of 30 seconds only determines how often the object store checks for expired values, but it does not affect the TTL. Therefore, when os:retrieve tries to get the value after 10 seconds, it returns nullPayload because the value has already expired and been removed.
References: https://docs.mulesoft.com/object-store/osv2-faq#how-does-the-time-to-live-work


NEW QUESTION # 32
A heathcare customer wants to use hospital system data, which includes code that was developed using legacy tools and methods. The customer has created reusable Java libraries in order to read the data from the system.
What is the most effective way to develop an API retrieve the data from the hospital system?

  • A. Create the Java code in your project and invoice the data from the code
  • B. Refer to JAR files in the code
  • C. Include the libraries writes deploying the code into the runtime
  • D. Install libraries in a local repository and refer to it in the pm.xml file

Answer: D

Explanation:
To develop an API that retrieves data from a hospital system using reusable Java libraries, the developer should install libraries in a local repository and refer to it in the pom.xml file. This way, the developer can use Maven to manage dependencies and invoke Java code from Mule applications using Java Module operations.
References:
https://docs.mulesoft.com/mule-runtime/4.3/java-module-reference#add-the-java-module-to-your-projecthttps://d


NEW QUESTION # 33
A healthcare portal needs to validate the token that it sends to a Mule API. The developer plans to implement a custom policy using the HTTP Policy Transform Extension to match the token received in the header from the heathcare portal.
Which files does the developer need to create in order to package the custom policy?

  • A. XML template file, YAML configuration file
  • B. JSON properties file, YAML configuration file
  • C. Deployable ZIP file, YAML configuration file
  • D. JSON properties file, XML template file

Answer: A

Explanation:
To package a custom policy using the HTTP Policy Transform Extension, the developer needs to create an XML template file and a YAML configuration file. The XML template file defines the policy logic using Mule components and placeholders for user-defined properties. The YAML configuration file defines the metadata of the policy, such as its name, description, category, parameters, and dependencies.
References:https://docs.mulesoft.com/api-manager/2.x/http-policy-transform#packaging-the-policy


NEW QUESTION # 34
Refer to the exhibit.
What is the result of the Mule Maven Plugin configuration of the value of property its,keystorePassoword in CloudHub 2.0?

  • A. The Mule server encrypts the value
  • B. CloudHub encrypts the value
  • C. Runtime Manager masks the value
  • D. Anypoint Studio secures the value

Answer: C

Explanation:
Explanation
The result of the Mule Maven Plugin configuration of the value of property its,keystorePassword in CloudHub
2.0 is that Runtime Manager masks the value. This means that Runtime Manager hides or obscures the value from anyone who views it in Runtime Manager or Anypoint Platform. References:
https://docs.mulesoft.com/runtime-manager/runtime-manager-agent-for-mule4#properties-tab


NEW QUESTION # 35
A new Mule project has been created in Anypoint Studio with the default settings.
Which file inside the Mule project must be modified before using Maven to successfully deploy the application?

  • A. Settings.xml
  • B. Config.yaml
  • C. Mule.artificact.json
  • D. Pom.xml

Answer: D

Explanation:
To use Maven to successfully deploy the application, the developer needs to modify the pom.xml file inside the Mule project. The pom.xml file contains the configuration and dependencies of the Mule application, as well as the deployment information such as the CloudHub region, environment, and worker size. The developer needs to specify these properties in the pom.xml file before using Maven to deploy the application.
References:https://docs.mulesoft.com/mule-runtime/4.3/mmp-concept#application-deployment-descriptor


NEW QUESTION # 36
A scatter-gather router is configured with four routes:Route A, B, C and D.
Route C false.

  • A. Payload ['2']
  • B. Error,errorMesage.payload.results ['2']
  • C. Payload failures['2']
  • D. Error,errorMessage,payload.failures['2']

Answer: D

Explanation:
Explanation
The result of accessing route C failure is Error,errorMessage,payload.failures['2']. This is because a scatter-gather router returns an aggregated message that contains an array of results from each route and an array of failures from each route. The failures array contains error objects with information about each failed route execution. To access route C failure, which is the third route (index 2), the developer needs to use Error.errorMessage.payload.failures['2'] expression. References:
https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-reference#scatter-gather-output


NEW QUESTION # 37
Refer to the exhibit.

Based on the code snippet, schema,json file, and payload below, what is the outcome of the given code snippet when a request is sent with the payload?

  • A. The Mule flow will execute successfully with status code 204
  • B. The Mule flow will execute successfully with status code 200m and a response will display the message
    '' Age in years which must equal to or greater than zero.''
  • C. The Mule flow will execute successfully with status code 200, and the response will be the JSON sent in request
  • D. The Mule flow will throw the exception 'JSON:SCHEMA_NOT_HONOURED

Answer: D

Explanation:
Based on the code snippet, schema.json file, and payload below, the outcome of the given code snippet when a request is sent with the payload is that the Mule flow will throw the exception
'JSON:SCHEMA_NOT_HONOURED'. This is because the payload does not conform to the schema.json file, which specifies that age must be a number greater than or equal to zero. The payload has age as a string with a negative value, which violates the schema. Therefore, the validate-schema operation throws an error with type
'JSON:SCHEMA_NOT_HONOURED'.
References:https://docs.mulesoft.com/json-module/1.1/json-validate-schema


NEW QUESTION # 38
Which statement is true about using mutual TLS to secure an application?

  • A. Mutual TLS ensures only authorized end users are allowed to access an endpoint
  • B. Mutual TLS increases the encryption strength versus server-side TLS alone
  • C. Mutual TLS authenticates the identity of the server before the identity of the client
  • D. Mutual TLS requires a hardware security module to be used

Answer: C

Explanation:
Explanation
Mutual TLS (mTLS) is an extension of TLS that requires both parties (client and server) to present their certificates to each other during the handshake process. This way, both parties can verify each other's identity and establish a secure connection. The authentication of the server happens before the authentication of the client, as the server sends its certificate first and then requests the client's certificate. References:
https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#mutual-authentication


NEW QUESTION # 39
When implementing a synchronous API where the event source is an HTTP Listener, a developer needs to return the same correlation ID back to the caller in the HTTP response header.
How can this be achieved?

  • A. Enable the CorrelationID checkbox in the HTTP Listener configuration
  • B. Enable the auto-generate CorrelationID option when scaffolding the flow
  • C. Configure a custom correlation policy
  • D. NO action is needed as the correlation ID is returned to the caller in the response header by default

Answer: D

Explanation:
When implementing a synchronous API where the event source is an HTTP Listener, Mule automatically propagates some message attributes between flows via outbound and inbound properties. One of these attributes is correlation ID, which is returned to the caller in the response header by default as MULE_CORRELATION_ID. References:
https://docs.mulesoft.com/mule-runtime/4.3/about-mule-message#message-attributes


NEW QUESTION # 40
When implementing a synchronous API where the event source is an HTTP Listener, a developer needs to return the same correlation ID back to the caller in the HTTP response header.
How can this be achieved?

  • A. Enable the CorrelationID checkbox in the HTTP Listener configuration
  • B. Enable the auto-generate CorrelationID option when scaffolding the flow
  • C. Configure a custom correlation policy
  • D. NO action is needed as the correlation ID is returned to the caller in the response header by default

Answer: D

Explanation:
Explanation
When implementing a synchronous API where the event source is an HTTP Listener, Mule automatically propagates some message attributes between flows via outbound and inbound properties. One of these attributes is correlation ID, which is returned to the caller in the response header by default as MULE_CORRELATION_ID. References:
https://docs.mulesoft.com/mule-runtime/4.3/about-mule-message#message-attributes


NEW QUESTION # 41
Which statement is true when using XML SDK for creating custom message processors?

  • A. Operations can be reused in recursive calls
  • B. Properties are fields defined by an end user of the XML SDK component and serve as a global configuration for the entire Mule project in which they are used
  • C. All operations are public
  • D. An XML SDK provides both inbound and outbound operations

Answer: C

Explanation:
Explanation
When using XML SDK for creating custom message processors, all operations are public by default and can be used by any Mule application that imports them. There is no way to make an operation private or protected in XML SDK. References: https://docs.mulesoft.com/mule-sdk/1.1/xml-sdk#operations


NEW QUESTION # 42
The flow is invoicing a target API. The API's protocol is HTTPS. The TLS configuration in the HTTP Request Configuration global element is set to None. A web client submits a request to
http:localhost:8081/vehicles.

If the certificate of the target API is signed by a certificate authority (CA), what is true about the HTTP Request operation when the flow executes?

  • A. The HTTP Request operation will succeed if the CA'S certificate is present in the JRE's default keystore
  • B. The HTTP Request operation will always fail regardless of the CA
  • C. The HTTP Request operation will always succeed regardless of the CA
  • D. The HTTP Request operation will succeed if the CA's certificate is present in the JRE's default truststore.

Answer: D

Explanation:
The HTTP Request operation will use the default truststore of the JRE to validate the certificate of the target API. If the CA's certificate is present in the truststore, the operation will succeed. Otherwise, it will fail with a handshake exception. References:https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#tls-default


NEW QUESTION # 43
What is the MuleSoft recommended method to encrypt sensitive property data?

  • A. The encryption key should be identical for all environments and the sensitive data should be different for each environment
  • B. The encryption key should be different for each environment and the sensitive data should be the same for all environments
  • C. The encryption key and sensitive data should be different for each environment
  • D. The encryption key should be identical for all environments

Answer: C


NEW QUESTION # 44
......

2024 Valid MCD-Level-2 test answers & MuleSoft Exam PDF: https://testinsides.vcedumps.com/MCD-Level-2-examcollection.html