Microsoft certification · Exam MB-820

MB-820 Mock Exam Page 3

Microsoft Dynamics 365 Business Central Developer

Free MB-820 questions on Topic 4: Misc. Questions, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 4: Misc. Questions questions

21–24 of 24 free
Question 21
You create the following Vendor table and Item table in Business Central.



Which three code blocks should you use to develop the solution? To answer, move the appropriate code blocks from the list of code blocks to the answer area and arrange them in the correct order.
NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.

Show answerHide answer

Explanation



Explanation: To create a query that assigns vendors to items in Business Central, use the following code blocks in sequence:

dataitem(Vendor; Vendor)
dataitem(Item; Item)
DataItemLink = "Vendor No." = Item.Vendor_No;

Creating a query:In Business Central, a query object is used to combine data from multiple tables. You start by specifying each table as a data item. In this case, you would start with the Vendor table and then the Item table. After specifying the data items, you need to link them together. The DataItemLink property is used to establish a relationship between two data items based on a common field. Here, you are linking the Vendor and Item tables on the "Vendor No." field, which is present in both tables. This link ensures that the query will return a dataset that includes related records from both tables based on the vendor number. The order of the code blocks ensures the logical flow and relationships between tables as required for the query.
Question 22
You plan to create a table to hold client data.
You have the following data integrity requirements:

• Lookups into other records must be established.
• Validate if a record exists in a destination record.

You need to select the table field property to use for each requirement.
Which table field property should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Show answerHide answer

Explanation



Explanation: For the data integrity requirements, the table field properties to use are:
To establish lookups into other records, use the TableRelation property.
To validate if a record exists in a destination record, use the ValidateTableRelation property.
In Business Central, when creating tables to hold data, maintaining data integrity is crucial: TableRelation Property:This property is used to create a relationship between the field in one table and a field in another table, which is typically used for lookups.
When you set the TableRelation property on a field, it allows users to select from a list of values that exist in the related table.
ValidateTableRelation Property:This property is used to ensure that the value entered in a field matches one of the values in a related table. If a user tries to enter a value that doesn't exist in the related table, an error will occur.
Question 23 Choose 1
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?
Show answerHide answer

Correct answer: B HttpClient.AddCertificate{Certifkate: SecretText, Password: SecretText);

Explanation

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.
Question 24 Choose 1
You ate creating a view for a Business Central app.
The view requires a custom layout that displays only customer records with a balance greater than 500 in local currency.
You need to configure the view to specify that it has a custom layout.
Which property combination should you use?
Show answerHide answer

Correct answer: B SharedLayout - true; Filters - where (Balance filter (> 506), “Currency Code" - filter ('LCY')>;

Explanation

Explanation: SharedLayout = true allows for the layout to be shared across views, and it is often used when defining a custom layout that should follow specific filtering conditions.
The Filters property specifies the exact filter criteria for the view, in this case, filtering on Balance > 500 and the Currency Code = LCY (local currency).
A uses incorrect filter syntax and shareLayout = false, which doesn't allow the layout to be shared, so it’s not ideal for this use case.
C and D both have issues with the filter syntax and do not use proper Currency Code filtering or share layout settings.
For more details, check Creating Views in Business Central.

That's the last free question in Topic 4: Misc. Questions

You've seen the free 30% (24 of 80 questions). Full access unlocks every question and full-length MB-820 mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the MB-820 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real MB-820 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full MB-820 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 117questions in the bank
  • Newmock on every attempt