Prepare for the Microsoft Dynamics 365 Business Central Developer exam with our extensive collection of questions and answers. These practice Q&A are updated according to the latest syllabus, providing you with the tools needed to review and test your knowledge.
QA4Exam focus on the latest syllabus and exam objectives, our practice Q&A are designed to help you identify key topics and solidify your understanding. By focusing on the core curriculum, These Questions & Answers helps you cover all the essential topics, ensuring you're well-prepared for every section of the exam. Each question comes with a detailed explanation, offering valuable insights and helping you to learn from your mistakes. Whether you're looking to assess your progress or dive deeper into complex topics, our updated Q&A will provide the support you need to confidently approach the Microsoft MB-820 exam and achieve success.
You need to access the RoomsAPI API from the canvas app.
What should you do?
API Publishing for Extensions:
In Business Central, when creating custom APIs like RoomsAPI, it is important to ensure that they are automatically published during the installation or upgrade of the extension.
To achieve this, you can include a codeunit of type Install in the extension that explicitly publishes the custom API (RoomsAPI) as a web service. This ensures that it is available for use immediately after the extension is deployed without requiring manual intervention.
Codeunit Type:
A codeunit of type Install runs when the extension is installed or upgraded. This type of codeunit can be used to perform setup tasks such as publishing web services or APIs like RoomsAPI.
Why Not Other Options?
Option A (default API configuration): This would not automatically publish the RoomsAPI. Default APIs do not cover custom APIs.
Option B (enable APIs for the environment): Enabling APIs in Business Central allows the standard APIs to be used, but custom APIs still need to be manually published.
Option C (publish via Web Services page): This would work but requires manual intervention to publish RoomsAPI, which does not fulfill the requirement of automatic publishing during installation.
Reference Documentation:
Codeunit Types in Business Central
You need to define the tables used for the non-conformity entity.
What should you use?
Table Structure in Business Central: When creating entities such as 'non-conformity' entities in Business Central, you use document tables to represent entities that have a header and line structure. In this case, the non-conformity entity has:
A header with common information (Non-conformity Number, Date, Vendor No., etc.).
One or more lines representing the detailed information for each non-conforming item.
Document Table Usage:
Document Table: A document table is the correct table type for scenarios where you have a header (with general information like vendor details) and lines (with detailed, item-specific information).
Document tables are typically used for entities such as Sales Orders, Purchase Orders, or any other transactional data where you have both header and line information.
Supplemental Table (Option C):
Supplemental tables are usually used to add supplementary information to existing data in Business Central. In this case, we need to store detailed line information, which is a core part of the entity rather than supplementary data, so a supplemental table would not be appropriate here.
Document History Table (Option A):
Document history tables are used to track changes and historical data for entities but are not suitable for the main introduction of the entity and its lines. This option is also not appropriate.
Reference Documentation:
Introduction to Business Central Tables
Document Tables in Business Central
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?
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.
A company has an on-premises Business Central instance named TEST The instance uses Windows authorization and a developer services port of 7149 Visual Studio Code is installed on the same server.
You create a new AL project but cannot download the symbols.
The launch json file contains the following code:
You need to download the symbols.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
You are working on an on-premises Business Central instance and unable to download symbols for a new AL project. The current configuration in launch.json does not allow you to download symbols, and you need to make corrections.
Key Points in the Scenario:
Instance name is TEST.
Developer services port is 7149.
Windows authentication is being used.
Correct Answers:
A . Change the server Instance parameter to TEST.
The serverInstance parameter must match the name of the Business Central instance, which is TEST in this scenario. You need to modify this to reflect the correct instance name.
B . Add the port: 7149 parameter.
Since the developer services are using port 7149, you need to specify this in the launch.json file by adding the port parameter with the value 7149.
Incorrect Options:
C . Change the name parameter to TEST: The name parameter is just a label and does not affect downloading symbols, so changing this won't help.
D . Change the authentication parameter to UserPassword: The authentication method is already set to Windows, which is valid for this scenario. Changing it to UserPassword is unnecessary unless specified by the system.
You are customizing Business Central by using Visual Studio Code. You create a project that will extend Business Central. The AL extension contains JSON files, which are automatically generated and are used to store configuration data
For testing purposes, you plan to add the following changes to the files:
* Specify that page 21 must be opened after publishing.
* Enable debugging
* Disable the capability to download the source code
You need to add the configurations to the JSON files.
Which two configurations should you add? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
You are customizing Business Central using Visual Studio Code and JSON files for configuration.
You plan to:
Open page 21 after publishing.
Enable debugging.
Disable the capability to download the source code.
Which configurations should you add?
The options involve two primary JSON files: launch.json and app.json, and configuration tags like startupObjectId and resourceExposurePolicy.
Full Exam Access, Actual Exam Questions, Validated Answers, Anytime Anywhere, No Download Limits, No Practice Limits
Get All 99 Questions & Answers