[2024年12月] を試そう!リアルMCD-Level-2問題集で100%無料MCD-Level-2試験問題集 [Q23-Q38]

Share

[2024年12月] を試そう!リアルMCD-Level-2問題集で100%無料MCD-Level-2試験問題集

MCD-Level-2のPDF問題集試験問題 有効なMCD-Level-2問題集

質問 # 23
A scatter-gather router is configured with four routes:Route A, B, C and D.
Route C false.

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

正解:A

解説:
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


質問 # 24
Which properties are mandatory on the HTTP Connector configuration in order to use the OAuth 2.0 Authorization Code grant type for authentication?

  • A. Token URL, authorization URL, client ID, client secret local callback URL
  • B. External callback URL, access token URL, client ID response access token
  • C. External callback URL, access token URL, client ID, response refresh token
  • D. External callback URL, access token URL, local authorization URL, authorization URL, client ID, client secret

正解:A

解説:
Explanation
To use the OAuth 2.0 Authorization Code grant type for authentication, the HTTP Connector configuration requires the following properties: token URL, authorization URL, client ID, client secret, and local callback URL. The token URL is the endpoint of the authorization server that provides access tokens. The authorization URL is the endpoint of the authorization server that initiates the user consent flow. The client ID and client secret are the credentials of the Mule application registered with the authorization server. The local callback URL is the endpoint of the Mule application that receives the authorization code from the authorization server.
References: https://docs.mulesoft.com/http-connector/1.6/http-authentication#oauth-2-0


質問 # 25
What is the MuleSoft recommended method to encrypt sensitive property data?

  • A. The encryption key and 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 should be identical for all environments and the sensitive data should be different for each environment
  • D. The encryption key should be identical for all environments

正解:A


質問 # 26
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 200, and the response will be the JSON sent in request
  • B. The Mule flow will execute successfully with status code 204
  • C. The Mule flow will throw the exception 'JSON:SCHEMA_NOT_HONOURED
  • D. 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

解説:
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


質問 # 27
Refer to the exhibit.
What is the result if ''Insecure'' selected as part of the HTTP Listener configuration?

  • A. The HTTP Lister will accept any unauthenticated request
  • B. The HTTP listener will only accept HTTP requests
  • C. The HTTP Listener will trust any certificate presented by the HTTP client
  • D. Mutual TLS authentication will be enabled between this HTTP Listener and an HTTP client

正解:B

解説:
Explanation
Based on the exhibit below, if 'Insecure' is selected as part of the HTTP Listener configuration, the HTTP listener will only accept HTTP requests. This means that no TLS context will be configured for this listener and no encryption or authentication will be applied to incoming requests. The protocol attribute of this listener will be set to HTTP instead of HTTPS. References:
https://docs.mulesoft.com/http-connector/1.6/http-listener-ref#insecure


質問 # 28
A company has been using CI/CD. Its developers use Maven to handle build and deployment activities.
What is the correct sequence of activities that takes place during the Maven build and deployment?

  • A. Validate, initialize, compile, test package, verify, install, deploy
  • B. Validation, initialize, compile, test, package, install verify, deploy
  • C. Validate, initialize, compile, package, test, install, verify, verify, deploy
  • D. Initialize, validate, compute, test, package, verify, install, deploy

正解:A

解説:
Explanation
The correct sequence of activities that takes place during the Maven build and deployment is validate, initialize, compile, test package, verify, install, deploy. These are Maven lifecycle phases that define a sequence of goals to execute during a build process. Each phase represents a stage in the build lifecycle and can have zero or more goals bound to it. References:
https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html


質問 # 29
A company with MuleSoft Titanium develops a Salesforce System API using MuleSoft out-of-the-box Salesforce Connector and deploys the API to CloudHub.
Which steps provide the average number of requests and average response time of the Salesforce Connector?

  • A. Access Anypoint Monitoring built-in dashboard.
    Select a resource.
    Locate the information under Log Manager < Raw Data.
  • B. Access Anypoint Monitoring's built-in dashboard
    Seclect a resource.
    Create a custom dashboard to retrieve the information.
  • C. Access Anypoint Monitoring's built-in dashboard. Select a resource.
    Locate the information under the Connectors tab.
  • D. Change the API Implementation to capture the information in the log.
    Retrieve the information from the log file.

正解:C

解説:
To get the average number of requests and average response time of the Salesforce Connector, the developer should access Anypoint Monitoring's built-in dashboard, select a resource (such as an application or an API), and locate the information under the Connectors tab. The Connectors tab shows metrics for each connector used by the resource, such as average requests per minute, average response time, and failures.
References:https://docs.mulesoft.com/monitoring/built-in-dashboard-reference


質問 # 30
Which statement is true about using mutual TLS to secure an application?

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

正解:A

解説:
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


質問 # 31
Which plugin or dependency is required to unit test modules created with XML SDK?

  • A. MUnit Maven plugin
  • B. XMLUnit
  • C. Junit
  • D. MUnit Extensions Maven plugin

正解:D

解説:
To unit test modules created with XML SDK, the developer needs to use the MUnit Extensions Maven plugin.
This plugin allows testing XML SDK modules using MUnit by adding a dependency to the module under test and using a custom processor tag to invoke it.
References:https://docs.mulesoft.com/mule-sdk/1.1/xml-sdk#testing


質問 # 32
When a client and server are exchanging messages during the mTLS handshake, what is being agreed on during the cipher suite exchange?

  • A. An encryption algorithm
  • B. The Public key format
  • C. The TLS version
  • D. A protocol

正解:A

解説:
Explanation
A cipher suite is a set of cryptographic algorithms that are used to secure the communication between a client and a server. A cipher suite consists of four components: a key exchange algorithm, an authentication algorithm, an encryption algorithm, and a message authentication code (MAC) algorithm. During the cipher suite exchange, the client and the server agree on which encryption algorithm to use for encrypting and decrypting the data. References: https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#cipher-suites


質問 # 33
An order processing system is composed of multiple Mule application responsible for warehouse, sales and shipping. Each application communication using Anypoint MQ. Each message must be correlated against the original order ID for observability and tracing.
How should a developer propagate the order ID as the correlation ID across each message?

  • A. Wrap all Anypoint MQ Publish operations within a With CorrelationID scope from the Tracing module, setting the correlation ID to the order ID
  • B. Set a custom Anypoint MQ user property to propagate the order ID and set the correlation ID in the receiving applications.
  • C. Use the default correlation ID, Anypoint MQ will sutomatically propagate it.
  • D. Use the underlying HTTP request of Anypoint MQ to set the 'X-CORRELATION_ID' header to the order ID

正解:A

解説:
Explanation
To propagate the order ID as the correlation ID across each message using Anypoint MQ, the developer should wrap all Anypoint MQ Publish operations within a With CorrelationID scope from the Tracing module, setting the correlation ID to the order ID. The With CorrelationID scope allows setting a custom correlation ID for any event that occurs within it. The Tracing module also enables distributed tracing across different Mule applications and services using Anypoint Monitoring. References:
https://docs.mulesoft.com/tracing-module/1.0/tracing-module-reference#with-correlation-id-scope
https://docs.mulesoft.com/tracing-module/1.0/tracing-module-concepts


質問 # 34
An API has been built to enable scheduling email provider. The front-end system does very little data entry validation, and problems have started to appear in the email that go to patients. A validate-customer'' flow is added validate the data.
What is he expected behavior of the 'validate-customer'' flow?

  • A. If only the email address Is invalid a VALIDATION.INVALID_EMAIL error is raised
  • B. If the email address is invalid, processing continues to see if the appointment data and customer name are also invalid
  • C. If the appointment date and customer name are invalid, a
    SCHEDULE:INVALID_APPOINTMENT_DATE error is raised
  • D. If all of the values are invalid the last validation error is raised:SCHEDULE:INVALID_CUSTOMER_NAME

正解:A

解説:
The validate-customer flow uses an until-successful scope to validate each field of the customer data. The until-successful scope executes its processors until they succeed or exhausts the maximum number of retries.
If any processor fails, it raises an error and stops executing the remaining processors. Therefore, if only the email address is invalid, a VALIDATION.INVALID_EMAIL error is raised and the validation of appointment date and customer name is skipped.
References:https://docs.mulesoft.com/mule-runtime/4.3/until-successful-scope


質問 # 35
Which command is used to convert a JKS keystore to PKCS12?

  • A. Keytool-importkeystore -srckeystore keystore jks-srcstoretype PKCS12 -destkeystore keystore.p12
    -deststoretype JKS
  • B. Keytool-importkeystore -srckeystore keystore jks-srcstoretype JKS -destkeystore keystore.p13
    -deststoretype PKCS12
  • C. Keytool-importkeystore -srckeystore keystore p12-srcstoretype PKCS12 -destkeystore keystore.jks
    -deststoretype JKS
  • D. Keytool-importkeystore -srckeystore keystore p12-srcstoretype JKS -destkeystore keystore.p12
    -deststoretype PKCS12

正解:D

解説:
To convert a JKS keystore to PKCS12, the developer needs to use the keytool-importkeystore command with the following options: -srckeystore keystore.jks -srcstoretype JKS -destkeystore keystore.p12 -deststoretype PKCS12. This command imports all entries from a source JKS keystore (keystore.jks) into a destination PKCS12 keystore (keystore.p12).
References:https://docs.oracle.com/en/java/javase/11/tools/keytool.html#GUID-5990A2E4-78E3-47B7-AE75-6D


質問 # 36
A Mule application for processing orders must log the order ID for every log message output.
What is a best practice to enrich every log message with the order ID?

  • A. Use flow variables within every logger processor to log the order ID
  • B. Set a flow variable and edit the log4/2.xml file to output the variable as part of the message pattern
  • C. Use the Tracing module to set logging variables with a Mapped Diagnostic Context
  • D. Create a custom XML SDK component to wrap the logger processor and automatically add the order ID within the connector

正解:C

解説:
To enrich every log message with the order ID, the developer should use the Tracing module to set logging variables with a Mapped Diagnostic Context (MDC). The Tracing module allows adding custom key-value pairs to log messages using MDC variables. The developer can use Set Logging Variables operation to set the order ID as an MDC variable and then use it in any logger processor within the same thread or event.
References:https://docs.mulesoft.com/tracing-module/1.0/tracing-module-reference#set-logging-variables


質問 # 37
Refer to the exhibit.

A Mule application pom.xml configures the Maven Resources plugin to exclude parsing binary files in the project's src/main/resources/certs directory.
Which configuration of this plugin achieves a successful build?

  • A.
  • B.
  • C.
  • D.

正解:B

解説:
Explanation
To configure the Maven Resources plugin to exclude parsing binary files in the project's src/main/resources/certs directory, option C should be used. This option specifies that any files with .cer or .jks extensions under the certs directory should be excluded from filtering. Filtering is a process of replacing placeholders with actual values in resource files during the build process. Binary files should not be filtered because they may become corrupted or unusable. References:
https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
https://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html


質問 # 38
......

究極のMCD-Level-2無料準備ガイド最新のMuleSoft練習テスト問題集:https://jp.fast2test.com/MCD-Level-2-premium-file.html


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어