お手軽MB-820問題集PDFのベスト問題集を使おう!高得点目指すならここ
Microsoft Dynamics 365 MB-820試験と認定テストエンジン
質問 # 37
You create a query that contains a procedure to display the top customers.
The procedure breaks at runtime.
You need to fix the code.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
正解:
解説:
Explanation:
* Enclose line 08 into BEGIN .. END = NO
* Add TopCustomerOverview.Open(); before = YES
* TopCustomerOverview.SetFilter(Sales_LCY, '>10000'); in line 06.
* Add TopCustomerOverview.Open(); after TopCustomerOverview.SetFilter(Sales_LCY, '>10000'); in line 06. = YES
* Replace SetFilter in line 06 with SetRange. = NO
The code provided has a runtime error because the query TopCustomerOverview must be opened before it can be read from. Therefore, TopCustomerOverview.Open(); should be added before trying to read from the query, which is not present in the code.
Enclosing line 08 into a BEGIN .. END block is unnecessary because it is a single statement, and AL does not require a BEGIN .. END block for single statements within trigger or procedure bodies.
TopCustomerOverview.SetFilter(Sales_LCY, '>10000'); is a correct method to set a filter for the query, and using SetRange instead is not necessary unless the requirement is specifically to set a range of values, which is not indicated in the procedure's description.
In summary, for the procedure to run correctly, the query must be opened after setting the filter and before attempting to read from it. The SetFilter method is correct for the intended operation, and there's no requirement to use SetRange or to enclose the Message call in a BEGIN .. END block.
質問 # 38
A company plans to meet new regulatory requirements.
The regulator has issued new tax tiers.
You need to update the base application table by using a table extension.
Which table field property can you change?
- A. AutoFormatType
- B. DecimalPlaces
- C. BlankZero
- D. CalcFormula
正解:C
解説:
When updating the base application table using a table extension in Microsoft Dynamics 365 Business Central, certain properties of table fields can be modified to meet new requirements, such as regulatory changes. The DecimalPlaces property (B) is one such property that can be adjusted in a table extension. This property determines the number of decimal places that are displayed and stored for decimal fields in the table.
Adjusting the DecimalPlaces property can be particularly useful when dealing with financial data and tax calculations that require precision to meet new tax tiers set by a regulator. It's important to note that not all properties can be modified in a table extension; for example, the CalcFormula property (A) cannot be changed as it affects how the field's value is calculated, which could have significant implications on the base application's logic.
質問 # 39
You create a query that contains a procedure to display the top customers.
The procedure breaks at runtime.
You need to fix the code.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
正解:
解説:
In summary, for the procedure to run correctly, the query must be opened after setting the filter and before attempting to read from it. The SetFilter method is correct for the intended operation, and there's no requirement to use SetRange or to enclose the Message call in a BEGIN .. END block.
質問 # 40
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result these questions will not appear in the review screen.
A company plans to optimize its permission sets.
The company has the following permission sets:
You need to provide the following implementation for a third permission set:
* Create a new Permission Set C that is a composite of Permission Set A and Permission Set B.
* Assign Permission Set C to a user.
You need to ensure that the user has only read access to the Job table.
Solution: Set the Excluded Permission Sets property to Permission Set B.
Does the solution meet the goal?
- A. No
- B. Yes
正解:A
質問 # 41
You need to create the API page according to the requirements.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:
解説:
質問 # 42
You are cleaning up sandbox environments for a company.
The company requires data to be cleared from the environments each time an extension is published.
You need to configure the launch.json file.
Which schemaUpdateMode property should you set?
- A. ForceSync
- B. ForceUpgrade
- C. Recreate
- D. Synchronize
正解:C
解説:
In the context of cleaning up sandbox environments for a company where data needs to be cleared each time an extension is published, the schemaUpdateMode property in the launch.json file should be set to Recreate (D). Setting this property to Recreate ensures that every time the extension is published, the existing tables and data are dropped, and then the tables are recreated based on the current extension's schema. This mode is particularly useful in development and testing environments where you need a clean slate for testing each version of the extension without the remnants of previous data affecting the outcomes. It's important to use this setting cautiously, as it results in the loss of all existing data in the tables defined by the extension, which is suitable for a sandbox environment but not for production environments.
質問 # 43
A company plans to deploy Business Central.
The company has the following deployment requirements:
* Use the company hardware architecture to run the deployment.
* Use sandbox environments to develop extensions.
* Allow tenants to connect to Shopify with the standard connector.
* Use Microsoft Power Automate to create a workflow that calls a business event.
You need to identify the deployment type for each requirement.
Which deployment types should you use? To answer, move the appropriate deployment types to the correct requirements. You may use each deployment type once, more than once, or not at all.
正解:
解説:
質問 # 44
A company has a test application.
A user observes the following error messages when running the test:
* "Unhandled Ul: Message'
* "Unhandled Ul: Confirm"
You need to resolve the errors. Which action should you take?
- A. Create the Message Handler and Confirm Handler methods in the test runner codeunit.
- B. Create the Message Handler and Confirm Handler methods in the test codeunit.
- C. Create a separate test runner codeunit that has Message Handler and Confirm Handler methods.
- D. Create a separate test codeunit that has Message Handler and Confirm Handler methods.
正解:A
解説:
A user observes error messages such as:
"Unhandled UI: Message"
"Unhandled UI: Confirm"
These messages indicate that the test code is not handling system prompts like Message and Confirm dialogs, which can appear during test execution.
Options
Message Handler and Confirm Handler methods are used to intercept and handle these UI prompts during automated testing.
These methods should be added to the test runner codeunit, which is responsible for running the tests and handling these system-level interactions.
質問 # 45
A company has a page named New Job Status connected to a source table named Job. The page has an action named Item Ledger Entries. The company requires the following changes to the page:
* Filter the page to display only jobs with open or quote status.
* Add the following comment for internal use: This page does not include completed jobs.
* Item Ledger Entries action must open the selected job on the page and display it in the Ul for users to modify.
You need to select the property selections to use for each requirement.
Which property selections should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:
解説:
Explanation:
質問 # 46
A company plans to import and export data with Business Central
You must configure an XMLport that provides the following implementation;
* Specifies import 01 export on the Request page at run time
* Formats the data in a non-fixed length CSV format
You need to create the XMLport.
How should you complete the code segment' To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:
解説:
質問 # 47
A company is setting up a sandbox environment.
You observe the following issues in Visual Studio Code:
* When you open the User Settings window, no AL command is available
* In the Problems tab. the error 'The target page Customer List for the extension object is not found' is displayed.
You need to identify a solution for each issue.
Which solutions should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
正解:
解説:
質問 # 48
A company uses a Vendor-List report from the Base Application.
The company has new requirements that cannot be met by extending the Vendor - List report.
You create a new report named My Customized Vendor - List.
You need to replace the Vendor - List report with My Customized Vendor - List.
How should you complete the code segment? To answer, select the appropriate options in the answer area.
NOTE Each correct selection is worth one point.
正解:
解説:
Explanation:
he code in the image shows an event subscription to substitute reports in Business Central.
Code Explanation:
* EventSubscriber subscribes to an event in Business Central that allows you to replace or substitute the report at runtime.
* The event here is associated with Report Distribution Management.
* The local procedure OnSubstituteReport checks if the report being requested is Vendor - List. If it is, it replaces it with My Customized Vendor - List.
Completion:
* EventSubscriber ObjectType: The correct object type in this case is Report Distribution Management.
* Event Name: The appropriate event to substitute a report is OnAfterSubstituteReport.
質問 # 49
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.
正解:
解説:
質問 # 50
You create a codeunit that works with a table named Boxes. You plan to filter the records and then modify them.
You get an error that you do not have permission to work with the Boxes table.
You need to assign the Indirect permissions for the Boxes table to the codeunit.
Which four code blocks should you use in sequence to assign the correct permission? To answer, move the appropriate code blocks from the list of code blocks to the answer area and arrange them in the correct order.
正解:
解説:
1 - TableData
2 - Boxes =
3 - Permissions
4 - RIM
質問 # 51
You have the following XML file sample for the Items list:
You plan to create the next XML file by using an XMLport object.
You need to complete the code segment to export the file in the required format How should you complete the code segment? To answer, select the appropriate options in the answer area.
正解:
解説:
質問 # 52
A company is implementing Business Central.
In the per-tenant extension, TableA Header and TableA Line are document tables, and TableB Header and TableB Line are document history tables.
The company requires that the resulting dataset of query objects contain the following records:
* All records from TableA Header even if no matching record value exists in the linked TableA Line
* Records from TableB Header where a match is found in the linked TableB Line field You need to configure the linked data item to generate the required dataset.
Which SqlJoinType should you use? To answer, move the appropriate SqUoinTypes to the correct dataset requirements. You may use each SqlJoinType once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content.
正解:
解説:
Explanation:
* Include all records from TableA Header even if no matching record value exists in the linked TableA Line: LeftOuterJoin
* Include only matched records from TableB Header: InnerJoin
In SQL and similarly in Business Central when defining table relationships in query objects, the type of join determines how records from one table are combined with records from another table. Here's what each join type means in the context of the company's requirements:
* LeftOuterJoin:
* A LeftOuterJoin includes all records from the 'left' table (TableA Header) and the matched records from the 'right' table (TableA Line). If there is no match, the result is NULL on the side of the 'right' table. This is why it fits the requirement to include all records from TableA Header even if there is no matching record in TableA Line.
* InnerJoin:
* An InnerJoin includes records when there is at least one match in both tables. So, it will only include records from TableB Header where a corresponding match is found in TableB Line. If there is no match, the records from TableB Header will not appear in the result set. This aligns with the requirement to include only matched records from TableB Header.
By using these join types, the company can ensure that their dataset includes the appropriate records from the document tables and document history tables according to their specified requirements.
質問 # 53
A company plans to deploy Business Central.
The company has the following deployment requirements:
* Use the company hardware architecture to run the deployment.
* Use sandbox environments to develop extensions.
* Allow tenants to connect to Shopify with the standard connector.
* Use Microsoft Power Automate to create a workflow that calls a business event.
You need to identify the deployment type for each requirement.
Which deployment types should you use? To answer, move the appropriate deployment types to the correct requirements. You may use each deployment type once, more than once, or not at all.
正解:
解説:
Explanation:
* Use the company hardware architecture to run the deployment: On-premises
* Use sandbox environments to develop extensions: Online
* Allow tenants to connect to Shopify with the standard connector: Online
* Use Microsoft Power Automate to create a workflow that calls a business event: Online When deploying Microsoft Dynamics 365 Business Central, there are two main deployment types to consider:
On-premises and Online.
* On-premises Deployment:
* The requirement to use the company's hardware architecture implies a need for an on-premises deployment. This is because on-premises deployment allows for the application to be installed and run directly from the company's in-house servers and computing infrastructure, giving full control over the environment and data.
* Online Deployment:
* The use of sandbox environments for developing extensions is a feature provided in the online version of Business Central. Sandbox environments are a part of the service offered in the cloud- based version, which allows developers to test and develop without affecting the live environment.
* Connection to Shopify with the standard connector implies an online deployment. The standard connector is typically a cloud-based service that allows Business Central to connect with other cloud platforms like Shopify, which is more seamlessly integrated with the online version.
* Lastly, the use of Microsoft Power Automate to create a workflow that calls a business event suggests an online deployment. Power Automate is a cloud-based service designed to create automated workflows between applications and services - which aligns with the services provided by the online version of Business Central.
Therefore, each requirement aligns with the deployment types as indicated above.
質問 # 54
You need to populate the Incident Date and Status fields in the Room Incident table.
Which instructions or trigger should you use? To answer, select the appropriate options in the answer area NOTE: Each correct selection is worth one point
正解:
解説:
Explanation:
* Instructions to use for Incident Date and Status fields:
* The correct instruction is "Incident Date" := Workdate(); "Status" := Status::Open;. This ensures that when a new record is created, the Incident Date is set to the current work date, and the Status field is initialized to 'Open'. This is essential for ensuring that the incident data is always timestamped and correctly marked upon creation.
* Trigger to introduce the function:
* The correct trigger is Trigger OnModify. This trigger ensures that when a record is modified, such as when an update to the status is made (e.g., from Open to Closed), the necessary logic will be executed to handle the update of fields like Incident Date and Status.
Step-by-Step References:
* Workdate Function in AL
* Triggers in AL
質問 # 55
You create an 'AddltemsToJson" procedure and publish it.
The procedure fails to run.
You need to fix the errors in the code.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
正解:
解説:
質問 # 56
You create a 'Contoso Post" procedure to send an http POST request in JSON format. You publish the procedure to your environment.
You write the following procedure code:
The procedure does not work as expected.
You need to find and fix all errors in HTTP class usage.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
正解:
解説:
Explanation:
Statements:
* Replace line 16 with ResponseText := ResponseMessage
* answer: NoThe correct way to handle the response is to use ReadAs or similar methods to read the content from the response, not just assign the ResponseMessage directly to ResponseText.
Hence, this statement is incorrect.
* In line 13, change the 'text/plain' value to 'application/json'
* answer: YesSince the procedure is expected to send a POST request with JSON content, changing the content type to 'application/json' is correct. This ensures that the server understands the content is in JSON format.
* Replace line 14 with Client.DefaultRequestHeaders.Add('Authorization', 'Bearer ' + Token);
* answer: NoIn AL, the authorization headers are managed through HttpHeaders, and the Client.
DefaultRequestHeaders method is not available in AL. Therefore, this statement is incorrect.
* In line 10, replace WriteFrom with ReadAs
* answer: NoWriteFrom is the correct method for sending the request content, as it writes data from the RequestText variable to the HttpContent. ReadAs is used for reading the response, not for writing the request content.
質問 # 57
How do effective tests in Business Central contribute to application development?
- A. By increasing the number of bugs found after deployment
- B. By confirming that changes in code do not break existing functionalities
- C. By reducing the amount of code needed for applications
- D. By directly interacting with the end-user interface
正解:B
質問 # 58
You develop a table named Contoso Setup and a page.
You plan to use No. Series to automatically assign a unique number to data entries. You set up No. Series on the Vendor Nos. field of the Contoso Setup table.
You need to apply the No. Series Design Pattern to the trigger Onlnsert().
Which four code segments should you use to develop the solution? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.
正解:
解説:
Explanation:
To properly apply the No. Series Design Pattern in the OnInsert() trigger, the correct sequence of actions should be as follows:
* ContosoSetup.Get();
* First, retrieve the Contoso Setup record using the Get method. This ensures that the necessary setup information is available, including the No. Series.
* if "No." = '' then begin
* Next, check if the No. field is empty. If it is, a new number from the No. Series should be assigned.
* NoSeriesManagement.InitSeries(ContosoSetup."Vendor Nos.", "No. Series", 0D, "No.", "No.
Series");
* Call the InitSeries function to assign a new number from the No. Series. This initializes the No.
Series for the Vendor Nos. field.
* ContosoSetup.TestField("Vendor Nos.");
* Lastly, ensure that the Vendor Nos. field is populated and valid by calling TestField.
Correct Order for Code Segments:
* ContosoSetup.Get();
* if "No." = '' then begin
* NoSeriesManagement.InitSeries(ContosoSetup."Vendor Nos.", "No. Series", 0D, "No.", "No.
Series");
* ContosoSetup.TestField("Vendor Nos.");
質問 # 59
Hotspot Question
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 p.
正解:
解説:
質問 # 60
You need to implement the Issue Management module and expose the Postlssue method.
Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
NOTE: Note than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
正解:
解説:
Topic 3, Fabrikam Inc
Company background and technical environment
Current environment
Fabrikam Inc. is a medium-sized company that plans to implement Dynamics 365 Business Central as an ERP system. The company has a development department that will help with the ERP implementation.
Most employees work remotely from different countries or regions and speak different languages. The various locations and languages cause issues with the current on-premises software.
Planned improvements
Fabrikam Inc. plans to implement new and modern software to manage the company. The company wants to use Business Central because it is cloud-based and meets all company requirements.
The company intends to improve reporting and integration functionality by using modern tools such as Power BI and APIs. To reduce the amount of information sent by email, the company plans to expose vendor information to be consumed from external users.
Technical specifications
The development department installed Visual Studio Code to create Business Central extensions so the ERP system could be customized according to company needs. All extensions must be developed for the Business Central 2024 wave 1 online version.
The development department plans to use telemetry to control the appropriate use of each new development and works directly in licensed sandbox environments supplied by Microsoft.
The following departments at Fabrikam Inc. have multiple requirements:
* Development
* Control
* Accounting
* Quality
Development department
The development department designed an extension for the purchase department. Because the developers plan to work with telemetry for monitoring operations, they need the Application Insights information. To accomplish this, the department must add a setting in the corresponding file.
The quality department does not want to receive any warning about the Application Insights setting when the extension is compiled.
Control department
The control department requires customization to Business Central by using a per-tenant extension (PTE) named Subcontract Docs. The PTE includes a table named Subcontract Documents. The table has the following fields:
* ID: A unique identifier
* Subcontract No.: Related to the standard Vendors table
* Description: A short description of a received document
* Document: A media type that has the document
* Comments: Comments about the document
* Date: When the document was imported
* Amount: Amount related with the imported document
* Posted Indicates if the document is managed
The extension must be in English - United States (ENU) and Spanish Traditional Sort (ESP) so the application can be used in both languages. The translations must be on the table, not on the page, to avoid repeating them. The control department does not want to use translation files.
The control department manager requires a brief guide for the Description and Comments fields when employees create a new record so users know what to include in the fields. The guide must disappear as soon as users add a value in the fields.
The Subcontract Documents table must be displayed on a new page named Subcontract Document List through an action from the standard Vendor page.
The Amount field, included in the Subcontract Document List, must be formatted in bold format when the record is posted (field Posted = true).
The control department also requires a report to display a list of subcontract documents named Subcontract Documents Excel List. The report must meet the following requirements:
* Downloads a file only in Microsoft Excel.
* Includes a predefined format with two worksheets; one with the posted subcontract documents and another with the unposted subcontract documents.
Accounting department
The accounting department plans to use Power Bl to analyze information generated by the control department. The accounting department plans to expose an API named API Customer Lines. To improve the performance, the API must use read-only information and work with a Query object to summarize the data.
The accounting department must expose data such as the following.
The qty column must be the sum of the Outstanding quantity field of Sales Order Lines. It must be in descending order by quantity.
The department also exposes a page named Fabrikam Vendor API that includes vendor information from the Vendor table, such as number and name. The API must use the replica database to improve performance.
Because Fabrikam Inc. is based in multiple countries and regions, the company periodically must send accounting movements between two dates to the local tax offices named Fabrikam Accounting.
The format for this file must be an XML file generated by an XMLport object. For security reasons, it is not possible to receive data from this XMLport.
The department has a version 1.0.0.1 installed for an extension named Quality Control. The department develops a new version 1.0.0.2 and uses a codeunit with the subtype Upgrade to update it. The department requires the values for AppVersion and DataVeision on the tnaaer OnUoaradePerCompany after using NavAocGetCurrentModulelnformation.
The generated XML file must have a schema like this:
Quality department
The quality department requires that every new app or extension is designed to meet standard company guidelines. The quality department plans to follow the standard Business Central data model. The quality development must be able to use triggers correctly.
The department must ensure that when a vendor is deleted, the system also removes each record in the Subcontract Documents table related to the vendor. If the subcontract document record has the field Posted = false, it must not be possible to delete the record.
質問 # 61
You create a Business Central report.
You need to insert values on the Request page to be saved for the next time the report is run.
What should you do?
- A. Declare a Savevalues' variable and assign it to true on the OnOpenPage () trigger.
- B. Set the Transact! on Type property to Update.
- C. Set the SaveValues property to true.
- D. Set the Use Request Page property to true.
正解:C
解説:
To ensure that the values inserted on the Request page of a Business Central report are saved for the next time the report is run, the SaveValues property (D) should be set to true. This property is available on the Request page of the report and, when set to true, allows the system to remember the values entered by the user, so they do not have to re-enter them each time they run the report. This feature enhances user experience by reducing repetitive data entry and ensuring consistency in report parameters across multiple executions. The other options mentioned, such as setting the Transaction Type property to Update (A) or declaring a Savevalues variable in the OnOpenPage trigger (B), are not directly related to saving user input on a report's Request page.
質問 # 62
......
Microsoft MB-820 認定試験の出題範囲:
| トピック | 出題範囲 |
|---|---|
| トピック 1 |
|
| トピック 2 |
|
| トピック 3 |
|
| トピック 4 |
|
無料提供中のMB-820試験問題集で(2026年最新のPDF問題集)信頼度の高いMB-820テストエンジン:https://www.jpntest.com/shiken/MB-820-mondaishu
MB-820のPDFで最近更新された問題です集試験点数を伸ばそう:https://drive.google.com/open?id=1D2HFn-_9fA3m2tjs_k8y3kYYaiT4q0qH