prepking - gratisexam.com€¦ · you are writing a direct sql ... (sqlstring).secure(); stmt ......

30
PrepKing Number : MB6-821 Passing Score : 800 Time Limit : 120 min File Version : 8.0 http://www.gratisexam.com/ PrepKing - MB6-821

Upload: duongtuyen

Post on 15-May-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

PrepKing

Number: MB6-821Passing Score: 800Time Limit: 120 minFile Version: 8.0

http://www.gratisexam.com/

PrepKing - MB6-821

Exam A

QUESTION 1Now according to the instruction of your manger, you have to move modifications between a developmentand a test system. So what should you do to achieve this? (choose more than one)

A. In order to achieve this, from the development application file directory, export the modifications to a.xpo file and import it into the test system.

B. In order to achieve this, in the test application use the application merge tool, specify the developmentapplication directory.

C. In order to achieve this, from the development application run the application upgrade wizard, specifythe test application file directory.

D. In order to achieve this, from the development application file directory Copy the .aod and .ald files tothe test application file directory.

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:

QUESTION 2You are writing a direct SQL statement, to execute a statement and tell the Code-Access Security layer thatit is safe, what would be the correct syntax to achieve this?

A. new SqlStatementExecutePermission(sqlString).assert(); stmt.executeQuery(sqlString);CodeAccessPermission::revertAssert();

B. new SqlStatementExecutePermission(sqlString).secure(); stmt.executeQuery(sqlString);CodeAccessPermission::revertSecure();

C. new CodeAccessPermission(sqlString).assert();stmt.executeQuery(sqlString);CodeAccessPermission::revertAssert();

D. new SqlStatementExecutePermission(sqlString).assert(); stmt.executeQuery(sqlString);SqlStatementExecutePermission::revertAssert();

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 3Now the manager of your company has assigned a task to you, you have to write X++ code to iteratethrough the elements in a Map object. In order to achieve this, what class(es) can you use?

A. You can use Map to do this.B. You can use MapIterator to do this.C. You can use ListIterator to do this.D. You can use MapEnumerator to do this.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:

QUESTION 4Do you know when literals will be used by the default behavior of a select statement?

A. The default behavior of a select statement will use literals when no locking (forupdate) is specified onthe select statement.

B. The default behavior of a select statement will use literals when the number of recordsC. The default behavior of a select statement will use literals when an update is performed using an array

operation like update_recordset or delete_from.D. The default behavior of a select statement will use literals when the select joins more than two tables

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 5Now one of your colleagues ask for your helo, he has no idea about where the entire table cache islocated?

A. When browsing the data in a grid, the entire table cache will be present on the client to reduce responsetime.

B. The entire table cache will be present on a dedicated cache server to support clustering of multiple AOSservers.

C. The entire table cache will be resent on the server to make the cached data available for all clientsconnected.

D. The entire table cache will be present on the database server as this will reduce the internal disk I/O andimprove scalability.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 6You have to install a new DLL which you will reference in your X++ code in Microsoft Dynamics AX. Wheninstalling DLL assemblies that will be referenced by Microsoft Dynamics AX, which of the following is true?

A. The DLL can be installed into the Bin directory of the Microsoft Dynamics AX Client, on each machinewhere a Client is installed.

B. Install each DLL into the Global Assembly Cache on each machine where a Microsoft Dynamics AXApplication Object Server is installed.

C. The DLL can be installed into the Global Assembly Cache on the machine where the MicrosoftDynamics AX application files are installed.

D. The DLL can be installed into the Bin directory of the Microsoft Dynamics AX Application Object Server,on each machine where an Application Object Server is installed.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:

QUESTION 7Now one of your colleagues asks for your company, he has no idea about web service references arecreated under which node in the AOT. So what's your answer?

A. Web service references are created under Services.

B. Web service references are created under Resources.C. Web service references are created under ReferencesD. Web service references are created under Web > Web Services

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 8In order to use an aggregated field on a report data source, what steps must be taken to perform this?

http://www.gratisexam.com/

A. In order to use an aggregated field, rght-click in a section in the report design, and select Add Sum.B. In order to use an aggregated field, add one or more fields to the Group By section in the data source.C. In order to use an aggregated field, right-click on the Fields Node in the data source and select New,

and then the type of aggregate field.D. In order to use an aggregated field, set the Dynamic property on the Fields node on the data source to

No, and delete all the fields in the field list.

Correct Answer: BCDSection: (none)Explanation

Explanation/Reference:

QUESTION 9The PrintJobSettings class is used with report output. What is the PrintJobSettings class used for? (choosemore than one)

A. The PrintJobSettings class can be used to set report options.B. The PrintJobSettings class can be used to retrieve report options.C. The PrintJobSettings class can be used to create new report options.D. The PrintJobSettings class contains methods and variables to hold the report output settings.

Correct Answer: ABDSection: (none)Explanation

Explanation/Reference:

QUESTION 10To use Workflow in Microsoft Dynamics AX, which components need to be installed to do this?

A. Workflow accounts has to be installed to use Workflow in Microsoft Dynamics AX.B. Workflow website in IIS has to be installed to use Workflow in Microsoft Dynamics AX.C. Workflow server component has to be installed to use Workflow in Microsoft Dynamics AX.D. Workflow application layer has to be installed to use Workflow in Microsoft Dynamics AX.

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:

QUESTION 11You want to find the online help files. Do you know where the online help files are stored?

A. The online help files are stored in the AOT.B. The online help files are stored in .hlp files on the AOS.C. The online help files are stored in.chm files on the client machine.D. The online help files are stored in .ahp files in the application files directory.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 12Look at the following description: "This method receives a container as a parameter and restores the typespecific variables of the class" Do you know which method on RunBase class this statement describes?

A. This statement describes main.B. This statement describes unpack.C. This statement describes initValue.D. This statement describes getFromDialog.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 13Now one of your colleagues asks for you help, he has no idea about how to distinguish RecordSortedListfrom RecordInsertList. So what's your answer?

A. Multiple records cannot be inserted into the database in one trip by RecordInsertList.B. Multiple records cannot be inserted into the database in one trip by RecordSortedList.C. RecordInsertList is short of the sort order features that are available in RecordSortedList.D. RecordSortedList is short of the sort order features that are available in RecordInsertList.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 14Parm tables uniquely identify each update by using a ParmId value. Do you know how the ParmId value iscreated?

A. The ParmId value is a GUID created using the newguid() function.

B. The ParmId value is a GUID created using the WinAPI::createGUID() function.C. The ParmId value is a a sequential number taken from the System ID number sequence set up on the

Company Info table.D. The ParmId value is a sequential number taken from the Parm ID number sequence set up on the

Administration parameters.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 15An ODBC connection to an external database is created by the following code.If (odbcConnection){sql ="SELECT * FROM MYTABLE WHERE FIELD =" + criteria + " ORDER BY FIELD1,FIELD2 ASC"perm = new SqlStatementExecutePermission(sql);perm.assert();statement = odbcConnection.createStatement();resultSet = statement.executeQuery(sql);/*insert answer here*/}Which block of code is valid and can be inserted into the /*insert answer here*/ line?

A. while (resultSet.next()){print resultSet.get(1);print resultSet.get(3);}pause;

B. while (resultSet.next()){print resultSet.getString(2);print resultSet.getString(1);}resultSet.close();pause;

C. while (resultSet.next()){print resultSet.getString(1);print resultSet.getString(3);}pause;

D. while (resultSet.next()){print resultSet.get(4);print resultSet.get(3);} resultSet.close();statement.close();pause;

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 16Microsoft Dynamics AX tracks variations in inventory movements by using a concept called "inventory

dimensions". Do you know what the two defined types of inventory dimensions are? (choose more thanone)

A. ItemB. SourceC. StorageD. Location

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:

QUESTION 17Now one of your colleagues ask for your help, he has no idea about which method is used to add customertransactions to a voucher. So what's your answer?

A. CustVoucher.add() is used to perform this.B. CustVoucher.end() is used to perform this.C. ledgerVoucher.Add()is used to perform this.D. LedgerVoucher.end()is used to perform this.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 18You are writing a .net application that will be used by users who are not Microsoft Dynamics AX users. Theprogram will use a default Microsoft Dynamics AX user for anyone that uses the program. In order to makethe .net program can login through the business connector and impersonate a default user, which methodin the IAxapta3 interface can you use to achieve this?

A. You can use logon() to use it.B. You can use logonAs() to use it.C. You can use LogonUser() to use it.D. You can use logonImpersonate() to use it.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 19Now one of your colleagues asks for your help, he has to distinguish between an insert and update on aform. But he doesn't know how to do this. So what would you do?

A. You should check if initValue has been set to Active.B. You should call the UpdateTrue method on the data source.C. You should check the value of the Boolean "New" on the record.D. You should create a condition on the RecId field in the Write method on the data source.

Correct Answer: D

Section: (none)Explanation

Explanation/Reference:

QUESTION 20You have written some code that uses a number sequence. You get an error message when you run it. Theerror message is "System does not support setup of continuous number sequence." So what may causethis?

A. The number sequence reference is not set to Continuous.B. The call to the number sequence is not inside a transaction.C. The code has been written in a form method, instead of a class.D. The number sequence reference has not been added to the number sequence table.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 21In order to specify which table is to be used in a workflow, it must be added to a query. How do you specifythat the workflow should use this query?

A. You should set the query name in the Workflow Template.B. You should specify the WorkFlow Document in the Workflow Template.C. You should create a class that extends workflowDocument and the getTemplateName() method.D. You should create a class that extends workflowDocument and override the getQueryName() method.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:

QUESTION 22You want to obtain an overview of the data types inherited from AmountMST, what should you use toachieve this?

A. In order to achieve this, you should use the Reverse Engineering tool.B. In order to achieve this, you should use the "Used by" node in the AOT.C. In order to achieve this, you should use the Application Hierarchy Tree.D. In order to achieve this, you should use the "References" node in the AOT.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 23You have to run a form from his X++ code. choose the correct statement to replace the /* insert answerhere */ comment in the following code:Args args;FormRun formRun;

;args = new args(formstr(inventTable));formRun = classFactory.formRunClass(args);/* insert answer here */

A. formRun.init();formRun.run();

B. formRun.init();formRun.run();formRun.prompt();

C. formRun.init();formRun.run();formRun.wait();

D. formRun.init();formRun.prompt();formRun.wait();

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 24Now one of your colleagues ask for you help, he has no idea about what the RunBase framework can beused for. So what's your answer?

A. The RunBase framework can be used to define a common structure for all forms in Microsoft DynamicsAX.

B. The RunBase framework can be used to define a common structure for all reports in MicrosoftDynamics AX.

C. The RunBase framework can be used to define a common structure for all access rights in MicrosoftDynamics AX.

D. The RunBase framework can be used to define a common structure for all data manipulations inMicrosoft Dynamics AX.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 25The following block of code produces the Query object. Query q; QueryBuildDataSource qbDS;QueryBuildRange qbR;;q = new Query();qbDS = q.addDataSource(tableNum(InventTrans));qbDS.addSelectionField(fieldNum(InventTrans,Qty),SelectionField::Sum); qbDS.orderMode(OrderMode::GroupBy);qbR = qbDS.addRange(fieldNum(InventTrans, ItemId)).value(SysQuery::value(""OL-2500"")); qbDS =qbDS.addDataSource(tableNum(InventDim));qbDS.orderMode(OrderMode::GroupBy);qbDS.addSortField(fieldNum(InventDim, InventBatchId)); qbDS.relations(true);Do you know which select statement is identical to the Query object?

A. while select inventTranswhere inventTrans.ItemId ==OL-2500join inventDimgroup by inventBatchId

where inventDim.InventDimId == inventTrans.InventDimIdB. select sum(qty) from inventDim

group by inventBatchIdjoin inventTranswhere inventTrans.InventDimId == inventDim.InventDimId & inventTrans.ItemId ==OL-2500

C. while select sum(qty) from inventDimgroup by inventBatchIdjoin inventTranswhere inventTrans.InventDimId == inventDim.InventDimId & inventTrans.ItemId ==OL-2500

D. while select sum(qty) from inventTranswhere inventTrans.ItemId ==OL-2500join inventDimgroup by inventBatchIdwhere inventDim.InventDimId == inventTrans.InventDimId

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 26Do you know what the class that posts transactions to a journal is?

A. LedgerPost is the class that posts transactions to a journal.B. JournalPost is the class that posts transactions to a journal.C. NewJournalPost is the class that posts transactions to a journal.D. LedgerJournalCheckPost is the class that posts transactions to a journal.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 27Now one of your colleagues asks for your help, he has no idea about which class is used to post InventoryJournals. So what's your answer?

A. InventPostJournal is used to post Inventory Journals.B. InventJournalPost is used to post Inventory Journals.C. InventCheckPostJournal is used to post Inventory Journals.D. InventJournalCheckPost is used to post Inventory Journals.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 28Look at the following code.System.Xml.XmlDocument xmlDoc;; /* insert answer here */xmlDoc = new System.Xml.XmlDocument();...xmlDoc.Save('c:\\test.xml');The code saves an xml document to a file.

This action invokes the Code Access Security layer, and needs to have the correct permissions asserted.Which line of code that is missing from the following block of code, will achieve this?

A. new InteropPermission().assert();B. new InteropPermission(InteropKind::CLRInterop).assert();C. new InteropPermission(InteropKind::COMInterop).assert();D. new InteropPermission(InteropKind::DLLInterop).assert();

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 29When code is required to be executed when the user clicks the OK command button, which form methodcan be overridden?

A. OK() can be overridden.B. Close() can be overridden.C. OkClose() can be overridden.D. CloseOK() can be overridden.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 30Do you know what class controls updating the status of a production order?

A. ProdStatusType controls updating the status of a production order.B. CtrScheduleJobs controls updating the status of a production order.C. ProdMultiRelease controls updating the status of a production order.D. ProdUpdScheduling cong the status of a production order.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 31Two menu items have been created by you. They're to be used for the Approve and Deny actions in aworkflow. Where should you assign the menu items to the workflow?

A. In the Workflow Document class.B. In the WorkFlow Processor class.C. In the Workflow Template component.D. In the Workflow Approvals component.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 32After the best-error has been investigated whether record-level security is required, in a display method,how can it be turned off?

A. In order to achieve this, add the comment: //BP deviation documentedB. In order to achieve this, add the comment: //Record-security documentedC. In order to achieve this, add the keyword Ignore to the method definition.D. In order to achieve this, add the keyword Secure to the method definition.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 33You create a new class. The new class extends the RunBase Framework. For user interaction, you have tomake the query visible on the dialog. In order to achieve this, which methods will you need to override?

A. In order to achieve this, you have to override showQuery()B. In order to achieve this, you have to override queryVisible()C. In order to achieve this, you have to override showQueryValues()D. In order to achieve this, you have to override queryValuesVisible()

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 34In the options below, which strategy is appropriate to reduce locking of central records in the database?

A. Set up the class to run on the server.B. Always specify an index to reduce the load on the database.C. Set up the table to use Optimistic Concurrency Control (OCC).D. When n accessing records which can increase the locking, don??t use ttsBegin and ttsCommit.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 35Now the manager of your company assigns a task to you. You have to optimize a While Select statement,when performing this, what should you use?

A. When performing this, you should use Join.B. When performing this, you should use Order by.C. When performing this, you should use Fieldlist.D. When performing this, you should use Quick select.

Correct Answer: ACSection: (none)Explanation

Explanation/Reference:

QUESTION 36Now one of your colleagues asks for your help, he has no idea about which class is used to createinventory transactions. So what's your answer?

A. InventNew is used to create inventory transactions.B. InventTrans is used to create inventory transactions.C. InventUpdate is used to create inventory transactions.D. InventCreate is used to create inventory transactions.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 37Now one of your colleagues asks for your help, a form must be designated to be a ListPage style form, buthe doesn't know how to achieve this. So what's your answer?

A. In order to designate a form to be a ListPage style form, set the ListPage property on design to True.B. In order to designate a form to be a ListPage style form, set the WindowType property on the design to

ListPage.C. In order to designate a form to be a ListPage style form, set the ListPage property on the menu item that

calls the form to True.D. In order to designate a form to be a ListPage style form, set the WindowType property on the menu item

that calls the form to ListPage.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 38The classes that manage Production Scheduling in Microsoft Dynamics AX handle large amounts of dat a.The data is used to calculate start and end dates, and start and end times. Data used in the process arestored in temporary tables and arrays. At the end of the classes, which suffix is found used to manage thedata in the scheduling process?

A. Temp is found used to manage the data in the scheduling process.B. Data is found used to manage the data in the scheduling process.C. TempData is found used to manage the data in the scheduling process.D. TemporaryData is found used to manage the data in the scheduling process.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 39In order to enable workflow, what must be modified on a form?

A. In order to enable workflow, set the canSubmitToWorkflow property on the form.B. In order to enable workflow, override the canSumbitToWorkflow method on the form.C. In order to enable workflow, set the WorkflowEnabled Property on the data source to Yes.D. In order to enable workflow, override the WorkflowEnabled method on the form datasource.

Correct Answer: BDSection: (none)Explanation

Explanation/Reference:

QUESTION 40From the development application directory, you have moved the axCUS.aod and axCONen-us.ald files tothe test application directory. Now you have to make sure that the labels are updated correctly, so whatshould you do?

A. In order to ensure this, you should synchronize the labels.B. In order to ensure this, you should synchronize the database.C. In order to ensure this, you should recompile the application.D. In order to ensure this, you should delete the axCONen-us.ali file.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 41Now one of your colleagues asks for you help, he has no idea about the purpose of the Args-class. Sowhat's your answer?

A. The Args-class is used to handle end-user input.B. The Args-class is used to handle external access to classes in the AOT.C. The Args-class is used to pass information between running application objects.D. The Args-class is used to verify arguments sent to the Called application object.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 42If you have a handle to a temporary table, now you want to make this visible in a form with the temporarytable as data source, what should you do to achieve this?

A. You should call the method .loadTmpData() on the data source and specify the handle to the temporarydata.

B. You should loop through the data in the temporary table and copy each record to the data source using.insert().

C. You should redirect the data source to use the same file as the handle by calling the method.setTmpData().

D. The data will be visible without any manipulation as the handle and data source share the same tabledefinition.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 43Now one of your colleagues asks for you help, he has no idea about in Microsoft Dynamics AX, what themain journals are?

A. In Microsoft Dynamics AX, Trade is the main journal.B. In Microsoft Dynamics AX, Ledger is the main journa.C. In Microsoft Dynamics AX, Project is the main journa.D. In Microsoft Dynamics AX, Inventory is the main journa.

Correct Answer: BCDSection: (none)Explanation

Explanation/Reference:

QUESTION 44Now one of your colleagues asks for your company, he has no idea about how to make CLR Interopassemblies visible to Microsoft Dynamics AX X++ code. So what's your answer?

A. CLR assemblies must be programmed in X++ code.B. CLR assemblies must be registered with .NET Framework.C. CLR assemblies must be referenced in the Application Object Tree (AOT).D. CLR assemblies must access the application using the .NET Business Connector.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 45Now one of your colleagues ask for your company, he has no idea about the characteristics of the MicrosoftDynamics AX .NET Business Connector. In the options below, do you know which the two characteristicsare? (choose more than one)

A. Requires Microsoft Windows authentication.B. Provides an event log that only records .NET events.C. It is backward compatible with the COM Business Connector.D. Has a Business Connector Proxy user, which acts-on-behalf-of users who cannot be fully authenticated.

Correct Answer: ADSection: (none)Explanation

Explanation/Reference:

QUESTION 46In the options below, which runtime class instances exist for a running report with a data source? (choosemore than one)

A. QueryRun exists for a running report with a data source.B. ReportRun exists for a running report with a data source.C. QuerySelect exists for a running report with a data source.D. ReportDesignSpecs exists for a running report with a data source.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:

QUESTION 47Several database tables are used to manage the number sequences used by Microsoft Dynamics AX. Doyou know which table contains the definition of each number sequence?

http://www.gratisexam.com/

A. NumberSequenceList contains the definition of each number sequence.B. NumberSequenceGroup contains the definition of each number sequence.C. NumberSequenceTable contains the definition of each number sequence.D. NumberSequenceReference contains the definition of each number sequence.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 48Where can you specify which module a workflow is used in?

A. You can specify in the module property on the WorkflowCategory.B. You can specify in the module property on the WorkflowTemplate.C. You can specify in the module() method in the WorkflowDocment class.D. You can specify in the module() method in the WorkflowProcessor class.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 49When it's called from the sales order form, you intend to debug code in the class SalesFormLetter. So inorder to achieve this, what should you do?

A. In order to achieve this, in the code, set a breakpoint.B. In order to achieve this, on the client, install the debugger.C. In order to achieve this, you should allow debugging to be executed on the AOS.

D. In order to achieve this, before the code is executed, open the debugger from the Tools menu.

Correct Answer: BCDSection: (none)Explanation

Explanation/Reference:

QUESTION 50In the options below, which are methods on the Args class that will accept a string type as a parameter?

A. name()is method on the Args class that will accept a string type as a parameter.B. parm() is method on the Args class that will accept a string type as a parameter.C. caller() is method on the Args class that will accept a string type as a parameter.D. element() is method on the Args class that will accept a string type as a parameter.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:

QUESTION 51Now one of your colleagues ask for your help, he has no idea about how to cache display methods onforms. So what's your answer?

A. Set the method modifier to Cache Display.B. Set the Cacheable property on the display method to Yes.C. Add a call to the method cacheAddMethod after super() in the Init method of the form.D. Modify the DisplayCache form method, adding the element.cache(<methodname>) before super()

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 52The Microsoft Dynamics AX Trade modules allow you to create a sales order using X++ code. In order tocreate a sales order, what table methods are used to perform this? (choose more than one)

A. SalesTable.Insert() is used to perform this.B. SalesLine.CreateLine()is used to perform this.C. SalesTable.InitValue()is used to perform this.D. SalesTable.PostTransaction()is used to perform this.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 53Before a transaction is committed, when changes are made to InventTrans, which table is updated?

A. InventSum is updated when changes are made to InventTrans.

B. InventSumDelta is updated when changes are made to InventTrans.C. InventTransSum is updated when changes are made to InventTrans.D. InventSumLogTTS is updated when changes are made to InventTrans.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 54The Microsoft Dynamics AX .NET Business Connector provides a set of managed classes. A set ofmanaged classes provides access to X++ functionality in Microsoft Dynamics AX. Do you know it isinstalled and required for which of the following Microsoft Dynamics AX components? (choose more thanone)

A. It is installed and required for Workflow.B. It is installed and required for Enterprise Portal.C. It is installed and required for Reporting Services.D. It is installed and required for Windows Share Point Services.

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:

QUESTION 55The options below are statements about forms. Do you know which is not true?

A. Forms do not support inheritance.B. Enter it on the design when inserting X++ code on a form.C. Enter it on the data source when inserting X++ code on a form.D. X++ code implemented in forms is always executed on the client.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 56In the options below, which is the Report Method "Fetch" responsible for? (choose more than one)

A. The Report Method "Fetch" is responsible for Fetch data.B. The Report Method "Fetch" is responsible for Sorting data.C. The Report Method "Fetch" is responsible for Prompt for the query.D. The Report Method "Fetch" is responsible for initializing the QueryRun.

Correct Answer: ACDSection: (none)Explanation

Explanation/Reference:

QUESTION 57

A new form has been created by you. When displaying the drop-down list for an item number, this form isused. In order to call this form, which method on the form control should you override to do this?

A. You should override LookUp() to call this form.B. You should override JumpRef()to call this form.C. You should override DropDown() to call this form.D. You should override MouseDown() to call this form.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 58After you create a new extended data type, you want to create a new number sequence to be used with itthat is defined in the parameters form. So in the NumberSeqReference class, which methods should youmodify?

A. You should modify LoadSeq().B. You should modify LoadModule().C. You should modify LoadNumRef()D. You should modify LoadParameters()

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 59Now one of your colleagues asks for your help, he has no idea about the name of the main database tablewhere each project has a record?

A. The name of the main database table is ProjTableB. The name of the main database table is ProjCustTable.C. The name of the main database table is ProjTransaction.D. The name of the main database table is ProjProposalJour.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 60Now one of your colleagues ask for you help, he has no idea about which of the following is invalidapplication object classes. So what's your answer?

A. Form is invalid application object classes.B. FormRun is invalid application object classes.C. FormDesign is invalid application object classes.D. FormQueryDataSource is invalid application object classes.

Correct Answer: DSection: (none)

Explanation

Explanation/Reference:

QUESTION 61When retrieving data from the database, why do we prefer to use placeholders?

A. Placeholders improves scalability and reduces the time.B. Placeholders can reduce the CPU usage on the database server as the access plan can be reused.C. Placeholders can make sure that when specifying a field list, all the necessary data are retrieved.D. Placeholders makes the optimal access plan for each query as all information is available for the

database, when the access plan is decided.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 62Now one of your colleagues ask for your help, he has no idea about on which tier the physical file holding atemporary table is placed?

A. It is placed on the tier, where the handle is defined.B. It is placed on the tier where the first record in inserted.C. It is always placed on the client to secure the Trustworthy Computing principles.D. It is always placed on the AOS, as this will reduce the traffic between AOS server and the database.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 63Do you know all Microsoft Dynamics AX modules interface with which of the following accounting modules?

A. All Microsoft Dynamics AX modules interface with Cash Journal.B. All Microsoft Dynamics AX modules interface with General Ledger.C. All Microsoft Dynamics AX modules interface with Ledger Voucher.D. All Microsoft Dynamics AX modules interface with General Journal.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 64Now one of your colleagues asks for your company, he has no idea about what class is used to provideCode Access Security permission to a CLR Interop class. So what's your answer?

A. CLRSecurity is used to provide Code Access Security permission to a CLR Interop class.B. InteropAccess is used to provide Code Access Security permission to a CLR Interop class.C. InteropPermission is used to provide Code Access Security permission to a CLR Interop class.

D. CLRPermissionAccess is used to provide Code Access Security permission to a CLR Interop class.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 65In the options below, which runtime class instances exist for a running form with a data source? (choosemore than one)

A. FormRunB. FormDataSourceC. FormDataObjectD. FormDataObjectSelect

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:

QUESTION 66Do you know which data type is returned from the method PrintJobSettings.PackPrintJobSettings()?

A. An Array is returned from the method PrintJobSettings.PackPrintJobSettings().B. A String is returned from the method PrintJobSettings.PackPrintJobSettings().C. A Record is returned from the method PrintJobSettings.PackPrintJobSettings().D. A Container is returned from the method PrintJobSettings.PackPrintJobSettings().

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 67In the options below, do you know which class controls Production order updates?

A. ProdUpd controls Production order updates.B. ProdMulti controls Production order updates.C. ProdStatusType controls Production order updates.D. WorkFlowSchedule controls Production order updates.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 68Now one of your colleagues asks for your help, he has no idea about the purpose of the InventMovementclass. So what's your answer?

A. The InventMovement class is use to post physical inventory movements.

B. The InventMovement class is use to create a Movement Inventory Journal.C. The InventMovement class is use to make adjustments to inventory during an inventory close.D. The InventMovement class is use to check and prepare data for an update to inventory transactions.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 69Which of the following classes is not a standard Microsoft Dynamics AX FormLetter class?

A. SalesFormLetter_FreeText is not a standard Microsoft Dynamics AX FormLetter class.B. SalesFormLetter_InvoiceProject is not a standard Microsoft Dynamics AX FormLetter class.C. SalesFormLetter_PackingSlipProject is not a standard Microsoft Dynamics AX FormLetter class.D. SalesFormLetter_PickingListRegistration is not a standard Microsoft Dynamics AX FormLetter class.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 70Now one of your colleagues asks for your company, he has no idea how Microsoft Dynamics AX supportsActiveX controls. So what's your answer?

A. ActiveX objects are supported in classes only.B. ActiveX controls are supported across all Microsoft Dynamics AX objects.C. ActiveX controls are visual elements and are supported as form controls.D. ActiveX controls are visual elements and are supported on forms and reports.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 71You are using a number sequence on a form, which is the best approach to use?

A. When using a number sequence on a form, use the NumberSeqReference class.B. When using a number sequence on a form, use the NumberSeqFormHandler class.C. When using a number sequence on a form, assign the number in the create() method of the data

source.D. When using a number sequence on a form, call the NumberSeq.num() method in the Init method of the

form.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 72

Now one of your colleagues asks for your help, he has no idea about which table is used to store allcombinations of inventory dimensions that have been used in the dat a. so what's your answer?

A. InventDim is used to store all combinations of inventory dimensions.B. InventDimParm is used to store all combinations of inventory dimensions.C. InventDimGroup is used to store all combinations of inventory dimensions.D. InventDimCombination is used to store all combinations of inventory dimensions.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 73During runtime, in the options below, which application object class would be used? (choose more thanone)

A. During runtime, FormTreeControl would be used.B. During runtime, FormStringControl would be used.C. During runtime, FormBuildTreeControl would be used.D. During runtime, FormBuildStringControl would be used.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:

QUESTION 74Now one of your colleagues asks for your help, he has no idea about which class processes a workflow todetermine who should take the next action on the workflow.So what's your answer?

A. It's WorkflowSubmit that processes a workflow to determine who should take the next action on theworkflow.

B. It's WorkflowWorkItem that processes a workflow to determine who should take the next action on theworkflow.

C. It's WorkflowDocument that processes a workflow to determine who should take the next action on theworkflow.

D. It's WorkflowProcessor that processes a workflow to determine who should take the next action on theworkflow.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 75Now the manager asks you to modify the methodSalesLine.calcLineAmount(). After you make the change, you must ensure that when it's used with theapplication, the change doesn't cause problems. So how can you find out where it is used?

A. You can find out this by using the Cross-Reference tool.B. You can find out this by using the Reverse Engineering tool.C. You can find out this by Right-clicking on the method and selecting Find

D. You can find out this by Right-clicking on the method and selecting Compare.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 76You are writing a direct SQL statement, to execute a statement and tell the Code-Access Security layer thatit is safe, what would be the correct syntax to achieve this?

A. new SqlStatementExecutePermission(sqlString).assert(); stmt.executeQuery(sqlString);CodeAccessPermission::revertAssert();

B. new SqlStatementExecutePermission(sqlString).secure(); stmt.executeQuery(sqlString);CodeAccessPermission::revertSecure();

C. new CodeAccessPermission(sqlString).assert();stmt.executeQuery(sqlString);CodeAccessPermission::revertAssert();

D. new SqlStatementExecutePermission(sqlString).assert(); stmt.executeQuery(sqlString);SqlStatementExecutePermission::revertAssert();

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 77Parm tables uniquely identify each update by using a ParmId value. Do you know how the ParmId value iscreated?

A. The ParmId value is a GUID created using the newguid() function.B. The ParmId value is a GUID created using the WinAPI::createGUID() function.C. The ParmId value is a a sequential number taken from the System ID number sequence set up on the

Company Info table.D. The ParmId value is a sequential number taken from the Parm ID number sequence set up on the

Administration parameters.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 78Now one of your colleagues asks for you help, he has no idea about in Microsoft Dynamics AX, what themain journals are?

A. In Microsoft Dynamics AX, Trade is the main journal.B. In Microsoft Dynamics AX, Ledger is the main journa.C. In Microsoft Dynamics AX, Project is the main journa.D. In Microsoft Dynamics AX, Inventory is the main journa.

Correct Answer: BCDSection: (none)Explanation

Explanation/Reference:

QUESTION 79When it's called from the sales order form, you intend to debug code in the class SalesFormLetter. So inorder to achieve this, what should you do?

A. In order to achieve this, in the code, set a breakpoint.B. In order to achieve this, on the client, install the debugger.C. In order to achieve this, you should allow debugging to be executed on the AOS.D. In order to achieve this, before the code is executed, open the debugger from the Tools menu.

Correct Answer: BCDSection: (none)Explanation

Explanation/Reference:

QUESTION 80Now one of your colleagues asks for your help, he has no idea about the name of the main database tablewhere each project has a record?

A. The name of the main database table is ProjTableB. The name of the main database table is ProjCustTable.C. The name of the main database table is ProjTransaction.D. The name of the main database table is ProjProposalJour.

Correct Answer: ASection: (none)Explanation

Explanation/Reference:

QUESTION 81Now one of your colleagues asks for your company, he has no idea how Microsoft Dynamics AX supportsActiveX controls. So what's your answer?

A. ActiveX objects are supported in classes only.B. ActiveX controls are supported across all Microsoft Dynamics AX objects.C. ActiveX controls are visual elements and are supported as form controls.D. ActiveX controls are visual elements and are supported on forms and reports.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 82Do you know when literals will be used by the default behavior of a select statement?

A. The default behavior of a select statement will use literals when no locking (forupdate) is specified onthe select statement.

B. The default behavior of a select statement will use literals when the number of recordsC. The default behavior of a select statement will use literals when an update is performed using an array

operation like update_recordset or delete_from.

D. The default behavior of a select statement will use literals when the select joins more than two tables

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 83You create a new class. The new class extends the RunBase Framework. For user interaction, you have tomake the query visible on the dialog. In order to achieve this, which methods will you need to override?

A. In order to achieve this, you have to override showQuery()B. In order to achieve this, you have to override queryVisible()C. In order to achieve this, you have to override showQueryValues()D. In order to achieve this, you have to override queryValuesVisible()

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 84Which of the following classes is not a standard Microsoft Dynamics AX FormLetter class?

A. SalesFormLetter_FreeText is not a standard Microsoft Dynamics AX FormLetter class.B. SalesFormLetter_InvoiceProject is not a standard Microsoft Dynamics AX FormLetter class.C. SalesFormLetter_PackingSlipProject is not a standard Microsoft Dynamics AX FormLetter class.D. SalesFormLetter_PickingListRegistration is not a standard Microsoft Dynamics AX FormLetter class.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 85Now one of your colleagues asks for your company, he has no idea about web service references arecreated under which node in the AOT. So what's your answer?

A. Web service references are created under Services.B. Web service references are created under Resources.C. Web service references are created under ReferencesD. Web service references are created under Web > Web Services

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 86You create a new class. The new class extends the RunBase Framework. For user interaction, you have tomake the query visible on the dialog. In order to achieve this, which methods will you need to override?

A. In order to achieve this, you have to override showQuery()B. In order to achieve this, you have to override queryVisible()C. In order to achieve this, you have to override showQueryValues()D. In order to achieve this, you have to override queryValuesVisible()

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 87During runtime, in the options below, which application object class would be used? (choose more thanone)

A. During runtime, FormTreeControl would be used.B. During runtime, FormStringControl would be used.C. During runtime, FormBuildTreeControl would be used.D. During runtime, FormBuildStringControl would be used.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:

QUESTION 88Now one of your colleagues asks for your company, he has no idea about web service references arecreated under which node in the AOT. So what's your answer?

A. Web service references are created under Services.B. Web service references are created under Resources.C. Web service references are created under ReferencesD. Web service references are created under Web > Web Services

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 89Now the manager of your company assigns a task to you. You have to optimize a While Select statement,when performing this, what should you use?

A. When performing this, you should use Join.B. When performing this, you should use Order by.C. When performing this, you should use Fieldlist.D. When performing this, you should use Quick select.

Correct Answer: ACSection: (none)Explanation

Explanation/Reference:

QUESTION 90Now one of your colleagues asks for your help, he has no idea about which class processes a workflow todetermine who should take the next action on the workflow.So what's your answer?

A. It's WorkflowSubmit that processes a workflow to determine who should take the next action on theworkflow.

B. It's WorkflowWorkItem that processes a workflow to determine who should take the next action on theworkflow.

C. It's WorkflowDocument that processes a workflow to determine who should take the next action on theworkflow.

D. It's WorkflowProcessor that processes a workflow to determine who should take the next action on theworkflow.

Correct Answer: BSection: (none)Explanation

Explanation/Reference:

QUESTION 91You have to install a new DLL which you will reference in your X++ code in Microsoft Dynamics AX. Wheninstalling DLL assemblies that will be referenced by Microsoft Dynamics AX, which of the following is true?

A. The DLL can be installed into the Bin directory of the Microsoft Dynamics AX Client, on each machinewhere a Client is installed.

B. Install each DLL into the Global Assembly Cache on each machine where a Microsoft Dynamics AXApplication Object Server is installed.

C. The DLL can be installed into the Global Assembly Cache on the machine where the MicrosoftDynamics AX application files are installed.

D. The DLL can be installed into the Bin directory of the Microsoft Dynamics AX Application Object Server,on each machine where an Application Object Server is installed.

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:

QUESTION 92To use Workflow in Microsoft Dynamics AX, which components need to be installed to do this?

A. Workflow accounts has to be installed to use Workflow in Microsoft Dynamics AX.B. Workflow website in IIS has to be installed to use Workflow in Microsoft Dynamics AX.C. Workflow server component has to be installed to use Workflow in Microsoft Dynamics AX.D. Workflow application layer has to be installed to use Workflow in Microsoft Dynamics AX.

Correct Answer: ABCSection: (none)Explanation

Explanation/Reference:

QUESTION 93Microsoft Dynamics AX tracks variations in inventory movements by using a concept called "inventorydimensions". Do you know what the two defined types of inventory dimensions are? (choose more thanone)

A. ItemB. SourceC. StorageD. Location

Correct Answer: ABSection: (none)Explanation

Explanation/Reference:

QUESTION 94Now one of your colleagues asks for your help, he has to distinguish between an insert and update on aform. But he doesn't know how to do this. So what would you do?

A. You should check if initValue has been set to Active.B. You should call the UpdateTrue method on the data source.C. You should check the value of the Boolean "New" on the record.D. You should create a condition on the RecId field in the Write method on the data source.

Correct Answer: DSection: (none)Explanation

Explanation/Reference:

QUESTION 95You want to obtain an overview of the data types inherited from AmountMST, what should you use toachieve this?

A. In order to achieve this, you should use the Reverse Engineering tool.B. In order to achieve this, you should use the "Used by" node in the AOT.C. In order to achieve this, you should use the Application Hierarchy Tree.D. In order to achieve this, you should use the "References" node in the AOT.

Correct Answer: CSection: (none)Explanation

Explanation/Reference:

QUESTION 96Now one of your colleagues ask for you help, he has no idea about what the RunBase framework can beused for. So what's your answer?

A. The RunBase framework can be used to define a common structure for all forms in Microsoft DynamicsAX.

B. The RunBase framework can be used to define a common structure for all reports in MicrosoftDynamics AX.

C. The RunBase framework can be used to define a common structure for all access rights in MicrosoftDynamics AX.

D. The RunBase framework can be used to define a common structure for all data manipulations inMicrosoft Dynamics AX.

Correct Answer: D

Section: (none)Explanation

Explanation/Reference:

http://www.gratisexam.com/