Searching for "But"

Q:

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application uses the ADO.NET Entity Framework to model entities. The application allows users to make changes to entities while disconnected from the central data store.

 

You need to ensure that when the user connects to the central data store and retrieves new data, the application meets the following requirements:

  • Changes made to the local data store in disconnected mode are preserved.
  • Entities that have already been loaded into the local data store, but have not been modified by the user, are updated with the latest data.

What should you do?

A) Call the query's Execute method by using the MergeOptions.AppendOnly option. B) Call the query's Execute method by using the MergeOptions.OverwriteChanges option.
C) Call the Refresh method of ObjectContext by using the RefreshMode.StoreWins option. D) Call the Refresh method of ObjectContext by using the RefreshMode.ClientWins method.
 
Answer & Explanation Answer: D) Call the Refresh method of ObjectContext by using the RefreshMode.ClientWins method.

Explanation:
Report Error

View Answer Report Error Discuss

Q:

You create an assembly by using Visual Studio .NET. The assembly is responsible for writing and reading order entry information to and from an XML data file. The assembly also writes and reads values to and from the Windows registry while it is being consumed.

 

The assembly will be distributed to client computers by using your company, XYZ, intranet. All client computers are configured to implement the default .NET security policy.

 

You need to implement security in the assembly. What should you do?

A) Implement declarative security and execute the permission demand to allow access to the file system and Windows registry. B) Implement declarative security and execute the minimum permission request to allow access to the file system and Windows registry.
C) Implement imperative security and execute the permission demand to allow access to the file system and Windows registry. D) Implement imperative security and execute the minimum permission request to allow access to the file system and Windows registry.
 
Answer & Explanation Answer: B) Implement declarative security and execute the minimum permission request to allow access to the file system and Windows registry.

Explanation:

You can use declarative code access security to request permissions for the entire assembly. SecurityAction flags that can be specified in an assembly-wide directive. When SecurityAction.RequestMinimum is specified, it makes a request to the common language runtime to be granted the requested permission. If the requested permission is not granted by the security policy, the assembly will not execute. A  Security Action.RequestOptional is similar, but the assembly will still run even if the requested permission is not granted. Specifying security Action. RequestRefuse requests that the assembly be denied the specified permission.

 

You must use the Assembly (assembly) directive when specifying these actions as follows: 

 

Option A:

There are only three Security actionAttributes targets for an assembly: RequestMinimumAssembly, RequestOptionalAssembly, and RequestRefuseAssembly. 

 

 Option C, D:

Imperative security does not work well to configure security for an entire assembly. In imperative security, permission to execute is demanded at run time.

Report Error

View Answer Report Error Discuss

Q:

You use Visual Studio .NET to create a Windows-based application. The application includes a form named XYZProcedures (EXP). EXP allows users to enter very lengthy text into a database. When users click the Print button located on EXP, this text must be printed by the default printer.

 

You implement the printing functionality by using the native .NET System Class Libraries with all default settings.

 

Users report that only the first page of the text is being printed.

How should you correct this problem?

A) In the BeginPrint event, set the HasMorePages property of the PrintEventArgs object to True. B) In the EndPrint event, set the HasMorePages property of the PrintEventArgs object to True.
C) In the PrintPage event, set the HasMorePages property of the PrintPageEventArgs object to True. D) In the QueryPageSettings event, set the HasMorePages property of the QueryPageSettingEventArgs object to True.
 
Answer & Explanation Answer: C) In the PrintPage event, set the HasMorePages property of the PrintPageEventArgs object to True.

Explanation:

PrintDocument.PrintPage Event occurs when the output to print for the current page is needed. This event has the HasMorePages property which gets or sets a value indicating whether an additional page should be printed.

Report Error

View Answer Report Error Discuss

Q:

You are working with a previously saved document and you have deleted a logical operator. Which two methods can you use to recover the logical operator?

A. Click the Undo button in the Query panel.

B. Rebuild the filters.

C. Close the Query panel without executing and then open the query

D. From the Tools menu, select Recover Operator.

Answer

Answer : B , C

Report Error

View answer Workspace Report Error Discuss

Subject: SAP BW

Q:

Which method should you use to group query filters together to form one AND statement?

A. Select the filters, then click the Group Filters button on the toolbar

B. Select the filters, right-click and select Group

C. Drag the queries together

D. Drag the query filters to the Group panel

Answer

Answer : C

Report Error

View answer Workspace Report Error Discuss

Subject: SAP BW

Q:

Identify the actual value flows that can be analyzed using the value field analysis function.

A. Incoming sales orders from Sales and Distribution

B. A Transfer of billing documents

C. Actualcosts

D. Direct postings from Financial Accounting and Materials management

Answer

Answer : A , B , D


 


Explanation : The value field analysis function enables you to analyze the actual value flows, such as transfer of billing documents, incoming sales orders from Sales and Distribution, direct postings from Financial Accounting and Materials Management, and external data transfer.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP CO

Q:

What tasks, contents, and importance does the Data Dictionary have in the R/3 system

A. It is needed for developing R/3 software

B. It is needed to run R/3 applications

C. It contains, among other things, the R/3 Data Model attributes

D. It contains, among other things, the rules for checking entered data

Answer

Answer : A , B , C , D

Report Error

View answer Workspace Report Error Discuss

Q:

A sales area is composed of...

A. Division

B. Sales organization

C. Distribution channel

D. Plant

Answer

Answer : A , B , C

Report Error

View answer Workspace Report Error Discuss

Subject: SAP SD