Lead2pass is the leader in supplying certification candidates with current and up-to-date training materials for Microsoft Certification and Exam preparation.Lead2pass resources are constantly being revised and updated for relevance and accuracy. We 100% guarantee the materials with quality and reliability which will help you pass any Microsoft certification exam.
QUESTION 41
You have the following X++ code: (Line numbers are included for reference only.)
Methodl and method2 are in Classl. Method3 is in Class2.
You need to ensure that you can change the value of vanable2 at line 21.
What should you do first?
A. Create a protected accessor method for variable2.
B. Create a public accessor method for vanable2.
C. Declare variable2 as a public variable.
D. Declare variable2 as a protected variable.
Answer: D
QUESTION 42
You need to store the preferred method of correspondence in a table named DirPersonTable. The solution must meet the following requirements:
The table must have a field that stores the preferred method of correspondence.
The field must have values of Mail, E-mail, or Unknown.
The text representing the preferred method of correspondence valueson forms must be localized to the language used by the user.
The values in the database must not be localized.
How should you create the field in DirPersonTable?
A. Create an extended data type (EDT) used to store the preferred method of correspondence.The EDT must extend from the string. Use the EDT to create the field in DirPersonTable.
B. Create an enum that stores the preferred method of correspondence and has the values of Mail, E-mail, and Unknown. Use this enum to create the field in DirPersonTable.
C. Create a string field that stores the preferred method of correspondence.
D. Create an integer field that stores the preferred method of correspondence.
Answer: C
QUESTION 43
You need to identify how the Application Object Server (AOS) implements Code Access Security to prevent securedAPIs from being invoked by un trusted code.
Which three verifications are performed by the AOS? Each correct answer presents part of the solution.
A. That the assert is executed on the multiple tiers from the secured class
B. That the code asserts the appropriate permission on the call stack to use the secured class
C. That the assert is executed in trusted code and saved in the Application Object Tree (AOT)
D. That the assert is executed on the same tier as the secured class
E. That the assert modifies the client only invocations of the secured class
Answer: CDE
QUESTION 44
You have two data sources named Items and ItemDetails. There is a relationship between the data sources. ItemDetails contains detailed information about each item in Items.
You plan to create a form that contains two grids.
You need to configure the form to display the details of an item when the item is selected.
What should you set?
A. The LinkType of Items
B. The JoinSource of Items
C. The LinkType of ItemDetails
D. The JoinSource of ItemDetails
Answer: A
QUESTION 45
You have a class named Classl.
You need to identify all of the classes that extend Classl.
Which tool should you use?
A. The Type hierarchy browser
B. The Tracing cockpit
C. The Code profiler
D. The Compare tool
Answer: B
QUESTION 46
You have the following X++ code: (Line numbers are included for reference only.)
Methodl and method2 are in Classl. Method3 is in Class2.
You need to identify the value of varl for the cl object when the execution of the code reaches line 22.
Which value should you identify?
A. 10
B. Undefined
C. 0
D. 5
Answer: A
QUESTION 47
You have the following X++ statement:
You need to identify the output of the statement.
What should you identify?
A. 1
B. 0
C. 1
D. 0
Answer: A
QUESTION 48
You make changes to the security configuration of a role.
You need to ensure that the changes appear in the Application Object Tree (AOT) immediately.
What should you select from the Caches menu?
A. Refresh data
B. Refresh dictionary
C. Refresh report server
D. Refresh elements
Answer: A
QUESTION 49
Your company is performing a security audit.
You need to provide a list of all the roles that have access to a form named Forml.
What should you do?
A. From the Dynamics AX client open System administration, click Common, click Users, and then click Users
B. From the File menu of the Dynamics AX client, click Tools and then click Options
C. From the Application Object Tree (AOT), right-click Forml, click Add-ins click Security tools, and then click View related security roles.
D. From the Application Object Tree (AOT), open Security, right-click a role, click Add-ins. click Security tools, and then click View related security objects.
Answer: A
QUESTION 50
You have a class named Classl thatcontains a static method namedsmethodl and an instance method named method2.
Classl contains the following X+ + code: (Line numbers are included for reference only.)
You need to callsmethodl from meThod2.
Which code segment should you insert at line 10?
A. Closs l.smethodl()
B. Classl::smethodl ()
C. This::smethodl()
D. This.smthodl()
Answer: B
If you want to get more MB6-704 exam preparation material,you can download the free brain dumps in PDF files on Lead2pass.It would be great help for your exam.All the dumps are updated and cover every aspect of the examination