PRACTICA MS

Description

Examen test
gustavo cruz
Quiz by gustavo cruz, updated more than 1 year ago
gustavo cruz
Created by gustavo cruz over 5 years ago
484
1

Resource summary

Question 1

Question
You are creating a table and need to use relationships. What are three examples of relationship types you can use? Each correct answer presents a complete solution.
Answer
  • related field fixed relation
  • restricted relation
  • field fixed relation
  • foreign key relation
  • referential relation

Question 2

Question
You are planning to use X++ to develop a solution that will update multiple records. You need to ensure that if the solution attempts to modify records that are currently being edited by a user, the operation will be retried. Which type of exception should you handle?
Answer
  • UpdateConflict
  • CodeAccessSecurity
  • UpdateConflictNotRecovered
  • Deadlock

Question 3

Question
You are working for a client in a new Microsoft Dynamics 365 for Finance and Operations developer virtual machine (VM). The client has existing models and solutions checked into version control with Visual Studio Team Services. You connect to the Visual Studio Team Services site and want to access the client's existing models to view X++ source code in the Application Object Tree (AOT). To achieve this goal, which two directories do you need to map to your local VM? Each correct answer presents part of the solution.
Answer
  • Metadata
  • BuildProcessTemplates
  • Main
  • Projects

Question 4

Question
You want to provide single login access for all of your Microsoft cloud-based applications, such as Microsoft Office 365 and Enterprise Resource Planning (ERP). Which component of the cloud architecture provides this functionality?
Answer
  • UI Interaction Layer
  • Fleet Management
  • Shared Services
  • Lifecycle Services (LCS)

Question 5

Question
You are installing Microsoft Dynamics 365 for Retail in a store location that has limited Internet connectivity. You need to implement a solution that supports multiple point-of-sale (POS) devices that have shared shifts. Which component should you install to achieve this goal?
Answer
  • Retail Headquarters
  • Retail Store Scale Unit
  • Commerce Runtime (CRT)
  • Retail Software Development Kit (SDK)

Question 6

Question
You are extending primitive data types to make your code more readable, and you need to assign Extended Data Types (EDT) properties. Which best practice should you follow?
Answer
  • Do not leave the display length and style an Auto.
  • Ensure that the HelpText property is the same as the label.
  • Do not use labels for user interface text.
  • Ensure that you reference an EDT when creating table fields.

Question 7

Question
You are a developer for an Independent Software Vendor (ISV). You need to create and modify enumerations within Microsoft Dynamics 365 for Finance and Operations. Which two statements are true about using extensible enumerations? Each correct answer presents a complete solution.
Answer
  • Integer values that belong to the baseline enum are deterministic.
  • The default base enum value can be changed.
  • The Label property on the extended base enum can be modified.
  • The Label property on any base enum value can be modified.

Question 8

Question
You are working for a client in a new Microsoft Dynamics 365 for Finance and Operations environment. The client requests that custom fields be added to the SalesTable table. You need to add them in a way to minimize the cost of maintenance and upgrading. What should you do to add the custom fields?
Answer
  • Create a new package in the ApplicationSuite model.
  • Create a new model that overlayers the ApplicationSuite model.
  • Create a new extension model that references the ApplicationSuite model.
  • Create a new project in the ApplicationSuite model.

Question 9

Question
You are working in a Microsoft Dynamics 365 for Retail environment and need to develop an app that can be installed on a tablet to calculate the sales total with tax for a given list of items. The app must work if the tablet loses wireless connectivity. Which type of interface should you use to develop the app?
Answer
  • Cloud POS
  • User Interface
  • eCommerce
  • Modern POS

Question 10

Question
You are installing Microsoft Dynamics 365 for Retail at a store location. You want to share a drawer between point-of-sale (POS) clients. To achieve this goal, which component should you install on the computer connected to the cash drawer?
Answer
  • Hardware Station
  • Cloud POS
  • Commerce Runtime (CRT)
  • Retail Server

Question 11

Question
You are an Independent Software Vendor (ISV) developer adding functionality to an existing solution. The solution’s model has a label file of XYZen-US.label.txt. You finish creating a job and an action menu item to launch the job. You need to create a new label in the label file for the menu item. Which two steps are recommended when creating the label? Each correct answer presents part of the solution.
Answer
  • Search for the text of the new label to ensure there are no duplicates.
  • Give the new label a meaningful Label ID after clicking the New button.
  • Use all capital letters and numbers for the Label ID of the new label.
  • Use the Label ID generated by the editor after clicking the New button.

Question 12

Question
You are developing a Fleet management module for Microsoft Dynamics 365 Finance and Operations. You create an FMVehicle table to store information that is specific to each vehicle in your fleet. Now, you need to create a form that allows users to view and edit all of the information related to a vehicle. Which form pattern should you use to accomplish this goal?
Answer
  • Workspace Operational
  • List Page
  • Dialog - Basic
  • Details Master

Question 13

Question
Which of the Microsoft Dynamics 365 for Finance and Operations application stack provides financial and human resources management functionality?
Answer
  • Application Suite
  • Application Object
  • Application Foundation
  • Application Platform

Question 14

Question
You are adding a relationship to a table. Which two best practices should you follow? Each correct answer presents part of the solution.
Answer
  • Define a navigational relationship; the validate property on the relation should be set to "Yes" for easier navigation.
  • Set the validate property to No when you are using navigational relationships so that the application is easy to navigate.
  • Name the relationship with an "_rel" suffix in order to differentiate it from the index that is appended with "_idx".
  • Define the relationship to a foreign key on the child table by setting the validate property on the relation to Yes.

Question 15

Question
You 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 complete solution.
Answer
  • a binary hotfix to the Application Object Server (AOS) runtime components
  • an updated Dynamics 365 for Retail customization package
  • a Microsoft Dynamics 365 Language Pack
  • a Retail Software Development Kit (SDK)

Question 16

Question
You are an Independent Software Vendor (ISV) developer who is creating a new module in a solution. As part of the solution, you create a new menu. You need the menu to appear in the list of modules available on the navigation pane. What should you do to achieve this goal?
Answer
  • Create an extension of the MainMenu menu, and add a menu reference to the new menu.
  • Create an extension of the NavPaneMenu menu, and add a menu reference to the new menu.
  • Create an extension of the CommonMenu menu, and add a menu reference to the new menu.
  • Create an extension of the StartPageMenu menu, and add a menu reference to the new menu.

Question 17

Question
You are writing an X++ method to delete a SalesLine record. You need to ensure that the call to the delete() method succeeds. Which two criteria must be met to accomplish this goal? Each correct answer presents part of the solution.
Answer
  • The record to delete must have been read from the database using the forupdate keyword in a select statement.
  • The dispose() method must be called after the delete() method is called.
  • The delete() method must be called inside a transaction by using the ttsbegin and ttscommit statements.
  • The record to delete must be locked first by calling the selectLocked() method.

Question 18

Question
You are working for a client in an existing Microsoft Dynamics 365 for Finance and Operations environment. The client requests a security change on a form named Form1 that already exists in the environment. Form1 contains a single data source and a grid object. The grid object queries on the data source. Form1 also has the following buttons located in the Action pane: one with the Name property set to CreateRecord, which creates new records in the data source, Question No : 17 Question No : 18 Microsoft MB6-894 : Practice Test 13 one with the Name property set to DeleteRecord, which deletes records in the data source, and one with the Name property set to RunMethod There is a Display Menu Item with the Name property set to OpenForm1, the ObjectType property set to Form, and the Object property set to Form1. You need to create a privilege that allows roles containing the privilege to delete records on the form, but denies access to the RunMethod button. You create a new privilege named NewPrivelege1, and you add OpenForm1 as an entry point to NewPrivilege1. You set the AccessLevel to Delete on the OpenForm1 entry point. Which value should you set on the NeededPermission property on the RunMethod button?
Answer
  • Create
  • Manual
  • Correct
  • Delete

Question 19

Question
You want to create a new security policy named VendGroupSecPolicy that causes users who are assigned a specific role to view the vendors in vendor group 100 only. You have created a policy query named VendGroup100Policy and designed it so that the VendTable is the primary table. The users that will be affected by VendGroupSecPolicy must be categorized into an existing security role named VendGroup100XDSRole. You set the Query property on VendGroupSecPolicy to VendGroup100Policy and the Primary Table property to VendTable. Which values should you set on the properties on VendGroupSecPolicy?
Answer
  • Set the Context String property to VendGroup100XDSRole and the Context Type property to ContextString.
  • Set the Context String property to VendGroup100XDSRole and the Context Type property to RoleName.
  • Set the Role Name property to VendGroup100XDSRole and the Context Type property to RoleName.
  • Set the Role Name property to VendGroup100XDSRole and the Context Type property to ContextString.

Question 20

Question
You are an Independent Software Vendor (ISV) developer working on a new solution, and you need to use a custom icon. What should you create to add this icon to the solution?
Answer
  • a reference to the icon in the project
  • an Image folder, and then add the icon
  • a tile item in the model
  • a resource item in the model

Question 21

Question
What is an example of a best practice for creating base enumerations?
Answer
  • Use base enumerations when there is a variable number of user-defined outcomes.
  • Value of zero should be used as the default value for base enumerations.
  • Avoid accessing a constant by using an enumerator.
  • Avoid assigning labels to enumerations that have a default value.

Question 22

Question
You create a new form to allow users to edit records in the Customer table. You need to prevent users from deleting any customer records. What should you do to achieve this goal?
Answer
  • On the CustTable data source on the form, set the Allow Delete property to No.
  • Remove the Delete command button from the form.
  • On the form design, set the View Edit Mode property to View.
  • Implement an OnDeleted event handler to prevent the deletion.

Question 23

Question
You 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?
Answer
  • salesTable = SalesTable::find(_salesId); salesTable.CustomerRef = _customerRef; salesTable.update();
  • update_recordset salesTable setting CustomerRef=_customerRef where salesTable.salesid==_salesId;
  • salesTable = SalesTable::find(_salesId, true); salesTable.CustomerRef = _customerRef; salesTable.update();
  • update_recordset salesTable setting SalesId = _salesId where salesTable.CustomerRef == _customerRef;

Question 24

Question
A team member who is not familiar with IntelliMorph needs to understand what field groups are and the primary advantage of using them. What should you tell the team member?
Answer
  • They are groups of fields referenced directly on forms and reports; however, you need to update ans refresh the filed groups on the forms or reports if there are additions or deletions from the table.
  • They are groupings of fields by data type; field groups allow for the update or data by using indexes to quickly access key columns and rows.
  • They are groupings of fields on the table; they are used for speeding up the entity of information based on the form for which they are designed.
  • They are groupings of physical database fields by logical choice; field groups can be referenced directly on forms and reports, and, upon modification, related references are automatically updated.

Question 25

Question
You are a system administrator for a company’s Microsoft Dynamics 365 for Finance and Operations – Retail live environment. You are responsible for ensuring the environment runs smoothly. In which scenario would you need to monitor diagnostic data in the hot path?
Answer
  • One of the servers in the environment crashed, and you need to troubleshoot the cause of the crash.
  • Telemetry data from other components in your hybrid cloud are not being replicated or backed up.
  • The environment is experiencing performance issues, and you suspect that it is due to hardware issues.
  • Errors exist in one of the Retail Server components, and you need to troubleshoot the root cause of the issues.

Question 26

Question
You work in a Microsoft Dynamics 365 for Finance and Operations development environment. You need to debug X++ source code in Microsoft Visual Studio. To achieve this goal, which process should be attached to the Visual Studio Remote Debugger?
Answer
  • w3wp.exe
  • Ax32Serv.exe
  • iexplorer.exe
  • msvsmon.exe

Question 27

Question
You are an Independent Software Vendor (ISV) developer, and you are reviewing the code in a solution. During the code review, you see the following: using (var sr = new System.IO.StreamReader(_inputFilename)) { var textFromFile = sr.ReadToEnd(); this.processFileDate(textFromFile); } Which two statements about the sr and textFromFile variables are true? Each correct answer presents a complete solution.
Answer
  • The variables storing .Net Framework objects have to be declared using the var keyword.
  • The var keyword indicates the variables can store values of any type.
  • The variables are valid within the block of code in which they were declared.
  • The var keyword infers the type of the variables from their initialization expression.

Question 28

Question
You are a developer working on a new customized form and are troubleshooting a defect on the form. The form displays a summary for each line. The defect report says that the form shows the incorrect summary for return order lines. A display method provides the summary, and the method calls the following: public str salesLineSummary( SalesType _type, str _orderNum, ItemId _itemId, Qty _lineQty, Question No : 28 Microsoft MB6-894 : Practice Test 20 Amount _lineAmount ) { Amount baseAmount = _lineAmount > 0 ? _lineAmount : -1 * _lineAmount; str formattedAmount = num2Str(baseAmount, 10, 2, DecimalSeparator::Dot, ThousandSeparator::Comma); str summary; switch (_type) { case SalesType::Sales: summary = strFmt('Order %1 ordered %2 of %3 [Subtotal: %4]', _orderNum, _lineQty, _itemId, formattedAmount); break; case SalesType::ReturnItem: summary = strFmt('RMA %1 expecting %2 of %3 for %4 credit', _orderNum, _lineQty, _itemId, formattedAmount); default: summary = strFmt('Journal %1: %2 of %3', _orderNum, _lineQty, _itemId); } return summary; } You need to fix the defect in the most efficient way possible. Which modification should you make?
Answer
  • Remove the default block of code from the switch statement.
  • Add an If statement to the default block of code in the switch statement.
  • Exchange the SalesType::Sales with the SalesType::ReturnItem blocks of code in the switch statement.
  • Add a break statement before the default block of code in the switch statement.

Question 29

Question
You need to troubleshoot an issue by using the Async sync library. Where should you go to access this library?
Answer
  • Real Time Service
  • Reatil Server
  • Retail Modern POS
  • Channel Database

Question 30

Question
Developers on your team need to use IntelliSense during the coding process by supplying a list of potential elements from the Application Object Tree (AOT). Because you are converting from an earlier version of the MorphX environment that did not have InteliSense, you need to explain advantages of InteliSense to the development team. Which two descriptions should you provide to your team? Each correct answer presents a complete solution.
Answer
  • It helps maintain consistent spelling of elements.
  • It prompts the user for known methods and possible choices.
  • It consumes assemblies directly within the application.
  • It can efficiently reference classes that are available in other .NET assembly DLL files.

Question 31

Question
You are using the Retail Software Development Kit (SDK) to deploy packages. Which best practice should you follow?
Answer
  • Host the SDK in Lifecycle Services (LCS).
  • Use hooks rather than override handlers.
  • Directly extend any projects involving Microsoft hotfixes or updates.
  • Use triggers to call to new logic within a project.

Question 32

Question
A junior programmer asks you to review an order of operator precedence so that a math operation evaluates appropriately. Which list is ordered correctly?
Answer
  • unary, multiplicative, additive, logical, relational
  • shift, relational, additive, unary, logical
  • unary, multiplicative, additive, relational, logical
  • equality, multiplicative, additive, relational, unary

Question 33

Question
Your development team plans to use the new API exposed in Commerce Runtime (CRT) to set/get or validate values based on enum type. Which two benefits will your team gain from using the new API in this manner? Each correct answer presets a complete solution.
Answer
  • They can directly map between Finance and Operations enums and CRT enums without manually creating the enums in CRT.
  • They can easily override or add triggers at specific extension points instead of owning the entire service or operation.
  • They can help skip certain checks used to override the entire calculate service by adding pre/post triggers for the validation check.
  • They can have multiple partners and ISVs create extensible enums and use them independently without any code merge.

Question 34

Question
You are evaluating the following code: What is the output of this statement?
Answer
  • Option A
  • Option B
  • Option C
  • Option D

Question 35

Question
You are an Independent Software Vendor (ISV) developer working in the "ABCModule" module in an existing solution. You create a new label in the XYZ-en-US.label.txt file with a Label ID of "LabelText", a Label of "Text for the Label", and a Description of "ABC". How should you reference this new label in the Label property of an artifact?
Answer
  • @ABCModule.XYZ.LabelText
  • @XYZ:LabelText
  • @ABCModule.XYZ[LabelText]
  • @XYZ[LabelText]

Question 36

Question
According to best practices for Microsoft Dynamics 365 for Finance and Operations, in which two situations should you use labels? Each correct answer presents a complete solution.
Answer
  • when accessing external resources such as web servers
  • when specifying user interface text for menu items, forms and reports
  • when programming for all external strings
  • when specifying the resource for a form image control

Question 37

Question
You want to create an extension package that references the Application Foundation package. Which two models are included within the Application Foundation package? Each correct answer presents part of the solution.
Answer
  • Workflow Framework
  • Organization Model
  • Fleet Management
  • Number Sequences

Question 38

Question
You 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 complete solution.
Answer
  • Float
  • Real
  • Short
  • AnyType
  • Boolean

Question 39

Question
Which two components of the server architecture of Microsoft Dynamics 365 for Finance and Operations work in conjunction with one another to present web page accessibility through a supported web browser? Each correct answer presents part of the solution.
Answer
  • Forms Engine
  • Cache
  • Data Access Layer
  • Interaction Layer

Question 40

Question
You are an Independent Software Vendor (ISV) developer and are creating a new form for an existing solution. Business requirements state that the form must always open in a grid view. What should you modify to fulfill this requirement?
Answer
  • the Open Mode property on the form’s menu item
  • the Window Type property on the form’s design
  • the Form View Option property on the form’s menu item
  • the View Edit Mode property on the form’s design

Question 41

Question
You are an Independent Software Vendor (ISV) developer, and you are writing a custom job by using the SysOperation framework. The job needs to report informational messages. Which block of code will report an informational message without a request for user intervention?
Answer
  • Option A
  • Option B
  • Option C
  • Option D

Question 42

Question
You manage package deployments for a Microsoft Dynamics 365 Retail environment, and you need to determine if a package rebuild is necessary. Which scenario requires a package rebuild?
Answer
  • You want to re-run a build due to warnings that appear in the Error List pane concerning best practices.
  • You want to force a build of all objects, regardless of whether they have changed.
  • You want to build dependent and reference models at the same time.
  • You cannot set the Synchronize database on the Build Property to True.

Question 43

Question
You are working in a model that extends the Application Suite model, and you want to modify the insert method on the SalesLine table using X++ logic. The code looks like the following: … salesLineType.inserted(); … The salesLineTYpe.inserted() method appears as follows: public void inserted() { } You need to create a class to run code prior to running the salesLineType.inserted() method in the SalesLineType.insert() method. What should you do?
Answer
  • Create a new class and extend the onlineserted event.
  • Create a new class that extends the SalesLineType class. Overwrite the inserted method on your new class.
  • Customize the SalesLine table. Overwrite the insert() method and add your code immediately before the salesLineType.inserted() method.
  • Create a new class, and add a method that is a pre-event handler for the salesLineType.inserted() method.

Question 44

Question
You need to add indexes to a table. Which two best practices should you follow? Each correct answer presents part of the solution.
Answer
  • Determine how the table should be organized by specifying a clustered index.
  • Specify a primary index to determine the unique key on the table.
  • Maintain indexes by making changes directly in the database.
  • Add as many indexes as possible, since more indexes will lead to better performance.

Question 45

Question
You want to install an Application Metadata hotfix in your Microsoft Dynamics 365 for Finance and Operations development environment. You find and download the hotfix zip file from Lifecycle Services (LCS) and extract the hotfix package form the file. Which command-line utility should you use to prepare the installation of the hotfix package?
Answer
  • XppBp.exe
  • ModelUtil.exe
  • SCDPBundleInstall.exe
  • AxUpdateInstaller.exe

Question 46

Question
You are the programmer on a project and are asked to develop an item that is flexible, allows the user to modify ranges, changes parameter criteria at run time, and allows for sorting. Which key object meets these requirements?
Answer
  • View
  • Query
  • Table
  • Map

Question 47

Question
You are an Independent Software Vendor (ISV) developer working on a solution that extends the Commerce Runtime (CRT) to handle new requests for an app deployed to tablets and cell phones. You are in the developer topology and need to troubleshoot an error and check for events. Under which event log in Event Viewer should you look to see the events?
Answer
  • Commerce-RetailServer
  • Commerce-OnlineStore
  • Commerce-LoggingProvider
  • Commerce-ModernPos

Question 48

Question
You create a new retail server API for a Cloud point-of-sale (POS) solution in Microsoft Dynamics 365 for Retail. You need to register your new retail server extension. Which file should you update?
Answer
  • Retail Store Front web.config
  • Retail Server web.config
  • Retail Cloud POS web.config
  • AOS Service web.config

Question 49

Question
You are working in a Microsoft Dynamics 365 for Retail environment and are troubleshooting a scanner that is not able to scan a bar code on an item. You review the event logs on the Retail Server and find several recent events in which the AppSessionId is a non-empty GUID and the UserSessionId contains an empty GUID. What is the main cause of the events in the event log?
Answer
  • The scanner does not have power.
  • The scanner is in offline mode.
  • The scanner has not been signed into by a user.
  • The scanner cannot make a call to the retail server.

Question 50

Question
You are writing a JSON-based custom service to consume a new data entity. You need to expose the data entity to the OData service. What should you do on the data entity to achieve this goal?
Answer
  • Set the PrimaryKey to EntityKey.
  • Set the Visible property to Yes.
  • Set the IsPublic property to Yes.
  • Set the DataManagementEnabled to Yes.

Question 51

Question
You are in a product meeting with a new client. The client asks about the key components for the commerce data exchange for retail development. Which two features should you describe to the client? Each correct answer presents part of the solution.
Answer
  • Data Access
  • API
  • Retail Schedule
  • Master Data

Question 52

Question
What are the three types of menu items used in Microsoft Dynamics 365 for Finance and Operations? Each correct answer presents part of the solution.
Answer
  • Form
  • Output
  • Action
  • Display
  • Report

Question 53

Question
Your company is having issues with indexes. You research the problem and find that, regardless of index type (primary, clustered, or non-clustered), you do not get the expected performance improvements. To resolve the issue, what should you ensure about the columns of the index?
Answer
  • They have the Allow Duplicates property set to No.
  • They are arranged from the most granular to the least granular.
  • They are arranged from the least granular to the most granular.
  • They are sorted in a different order, based on category.

Question 54

Question
You 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
  • Details Master with Standard Tabs
  • Simple List
  • Lookup with Tabs
  • Dialog - Advanced Selection

Question 55

Question
You are a developer for an Independent Software Vendor (ISV). You need to create new extended data types in Microsoft Dynamics 365 for Finance and Operations. What are two best practices for extending a series of data types? Each correct answer presents a complete solution.
Answer
  • An EDT should be created for each atomic entity being utilized.
  • Subtypes are not required for EDTs that do not contain any property changes.
  • You cannot extend the recID or tableID system data types.
  • You cannot use EDTs if one of them is a member of the parent extended data.

Question 56

Question
You are working in a Microsoft Dynamics 365 for Finance and Operations environment that has a Dock site and a Plant site. The Dock site contains one warehouse, and the Plant site contains three warehouses. You want to create a new security role. When users assigned to this security role view the InventLocation form, they should only be able to view the warehouse that is in the Dock site. Which security framework should you use to accomplish this goal?
Answer
  • OAuth 2.0 Authorization
  • Table Permissions Framework
  • Record-Level Security Framework
  • Extensible Data Security Framework

Question 57

Question
You are a developer and want to create an extension of an existing Extended Data Type (EDT) that is a string primitive data type. Which two EDT properties are extendable? Each correct answer presents a complete solution.
Answer
  • String Size
  • Presence Method
  • Display Length
  • Form Help

Question 58

Question
Your coding team is moving from the Peri programming language to X++ code, and you need to explain the key operations of the X++ language to junior programmers. Which operator decrements the current value of the variable on the left by the expression on the right?
Answer
  • -=
  • =
  • -
  • - -

Question 59

Question
You are an Independent Software Vendor (ISV) developer. You are working on a new solution that will support multiple languages and regions, and you need to use labels. Which two best practices should you follow when using the labels? Each correct answer presents a complete solution.
Answer
  • Use descriptive text for the label file ID.
  • Use labels for elements and artifacts.
  • Use the name of the model for of the label file name.
  • Use a new label ID for every element or artifact.

Question 60

Question
You create a model that has many new forms. You need to locate the forms that do not have a form pattern applied to their form design. What are the possible ways to achieve this goal? Each correct answer presents a complete solution.
Answer
  • Use the Find in files command to search for <Pattern> < /Pattern>.
  • Build the model with Run Best Practice Checks checked, and then search the error list for BPErrorFormDesignPatternUnspecified.
  • Run the form patterns report addin, and then filter the generated report for forms with a blank pattern.
  • Run the form statistics addin, and look through the output for forms with Pattern=Unspecified.
  • Perform a Metadata search for type:FormDesign property:Pattern=.

Question 61

Question
You are debugging in X++ and review the following method: Which three best practices does this method violate? Each correct answer presents part of the solution.
Answer
  • The method does not assign a value to the variable var2.
  • The If and Else statements should not use braces because each statement is only one line.
  • The parameter _param should be assigned using the format _param = _param + var1.
  • The method manipulated the parameter _param.
  • The return keyword is used in both the If and the Else statements.

Question 62

Question
You are working for a client who has a cloud-hosted production system on Microsoft Dynamics 365 for Finance and Operations. The client requests for you to apply to a package to the Production environment. What should you do?
Answer
  • Log onto each Production AOS cloud-hosted server, and use ModelUtil.exe to import the package into the Production model store.
  • Generate a runbook for the package by using AXUpdateInstaller.exe, and execute the runbook on each Production AOS cloud-hosted server.
  • Log into Lifecycle Services (LCS) for the client’s project, view the details for the Production environment, click on Maintain, and then Apply updates.
  • Log into Lifecycle Services (LCS) for the client’s project, click on Service requests, and, then create a service request to apply the package.

Question 63

Question
You are an Independent Software Vendor (ISV) developer who is responsible for maintaining code for a solution. During code review, the reviewer identifies the following block of code: The reviewer requests that you improve readability by removing hard coded values in the code. Which two steps should you take to fulfill the request? Each correct answer presents part of the solution.
Answer
  • Option A
  • Option B
  • Option C
  • Option D

Question 64

Question
You are creating a FactBox form. You need to determine whether you should use the Form Part Factbox Grid from pattern or the Form Part Factbox Card form pattern. In which situation should you opt to use the Form Part Factbox Grid?
Answer
  • when the form that the part is on contains a grid
  • if the FactBox resides on a form that has more than one datasource
  • when you want to display multiple rows of related information
  • if the FactBox resides on more than one part of the form

Question 65

Question
You are writing a method to create a new Customer group. You begin by writing the following code: You need to complete the method. With which statement should you replace the TODO comment line to accomplish this goal?
Answer
  • custGroup.insert();
  • RecordInsertList.add(custGroup);
  • insert_recordset custGroup (CustGroup,Name);
  • custGroup.merge();

Question 66

Question
You are an Independent Software Vendor (ISV) developer who is working with an existing solution. The business requirements state that there should be two views of detail data from a parent form. The business logic of the child forms is similar, but they have slightly different logic for selecting detail data. You conclude that you can meet the requirements by using a single child form. What should do on the child form to ensure the business requirements are fulfilled?
Answer
  • Create two display menu items, each with a different value in the Enum Parameter property.
  • Create a single output menu item, and change the Copy Caller Query property to Yes.
  • Create two display menu items, each with a different value in the Enum Type Parameter property.
  • Create two output menu items, each with a different query in the Query property.

Question 67

Question
You are reviewing the basic set of primitive data types in Microsoft Dynamics 365 for Finance and Operations with a client. The client wants to know the best data type to use for a set of literals, such as states of nature or key reporting structures. Which type should you tell the client?
Answer
  • Strings
  • Anytype
  • Containers
  • Enumerations

Question 68

Question
You are a developer for an Independent Software Vendor (ISV). You want to create packages for a Microsoft Dynamics 365 for Retail environment. Which application tool serves as the storage and development area for packages?
Answer
  • Asset Library
  • Lifecycle Services (LCS)
  • Runbook
  • Visual Studio Team Services (VSTS)

Question 69

Question
You are an Independent Software Vendor (ISV) developer and are working on extending a solution. You complete a report and need to invoke it. What are two possible ways to invoke the report? Each correct answer presents a complete solution.
Answer
  • from a Menu Reference located on a Menu artifact
  • from a Menu Item Button located on a Form artifact
  • from a Menu Item Reference located on a Menu artifact
  • from a Menu Button located on a Form artifact

Question 70

Question
You are working in a model that extends the Application Suite model. You create an Action menu item named 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.
Answer
  • Extend the SalesTableDetailsMaintain privilege, and add the ActivateOrder menu item as an entry point to the SalesTableDetailsMaintain privilege.
  • Create a new duty, and create a new privilege. Add the ActivateOrder menu item as an entry point to the new privilege, and add the new privilege to the new duty. Extend the TradeSalesClerk role, and add the new duty.
  • Create a new privilege, and add the ActivateOrder menu item as an entry point. Extend the SalesOrderMaintain duty, and add the new privilege.
  • Customize the SalesTableDetailsMaintain privilege, and add the ActivateOrder menu item as an entry point to the SalesTableDetailsMaintain privilege.

Question 71

Question
You are working in a Microsoft Dynamics 365 for Finance and Operations environment that has an existing form named ModifyData and a display menu item named ModifyData1, which opens ModifyData. You create a second menu item named ModifyData2 that also opens ModifyData. A privilege named 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 accessed through ModifyData2. What should you do to achieve this goal?
Answer
  • Grant the ModifyData1Maintain privilege and the ModifyData2View privilege to the DataManager duty.
  • Grant the ModifyData2View privilege to the DataManager duty.
  • Grant the ModifyData1Maintain privilege to the DataManager duty.
  • Grant the ModifyData1View privilege and the ModifyData2View privilege to the DataManager duty.

Question 72

Question
You are writing an X++ method. You need to perform the same logic for multiple records in the database. How should you iterate over multiple records in X++?
Answer
  • Declare a table buffer variable, and then write a "while select" statement to iterate through each record.
  • Declare a shared variable for the table, and use the next() method to read each record.
  • Declare a RecordSortedList variable for the table, and use the next() method to read each record.
  • Declare an enumerator for the table, and call the moveNext() method to read each record.

Question 73

Question
You 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?
Answer
  • public static NewClass2 construct() { return new NewClass2(); } public void callModifyCustTable() { NewClass1 newClass1 = NewClass1::construct(); newClass1.modifyCustTable(); } }
  • class NewClass2 { public static NewClass2 contsruct() { return new NewClass2(); } public void classModifyCustTable() { newClass1.modifyCustTable(); } }
  • class NewClass2 extends NewClass1 { public static NewClass2 contsruct() { return new NewClass2(); } public void callModifyCustTable() { this construct().modifyCustTable(); } }
  • class NewClass2 extends NewClass1 { public static NewClass2 construct() { return new NewClass2(); } public void callModifyCustTable() { this.modifyCustTable(); } }

Question 74

Question
You have built a package to deploy retail modifications into a source environment for multiple models. What is a result of building this package?
Answer
  • Build artifacts are removed from the previous build.
  • The .NET module that contains the element is incorporated.
  • Only recently changed objects are rebuilt.
  • Only the elements for the current project are built.

Question 75

Question
You are an Independent Software Vendor (ISV) developer and are reviewing another developer's changes to 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?
Answer
  • Add the XYZ display menu item to the Entry Points of a new or existing Security Privilege in the YourModule model.
  • Set the Create Permissions and Delete Permissions properties on the XYZ display menu item.
  • Add the XYZ display menu item to the Entry Points of an extension of an existing Security Privilege in the Application Suite model.
  • Set the Linked Permission Type property to Form, and the Linked Permission Object property to the name of the form on the XYZ display menu item.

Question 76

Question
In a product meeting with a new client, you are asked to describe the key components of the Commerce Runtime (CRT) for retail development. What are two of these key components? Each correct answer presents a complete solution.
Answer
  • Data Access
  • Retail Scheduler
  • Master Data
  • API

Question 77

Question
You are developing a Cloud point-of-sale (POS) solution for Microsoft Dynamics 365 for Retail that validates a member’s loyalty points. You add a method to the RetailTransactionServiceEx class to validate the loyalty points. Which service did you extend when you added this method?
Answer
  • Sync Service
  • Commerce Runtime (CRT) Services
  • Real-time Service
  • Internet Information Services

Question 78

Question
Which area of Microsoft Dynamics 365 for Finance and Operations provides environment monitoring and service level agreement (SLA) monitoring capabilities?
Answer
  • Fleet Management
  • Shared Services
  • Application Platform
  • Lifecycle Services (LCS)

Question 79

Question
You create a new table with the Valid Time State Field Type property set to Date. You add the table as a singular data source to a form, and create a display menu item that opens the form. You add the menu item as an entry point to a new privilege and want to ensure that a role with the privilege can edit records without creating new records. To achieve this goal, what is the minimum access level you should grant to the entry point?
Answer
  • Create
  • Delete
  • Correct
  • Update

Question 80

Question
What are two benefits of applying a form pattern to a form? Each correct answer presents part of the solution.
Answer
  • ensures data consistency by enforcing common relationship patterns between datasources
  • provides default values for many properties on controls
  • enforces a consistent style so that the forms a user encounters are immediately recognizable
  • allows a developer to create many delivered forms from a base form

Question 81

Question
You are planning to deploy Microsoft Dynamics 365 for Finance and Operations and need to select server architecture. Which advantage is unique to the Local Business Data deployment option?
Answer
  • It does not require a locally-installed client and is designed to generate web pages that are accessible on any Internet browser.
  • It is deployed to the cloud using Azure Infrastructure as a Service (IaaS) so that internal IT will not have to support local hardware.
  • It can be subscribed to as a Software as a Service (SaaS) so that no local hardware is utilized and all updates are managed by Microsoft.
  • It utilizes Service Fabric standalone clusters that can be deployed on a Windows 2016 server that resides both in the cloud and on premise.

Question 82

Question
Employees who use a Cloud point-of-sale (POS) at a store report that the product information is not current. There is no Retail Store Scale Unit deployed at the store, and you suspect that the scheduler job that updates product information has failed. Which two actions can you take to check the status of the scheduler job? Each correct answer presents a complete solution.
Answer
  • In Event Viewer, look at the Commerce-RetailServer event log for an event that references the job.
  • In Lifecycle Services (LCS), look in Environment monitoring, and search Activity for the batch job that includes the scheduler job.
  • In Retails Headquarters, look at the history of the distribution schedule that includes the scheduler job.
  • In the Cloud POS, look at the Database connection status screen for the job.

Question 83

Question
You are working for a client in Microsoft Dynamics 365 for Finance and Operations. You design and build a custom package, and upload it to the Asset library in Lifecycle Services (LCS). You need to apply the custom package to the client's Tier 2 environment for testing by generating a runbook. Which two files are required to generate the runbook? Each correct answer presents part of the solution.
Answer
  • the topology data file
  • the development installation service model data file
  • the hotfix installation information file
  • the service model file

Question 84

Question
You need to explain to a team member the difference between TempDB and InMemory table types. In which three ways do TempDB table types differ from InMemory table types for reporting? Each correct answer presents part of the solution.
Answer
  • TempDB tables have a persistent database schema, and the data is deleted when the table goes out of scope.
  • TempDB tables are created and destroyed upon use, which not take any database schema space.
  • TempDB tables are for the storage of large data sets and do not allow exchanging between RAM and disk space.
  • TempDB tables are used for small data sets that are under 128 KB in size.
  • TempDB tables are used when you are unsure of the size of the data set returned.

Question 85

Question
You are an Independent Software Vendor (ISV) developer who is part of a team that is developing a new Microsoft Dynamics 365 for Finance and Operations solution for a client. Another developer adds a resource item to the model. In which two ways can you use this resource? Each correct answer presents a complete solution.
Answer
  • as a visual element of an Image control
  • as the banner of the application dashboard
  • as an icon on a Tile item
  • as an Assembly in the model

Question 86

Question
You are an administrator of a Microsoft Dynamics 365 for Finance and Operations - Retail live environment. You receive a report that the corporate Retail server is unresponsive. Where should you look first to troubleshoot the issue in the most efficient manner possible?
Answer
  • Environment Monitoring in Lifecycle Services (LCS)
  • Event Viewer of the Retail Server
  • Activity Log in Azure Portal
  • Event Viewer of the Application Object Server (AOS)

Question 87

Question
You have previously written a PurchOrderActivation class with the following logic: class PurchOrderActivation { private static PurchOrderActivation construct() { return new PurchOrderActivation(); } ... } You need to instantiate PurchOrderActivation from a new class named PurchOrderActivationExtended, which extends PurchOrderActivation. What are two possible ways to instantiate the PurchOrderActivation class in the initialize method of the PurchOrderActivationExtended class? Each correct answer presents a complete solution.
Answer
  • class PurchOrderActivationExtended extends PurchOrderActivation { public void initialize() { PurchOrderActivation purchOrderActivation = PurchOrderActivation::construct(); } }
  • class PurchOrderActivationExtended extends PurchOrderActivation { public void initialize() { var purchOrderActivation = new PurchOrderActivation(); } }
  • class PurchOrderActivationExtended extends PurchOrderActivation { public void initialize() { var purchOrderActivation = PurchOrderActivation::construct(); } }
  • class PurchOrderActivationExtended extends PurchOrderActivation { public void initialize() { PurchOrderActivation purchOrderActivation = new PurchOrderActivation (); } }

Question 88

Question
Which two processes are implemented within the Application Platform model of the Microsoft Dynamics 365 for Finance and Operations application stack? Each correct answer presents a complete solution.
Answer
  • Create an address book for each company business unit.
  • Integrate workflow processes with external applications.
  • Create SSRS-based business documents.
  • Define the legal entity of your organization.

Question 89

Question
You are developing a solution to insert and update records in a table named Table1, and you need to ensure that you handle the possible exceptions. Table1 does not have any unique indexes that include the ID or the Description fields. The table has the following structure: What is the output of the X++ code?
Answer
  • Max value DDEerror Data error
  • Break
  • Data error_RC
  • Max value DDEerror Error has occurred

Question 90

Question
You finish developing a model named CompletedModel1 that contains objects. Which three items from the model must be included to build the CompletedModel1 model during the package build on the build server? Each correct answer presents part of the solution.
Answer
  • CompletedModel1 build result file
  • Metadata of objects in CompletedModel1
  • Source code of objects in CompletedModel1
  • Visual Studio solution file
  • CompletedModel1 descriptor file
Show full summary Hide full summary

Similar

Chemistry Quiz General -3
lauren_johncock
Important Spanish Verbs
madiywarner
GCSE Maths Symbols, Equations & Formulae
Andrea Leyden
IB Economics: International Trade
Han Zhang
BIOLOGY HL DEFINITIONS IB
Luisa Mandacaru
Philosophy
Rebecca Harbury
mcolby MITOSIS TEST
Melinda Colby
C1:Making Crude Oil Useful (Science-GCSE)
Temi Onas
Urbanisation
Jess Molyneux
AP Psychology Practice Exam
Jacob Simmons
Repaso Revalida PR 2016
Leticia Ortiz del Moral