Which statement is true about using mutual TLS to secure an application?
Answer(s): B
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.
https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#mutual- authentication
Which statement is true when using XML SDK for creating custom message processors?
Answer(s): A
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.
https://docs.mulesoft.com/mule-sdk/1.1/xml- sdk#operations
Which type of cache invalidation does the Cache scope support without having to write any additional code?
Answer(s): C
The Cache scope supports time to live (TTL) as a cache invalidation strategy without having to write any additional code. TTL specifies how long the cached response is valid before it expires and needs to be refreshed. The Cache scope also supports custom invalidation strategies using MEL or DataWeave expressions.
https://docs.mulesoft.com/mule-runtime/4.3/cache- scope#cache_invalidation
What is the MuleSoft recommended method to encrypt sensitive property data?
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.
https://docs.mulesoft.com/mule-runtime/4.3/secure-configuration- properties
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?
Answer(s): D
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.
https://docs.mulesoft.com/api-manager/2.x/http-policy- transform#packaging-the-policy
Post your Comments and Discuss Salesforce Salesforce-MuleSoft-Developer-II exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the Salesforce-MuleSoft-Developer-II content, but please register or login to continue.