QUESTION 23You manage a Microsoft Dynamics 365 for Retail environment.You are preparing to deploy packages.Which two types of items can you deploy as a package? Each correct answer presents a completesolution.

Answer: ABExplanation:A deployable package is a unit of deployment that can be applied in any Microsoft Dynamics 365 for Retailenvironment. A deployable package can be a binary hotfix to the Application Object Server (AOS) runtimecomponents, an updated Dynamics 365 for Retail customization package, or a new Microsoft Dynamics365 for Retail customization/application module package.

QUESTION 24You are adding a relationship to a table.Which two best practices should you follow? Each correct answer presents part of the solution.

A. Define a navigational relationship; the validate property on the relation should be set to “Yes” for easier navigation.B. Set the validate property to No when you are using navigational relationships so that the application is easy to navigate.C. Name the relationship with an “_rel” suffix in order to differentiate it from the index that is appended with”_idx”.D. Define the relationship to a foreign key on the child table by setting the validate property on the relation to Yes.

Answer: BD

QUESTION 25What are two benefits of applying a form pattern to a form? Each correct answer presents part of thesolution.

A. ensures data consistency by enforcing common relationship patterns between datasourcesB. provides default values for many properties on controlsC. enforces a consistent style so that the forms a user encounters are immediately recognizableD. allows a developer to create many delivered forms from a base form

Answer: BCExplanation:Microsoft Dynamics 365 for Finance and Operations, Enterprise Edition, makes development easier byproviding a guided experience for applying patterns to forms to ensure they are correct and consistent.They help validate forms and control structures and the use of controls incertain places. Using patternsalso ensures that each new form encountered by a user is immediatelyrecognizable in appearance andfunction. Form patterns can provide many default control properties, which leads to a more guideddevelopment experience.

QUESTION 26You are an Independent Software Vendor (ISV) developer and are reviewinganother developer’s changesto a project.You run the Best Practices Fixer on the project. The following error message appears in the error list in Visual Studio for the display menu item XYZ:BP Rule: [BPErrorMenuItemNotCoveredByPrivilege]:Path: [dynamics://MenuItemDisplay/XYZ]:BPErrorMenuItemNotCoveredByPrivilege: ‘AxMenuItemDisplay’ ‘XYZ’ is not covered by privilege: XYZ(USR) [YourModule]Based on this error message, which recommendation should you make to the developer?

A. Add the XYZ display menu item to the Entry Points of a new or existing Security Privilege in the Your Module model.B. Set the Create Permissions and Delete Permissions properties on the XYZ display menu item.C. Add the XYZ display menu item to the Entry Points of an extension of an existing Security Privilege in the Application Suite model.D. Set the Linked Permission Type property to Form, and the Linked Permission Object property to thename of the form on the XYZ display menu item.

Answer: AExplanation:BPErrorMenuItemNotCoveredByPrivilege: Only the system administrator role can access this form

QUESTION 27You are working in a Microsoft Dynamics 365 for Finance and Operations environment that has an existingform named ModifyData and a display menu item named ModifyData1, which opens ModifyData. Youcreate a second menu item named ModifyData2 that also opens ModifyData.Aprivilegenamed ModifyData1View has the ModifyData1 menu item as an entry point with Read access.There is also a privilege named ModifyData1Maintain that has the ModifyData1 menu item as an entry point, with the Access Level property set to Delete. You create a new privilege named ModifyData2View and add the ModifyData2 menu item as an entry point. You set the Access Level property to Read on the ModifyData2 entry point.You need to create a new duty named DataManager so that a role with this duty can delete data from ModifyData when accessed through ModifyData1 and read data on the ModifyData form when accessedthrough ModifyData2.What should you do to achieve this goal?

A. Grant the ModifyData1Maintain privilege and the ModifyData2View privilege to the DataManager duty.B. Grant the ModifyData2View privilege to the DataManager duty.C. Grant the ModifyData1Maintain privilege to the DataManager duty.D. Grant the ModifyData1View privilege and the ModifyData2View privilege to the DataManager duty.

Answer: AExplanation:Most of the functionality we associate with Dynamics 365 for Finance and Operations is added in the Application Suite. Specific examples include the financial management, inventory or warehouse management, human resources management or the fleet management scenario.

QUESTION 29You are creating a custom lookup form to look up records in a table.You want to provide multiple views of the table on the form.Which form pattern should you apply?

Answer: CExplanation:Lookup basic?This is the basic Lookup pattern that has just one list or tree, and also optional customfilters and actions.Lookup w/tabs?This Lookup pattern is used when more than oneview of the lookup can be madeavailable to the user. Tab captions aren’t shown. Instead, the tab is selected through a combo box.Lookup w/preview?This more advanced Lookup pattern enables a preview of the current record in thelookup grid.

QUESTION 30You are writing a method to update the Customer reference field on a Sales order table record. You begin by writing the following code:class ExampleClass{/// <summary>/// Update the Customer reference field on the Sales orders table./// </summary>/// <param name = “_salesId”>/// Sales order to update /// </param>/// <param name = “_customerRef”>/// Updated Customer reference value/// </param>public static void updateSalesTableCustomerReference(SalesId _salesId,CustRef _customerRef){SalesTable salesTable;}}Which statement will complete the method?

QUESTION 31You are a developer for an Independent Software Vendor (ISV) and will be working with the X++programming language and Microsoft Dynamics 365 for Finance and Operations.Which three primitive data types will you use in this situation? Each correct answer presents a completesolution.

A. FloatB. RealC. ShortD. AnyTypeE. Boolean

Answer: BDEExplanation:Anytype?A placeholder for any data type.Booleans?Can only contain the values false and true.Dates?Contains day, month, and year.Enums?An abbreviation for enumerated text ?a set of literals.GUIDs?A globally unique identifier.Integers?A number without a decimal point. To declare an integer, use the keywordint. Reals?Numbers with a decimal point; also called decimals. Strings?A number of characters. To declare a string, use the keywordstr. TimeOfDay?Contains hours, minutes, and seconds. To declare a time, use the system type timeOfDay.utcdatetime?Contains year, month, day, hour, minute and second.

QUESTION 32You create a new class named NewClass1 in a model. NewClass1 manipulates the CustTable table in the protected method modifyCustTable.NewClass1 has the following code:class NewClass1{public static MainClass1 construct(){return new MainClass1();}protected void modifyCustTable(){…}}In the same model as NewClass1, you create a new class named NewClass2. You want to run the code in the modifyCustTable method from the callModifyCustTable method in NewClass2.What is a correct example of calling the modifyCustTable method from NewClass2?

QUESTION 33You are working in a model that extends the Application Suite model.You create an Action menu itemnamed ActivateOrder, and you extend the SalesTable form by adding the ActivateOrder menu item to the ActionPane.You also have a TradeSalesClerk role that contains the SalesOrderMaintain duty. This duty contains the SalesTableDetailsMaintain privilege, and this privilege contains an entry point to the SalesTable form.You need to grant the TradeSalesClerk role access to the ActivateOrder menu.What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

A. Extend the SalesTableDetailsMaintain privilege, and add the ActivateOrder menu item as an entry pointto the SalesTableDetailsMaintain privilege.B. Create a new duty, and create a new privilege. Add the ActivateOrdermenu item as an entry point tothe new privilege, and add the new privilege to the new duty. Extend the TradeSalesClerk role, and addthe new duty.C. Create a new privilege, and add the ActivateOrder menu item as an entry point. Extend theSalesOrderMaintain duty, and add the new privilege.D. Customize the SalesTableDetailsMaintain privilege, and add the ActivateOrder menu item as an entrypoint to the SalesTableDetailsMaintain privilege.

Answer: BCExplanation:As of the current release for Dynamics 365 for Finance and Operations, you cannot extend a privilege.