ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 84 - MB-820 discussion

Report
Export

You plan to call a web service by using the data type HttpClient from a Business Central AL extension

You must provide the following implementation for the web service call:

* The web service must authenticate the client with a certificate.

* The certificate must include a password.

* The password must be hidden when you debug the code

You need to include the certificate in the web service call. Which instruction should you use?

A.

Httpclient.Addertifieate(certificate: Text, Password: Text);

Answers
A.

Httpclient.Addertifieate(certificate: Text, Password: Text);

B.

HttpClient.AddCertificate{Certifkate: SecretText, Password: SecretText);

Answers
B.

HttpClient.AddCertificate{Certifkate: SecretText, Password: SecretText);

C.

Httpclient.Addeertifieate(Certifieate: Blob, Password: secretText);

Answers
C.

Httpclient.Addeertifieate(Certifieate: Blob, Password: secretText);

D.

HttpClient.AddCertificate{Password: SecreTiext);

Answers
D.

HttpClient.AddCertificate{Password: SecreTiext);

Suggested answer: B

Explanation:

ou plan to call a web service using HttpClient from a Business Central AL extension. The web service must authenticate using a certificate that includes a password, and the password must be hidden during debugging.

Options Explanation=

The question asks for the correct implementation where the certificate and password are provided and where the password is hidden when debugging.

SecretText is a special data type in Business Central that hides sensitive data (like passwords) during debugging.

asked 13/10/2024
Lionel Fitzgerald Gweth
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first