80730AE: Development Basics in Microsoft Dynamics AX

Question 1/5
A Visual Studio project can belong to more than one model.

Answers:
True
False


Question 2/5
What is a Dynamics AX model?

Answers:
A Visual Studio project.
A collection of elements (metadata/source files) that represent a distributable software solution.
A file used to deploy customizations to a production environment.

Question 3/5
What does an element’s XML file contain?

Answers:
Only metadata about the element
Only source code for the element
Metadata and source code for the element
Metadata and source code for the element and all related elements

Question 4/5
Which operation forces a build of all elements, regardless of whether they have changed or not?

Answers:
A project build
A model build
A project rebuild


Question 5/5
How can you visualize elements organized by model (Model View)?

Answers:
By going to the View menu on the toolbar and choosing Model View
By right-clicking on the AOT node in the Application Explorer and selecting model view
By right-clicking any model and choosing model view
By navigating to the AX menu and selecting model view

Question 1/2
Model stores are represented as a set of folders and XML artifacts.

Answers:
True
False

Question 2/2
Lifecycle Services and Microsoft Azure are services that relate to which architecture component in Dynamics AX?

Answers:
Server Architecture
Application Stack
Virtual Architecture
Cloud Architecture


Question 1/3
Which of the following are valid types of resource in Dynamics AX?

Answers:
System memory and CPU
A data structure that stores textual information
Part of a label file
Pictures or icons stored in the system


Labels can have multiple values depending on language settings.

Answers:
True
False


Question 3/3
Which scenario best describes when labels should be created and used?

Answers:
For all properties and variables that are text strings visible to application users.
Only for the properties and variables that are text strings visible to application users that require additional clarity.
Only for the properties and variables that are text strings visible to application users that are used across multiple companies.
Typically for the properties and variables that are text strings visible to application users that are also used with multiple languages.

Question 1/3
How are base enumerations represented and stored in the database?

Answers:
As a literal string value
As a numerical value
As an alphabetical character
None of the above

Question 2/3
The default first literal value or option in an enumeration is internally represented by the number 1.

Answers:
True
False

Question 3/3
Which of the following are examples of field types where a base enumeration should be used? (Select all that apply)

Answers:
A posting type field
A transaction date field
A sales order status field
ABC Codes to rate customers, vendors or items

Question 1/3
Extended Data Types (EDTs) are based on primitive data types and also have additional properties set.

Answers:
True
False

Question 2/3
You should use extended data types whenever possible.

Answers:
True
False

Question 3/3
Which of the following are benefits of using EDTs? (Select all that apply)

Answers:
They are more easily compiled and transferrable
Reusability
Code is easier to read
Inherited properties and consistency


Question 1/5
Which two key properties work together to control table inheritance?

Answers:
The Support Inheritance and Table Type properties
The Table Type and Extends properties
The Extends and Support Inheritance properties
The Allow Inheritance and Extends properties


Question 2/5
What are the two main types of temporary tables?

Answers:
Regular and TempDB
Inherited table and TempDB
Regular and InMemory
InMemory and TempDB


Question 3/5
If a modification is made to a field group, such as a new field being added, any forms that contain that field group will automatically update to reflect the new addition.

Answers:
True
False

Question 4/5
Queries are reusable elements that can contain only one table as a data source.

Answers:
True
False


Question 5/5
What kind of data can be found in the tables in Dynamics AX? (Select all that apply)

Answers:
Aggregated analytical data
Data, such as system settings and parameters
Business and transaction data

Question 1/3
The order of the columns in an index is not important.

Answers:
True
False


Question 2/3
It is a best practice to always specify a clustered index.

Answers:
True
False


Question 3/3
Which of the following are valid types of table indexes used in Dynamics AX? (Select all that apply).

Answers:
Primary Index
Partial Index
Clustered Index
Non-clustered Index

Question 1/3
Which of the following values for the On Delete property for a relation specifies to only permit deletion of records in a table when there is nothing that relates to it in another table?

Answers:
Restricted
Cascade
Cascade + Restricted
None


Question 2/3
It is a best practice to define the relation on the table holding the Foreign Key.

Answers:
True
False


Question 3/3
Which two of the following types of relations can only be created on numeric fields?

Answers:
Normal relation
Field fixed relation
Related field fixed relation
Foreign Key Relation

Question 1/5
Form patterns are applied to a form’s design node, while form sub-patterns are applied to certain form controls.

Answers:
True
False

Question 2/5
Which form pattern contains a vertical arrangement of tabs and is commonly used for Setup pages?

Answers:
Simple List
Details Master
Operational Workspaces
Table of Contents


Question 3/5
The Form Statistics dialog shows which of the following pieces of information? (select all that apply)

Answers:
The name of the applied form pattern
The pattern coverage percentage
The number of controls covered by a pattern
Total count of controls

Question 4/5
The form patterns report is a .csv file that is generated by Visual Studio.

Answers:
True
False

Question 5/5
At what point does a pattern truly get applied on a form or container control?

Answers:
When the user right-clicks on a control, points at Apply pattern, and clicks a specific pattern.
When the form is built or rebuilt.
When the form fully complies with the pattern and is saved.
When the control the pattern was applied to loses focus in the designer.

Question 1/4
Button groups can be placed directly underneath the Action Pane control on a form.

Answers:
True
False

Question 2/4
Setting the Grid Style property value to “Auto” defaults to what type of Grid Style?

Answers:
List Style
Simple Read Only Style
Tabular Style
Details Style


Question 3/4
If a control for a particular form pattern is missing or in the wrong order, the build operation will still allow the user to run and view the form in the currently developed state.

Answers:
True
False


Question 4/4
A form must have a form pattern applied.

Answers:
True
False

Question 1/2
Suppose you want to attach an SSRS report to a menu item, so that when a user clicks the menu item, the report will display. Which type of menu item should be used for this purpose?

Answers:
Display
Action
Output
Window

Question 2/2
Menus are prebuilt to include all of the accessible items in AX from the Navigation Pane. However, you can also add your own.

Answers:
True
False

1 CORRECT  |  0 INCORRECT
Back to Introduction  Next Question
Test Your Knowledge
Question 1/5
What are the three main Object-Oriented Programming components?

Answers:
Classes, objects, variables
Classes, methods, objects
Methods, variables, classes
Methods, objects, variables


Question 2/5
What is the VAR keyword used for in X++?

Answers:
To define a variable that can change data types
To define a variable of a type that the compiler will determine.
To define an array type variable
To define a container


Question 3/5
What are the three types of messages in an Infolog?

Answers:
Info, Warning, and Error
Info, Box, and Warning
Dialog, Box, and Error
Info, Dialog, and Box


Question 4/5
Where can variables be declared in X++?

Answers:
Only at the beginning of a method
Only at the beginning of a class declaration
Anywhere in the code (“in-line”)
Anywhere within a form

Question 5/5
You have the following X++ statement:
For(int counter = 1; counter<10; counter+=3)
{
    Info(strfmt(“%1”, counter));
    Counter--;
}
You need to identify the output of the statement.

Answers:
1, 3, 5, 7, 9
1, 4, 7, 10
0, 3, 6, 9
0, 1, 3, 6, 9


Question 1/11
You are to complete the code needed to create a method within a class. Your method will NOT return information. Which will best complete this statement? public __________ myMethodName

Answers:
void
null
str
return

Question 2/11
You need to instantiate a class. Which will best complete this statement?dbfmVehicleEntry vehicleEntry = __________ dbfmVehicleEntry();

Answers:
instantiate
new
public
return

Question 3/11
You need to explicitly assign a text value from a table buffer variable to a string variable named “Make” in a method. Which will best complete this statement?vehicleTable.dbMake ______ Make;

Answers:
=
+=
==
=+

4 CORRECT  |  0 INCORRECT
Previous Question  Next Question
Test Your Knowledge
Question 4/11
What is the command used to call the method named myMethod in the parent class from the child class?
Class myChildClass extends myParentBaseClass
{
Public void myMethod()
  {
_____________();
~~~Body of new code here~~~
  }
}

Answers:
insert
return
void
super


Question 5/11
You need to create inheritance within the classes. Which will best complete this statement?class dbfmTruckVehicleEntry __________ dbfmVehicleEntry

Answers:
void
return
extends
super


Question 6/11
Which type of class should be created in order to run a job?

Answers:
A runnable class
A normal class
A static class
A public class

Question 7/11
What is the reserved word in a function that is used when the method does NOT return a value?

Answers:
Static
Null
Void
Private

Question 8/11
Which keyword is used in the class declaration to specify class inheritance? This allows one “child” class to inherit the methods and variables of another “parent” class.

Answers:
Inherits
Extends
Supports
Follows

Question 9/11
Using the “Private” keyword for methods allows access to variables within those methods from within the current class or subclasses.

Answers:
True
False


Question 10/11
If a child class inherits methods from a parent class, those methods cannot be overridden or changed in the child class.

Answers:
True
False

Question 11/11
You are to complete the code needed to create methods in a class with inheritance. You would like your method accessible to any class in the system. Which will best complete this statement?
____ void getFromDialog()
  {
~~~Body of code ~~~
       super();
  }
Answers:
public
private
protected
void


Question 1/13
You are to complete the code needed to read records. Which will best complete this statement?While _________ fmVehicleMaint join fmVehicle

Answers:
select forUpdate
select
order by
select into

Question 2/13
You need to find the equivalent value in the second table. Which will best complete this statement?where fmVehicle.dbVehicleID _________ fmVehicleMaint.dbVehicleID

Answers:
=+
=
!=
==

Question 3/13
You need to output a value to the screen. Which will best complete this statement ?_________(Int2Str(fmVehicleMaint.dbVehicleID)+', '+fmVehicle.dbMake);

Answers:
info::box
pause
warning
info

Question 4/13
You are to complete the code needed to insert records. You need to ensure that a transaction completes successfully so that records are inserted into the database. Which will best complete this statement?
{
ttsbegin;
fmVehicle.dbVehicleID = ‘123456789’;
fmVehicle.insert();
_________________
}

Answers:
ttsabort;
insert;
escape;
ttscommitt;


Question 5/13
You are to complete the code needed to insert a given record. Which will best complete this statement?fmVehicle.______________

Answers:
insertrecord();
insertAll();
insert();
insertNow():

Question 6/13
You are to complete the code needed to update records. Which will best complete this statement?while select _______ fmVehicle

Answers:
read
forupdate
lock
firstOnly

Question 7/13
You are to complete the code needed to update records. You would like find the equivalent value. Which will best complete this statement? where fmVehicle.dbVehicleID ________ 1

Answers:
==
=
+=
!=

Question 8/13
You are to complete the code needed to update records. You need to assign the updated value for the vehicle model before updating. Which will best complete this statement?
                                    {
fmVehicle.dbModel _______ "Big Truck";
fmVehicle.update();
}
Answers:
==
=
+=
!=

Question 9/13
You are to complete the code needed to delete records. Which will best complete this statement?
                                {
    fmVehicle.________();
}
Answers:
drop
kill
deletefrom
delete


Question 10/13
What are the three keywords associated with the Transaction Tracking System?

Answers:
ttsBegin
ttsCommit
ttsEnd
ttsCommence
ttsAbort


Question 11/13
You must fetch data from CustTable in ascending order based on City. CustTable contains a field named City. There is a non-unique cluster index named cityIdx on the City field. What are three possible statements that achieve the goal?

Answers:
Select custTable index cityIdx;
Select custTable order by city;
Select custTable order by city ASC;

Question 12/13
When performing a data insert, the insert() command inserts the contents of a table buffer.

Answers:
True
False


Question 13/13
The Update command modifies existing data in a table with the contents of a table buffer.

Answers:
True
False


Question 1/6
You are to complete the code needed to start exception handling. Which will best complete this statement?____________________ error("Please enter a valid VIN number.");

Answers:
exception
catch
throw
info


Question 2/6
You are to complete the code needed to catch an exception. Which will best complete this statement?catch (_________________________)

Answers:
exception::error
error
ttsAbort
dialog::error


Question 3/6
You are to complete the code needed to execute exception handling. You need to display this message. Which will best complete this statement?___________("An error occurred. Please try again");

Answers:
info::exception
catch
error
dialog::error


Question 4/6
The statements provided in the “finally” clause are executed irrespective of whether the try block threw any exceptions.

Answers:
True
False


Question 5/6
Which of the following is NOT a valid exception type?

Answers:
Info
Deadlock
Stop
UpdateConflict


Question 6/6
The “throw” statement initiates a ttsAbort command.

Answers:
True
False


Question 1/5
All users must be assigned at least one security role in order to access AX.

Answers:
True
False


Question 2/5
If the property value for the Needed Permission property on a form control is set to “Create”, which other permissions does this level allow?

Answers:
It only allows create access.
It allows create and read access only.
It allows create, read, and update access.
It allows create and delete access.


Question 3/5
Roles are specific to a company or organization.

Answers:
True
False

Question 4/5
Which of the following are examples of a privilege? (Select all that apply)

Answers:
Being a system administrator
Canceling a payment
Managing system security
Processing deposits


Question 5/5
Which of the following can be assigned to a role? (select all that apply)

Answers:
Privileges
Permissions
Configuration Keys
Duties


Question 1/5
In memory, real-time aggregate models will be the default models used for analytical purposes, instead of SQL Server Analysis Services Cubes.

Answers:
True
False


Question 2/5
Tiles and charts created on PowerBI.com can be pinned directly into AX.

Answers:
True
False


Question 3/5
To view one of the default financial reports, such as a Balance Sheet, what needs to be configured first? (select all that apply)

Answers:
Fiscal calendar and currency
Chart of accounts
Ledger
Proper security for the end-user


Question 4/5
Which of the following are true about data entities? (Select all that apply).

Answers:
They provide a de-normalized view of tables
They can be leveraged for Business Intelligence and Data Migration purposes
They are a normalized view of the data.
Enable Synchronous services (APIs) to be exposed on them


Question 5/5
What are some of the benefits of using the OData v4 protocol? (Select all that apply)

Answers:
Broad integration across platforms
Data migration
Supports consumption of data using Power BI
Uniform URL conventions

原文地址:https://www.cnblogs.com/fogfog/p/6475426.html