# Pass Your Microsoft 70-516 Exam Easy!

Get 100% Real Exam Questions, Accurate & Verified Answers By IT Experts

Certification Exam: 70-516 (TS: Accessing Data with Microsoft .NET Framework 4)

Exam
70-516 - TS: Accessing Data with Microsoft .NET Framework 4
Size
2.52 MB
Posted Date
Sunday, October 14, 2012
85
* The most recent comment are at the top
• ram
• India
• Dec 28, 2014

• Dec 28, 2014
• Big Boy
• United States
• Feb 10, 2013

Took the test and passed. I did not see the question I commented on earlier.

• Feb 10, 2013
• Carlos
• Brazil
• Feb 06, 2013

About the new question that @Hamouda from France posted. I think the correct answer would be 1. What do you think guys?

• Feb 06, 2013
• Carlos
• Brazil
• Feb 06, 2013

I agree with Big Boy from United States - Feb 03 2013, 12:52 PM.

• Feb 06, 2013
• Big Boy
• United States
• Feb 03, 2013

Artem,Peter, q172
TimeSpan DOES have a TotalMilliseconds properly which shows sub millisecond time as the question asks.
http://msdn.microsoft.com/en-us/library/system.timespan.totalmilliseconds(v=vs.100).aspx

The link above even shows a great example:
// There are 142,965,750.00000 milliseconds, as follows:

Notice how it shows 142 million + milliseconds. Also notice is has decimal place with a claimed 5 digits of precision. Granted that comes from the string.format usage of {0:N5}, but why show that if it is meaningless?

Anyway, I believe the correct answer to be B. B

Peter, Not only does B work as well AND save 1 line of code, it also directly answers the part of the question "in sub-milliseconds ( <1 millisecond)"

TimeSpan.Millsecond property is just the milliseconds portion and its JUST AN INT. It will only show a value from 0 to 999. Like Hours will only have a value of 0 to 23.

• Feb 03, 2013
• Artem
• Ukraine
• Feb 02, 2013

Peter, q172
because in B there is sw.Elapsed.TotalMilliseconds, but there is no TOTAL Milliseconds preperty.

• Feb 02, 2013
• Hamouda
• France
• Jan 25, 2013

New Question :

The application containes the following Plain Old Class Object (POCO) classes

public class WorkFlow
{
public List<WorkFlowStep> WorkFlowSteps{get; set;}
..
}

public class WorkFlowStep
{
..
}

The application also contains the following method (Line numbre..)

01 Void Methode(WorkFlow workflow)
02 {
03 var context = new MyDataModelContex();
04 ..
05 }

You need explicitly load related insctances of the workflowstep for the instance of workflow object.

Which code segement Should you insert at line 04?

3. Context.CreateObject<WorkFlow>( ..????
4. Context.CreateObject<WorkFlow>( ..????

• Jan 25, 2013
• Hamouda
• France
• Jan 24, 2013

975 Thank you
Juste one new question ;)

• Jan 24, 2013
• Tshepo from South Africa
• South Africa
• Jan 22, 2013

950 today, dumb is very much valid. thanks

• Jan 22, 2013
• Peter
• United Kingdom
• Jan 20, 2013

Regarding question 172 - D is the correct answer, because B tries to use TotalMilliseconds which is not a member of TimeSpan.

• Jan 20, 2013
• Peter
• United Kingdom
• Jan 20, 2013

In question 172, why is the answer D and not B?
B works well and saves one line of code:

You use Microsoft .NET Framework 4.0 to develop an application that connects to a local Microsoft SQL Server 2008 database.
The application can access a high-resolution timer. You need to display the elapsed time, in sub-milliseconds (<1 millisecond),
that a database query takes to execute. Which code segment should you use?

B: Stopwatch sw = Stopwatch.StartNew();
command.ExecuteNonQuery() ;
sw.Stop() ;
Console.WriteLine("Time Elapsed: {0:N} ms", sw.Elapsed.TotalMilliseconds);

• Jan 20, 2013
• Prakash
• India
• Jan 19, 2013

This dump is valid. I passed recently with 900 out of 1000

• Jan 19, 2013
• Singapore
• Dec 24, 2012

Dump is valid in India. Scored 1000 today :)

• Dec 24, 2012
• Tiago Crizanto
• Brazil
• Dec 20, 2012

This dump still is valid. I passed today - 884. I also used the dump Microsoft.ActualTest.70-516.v2012-08-11.by.Anonymous.197q (is very similar)

• Dec 20, 2012
• a
• Egypt
• Dec 20, 2012

valid passed 930

• Dec 20, 2012
• sspp
• Spain
• Dec 07, 2012

Valid. Passed today.

• Dec 07, 2012
• Khathutshelo
• South Africa
• Dec 07, 2012

Valid Mock

• Dec 07, 2012
• dominik
• Poland
• Nov 30, 2012

Passed today - the same questions on test - thanks

• Nov 30, 2012
• Silvano
• Italy
• Nov 20, 2012

about question 174 (You use Microsoft .NET Framework 4.0 to develop an application that uses WCF Data Services to persist
entities from the following Entity Data Model...) i think that correct answer is B and not C. Which is the right answer and why?

• Nov 20, 2012
• Choragus
• Nov 17, 2012

Passed today. Only 1 new question. Thanks!

• Nov 17, 2012
• Bella
• Nov 07, 2012

paul, can you write the questions with the right answersthat you checked?
thanks.

• Nov 07, 2012
• paul
• Lithuania
• Nov 02, 2012

just passed 1000/1000.
no new questions.

• Nov 02, 2012
• pavel
• Lithuania
• Nov 01, 2012

@Marin:
It is strongly recommended that service operations declare their faults by using the FaultContractAttribute attribute to formally specify all SOAP faults that a client can expect to receive in the normal course of an operation. It is also recommended that you return in a SOAP fault only the information that a client must know to minimize information disclosure.

from http://msdn.microsoft.com/en-us/library/ms733721.aspx

so i assume, answer is C

• Nov 01, 2012
• raheel
• Pakistan
• Oct 15, 2012

Hi We are getting below error, can you please check this?

---------------------------
Visual CertExam Manager
---------------------------
---------------------------
OK
---------------------------

Thanks,

• Oct 15, 2012
• Marin
• Albania
• Oct 15, 2012

You use Microsoft Visual Studio 2010 and Microsoft.Net Framework 4.0 to create an application. You deploy a WCF Data Service to a production server.
The application is hosted by IIS.
After deployment, applications that connect to the service receive the following error message:
"The server ecnountered error processing the request. See server logs for more details."
You need to ensure that the actual exception data is provided to client computers. What should you do ?

A)Modify the application Web.config file. Set the value of the customError
element to Off.
B)Modify the application Web.config file. Set the value of the customError
element to RemoteOnly.
C)Add the FaultContract attribute to the class that implements the data
service.
D)Add the ServiceBehavior attribute to the class that implements the data
service.

I found different answers in different tests.
In some tests the right answer is D, in others is C.