Eind vragen

9 important questions on Eind vragen


The .NET Framework exposes many attributes to expose functionality to your class/methods. Which two of the following are valid attributes exposed by the .NET framework base class library?(Select Two)

A.Serializable
B.Authorize
C.JsonData
D.Obsolete

A,D


You attempt to access data in your REST Web Service, and you get an assess denied error. What must you implement in your service class InitializeService method to resolve this issue?


A.public static void Initialize( DataServiceConfiguration config) { ... config.AccessRule("SalesPersonByArea", ServiceOperationRights.ReadMultiple); }


B.public static void InitializeService( DataServiceConfiguration config) { ... config(new OperationAccessRule("SalesPersonByArea", ServiceOperationRights.ReadMultiple)); }


C.public static void InitializeService( DataServiceConfiguration config) { ... config.AccessRule("SalesPersonByArea", ServiceOperationRights.ReadMultiple); }


D.public static void InitializeService( DataServiceConfiguration config) { ... config.SetServiceOperationAccessRule("SalesPersonByArea", ServiceOperationRights.ReadMultiple); }

had ik fout



Which two of the following apply to .NET reflection?(Select Two)

A.Determining whether a type implements a specific interface
B.Defining and executing a method at run time
C.Executing code in your DLL
D.Examining database information your application is associated with

A,B
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart


When running Task you must be able to see any exceptions that transpire in the Task and pass them to the client. Which two actions must you take on the client to capture these exception(s)?(Select Two)



A.Iterate through all the Exception.Error
B.Iterate through all the InnerExceptions passed to the exception
C.Implement a Task.Wait();
D.Implement a Task.Await();

B,C



You want to change the background color of a button when the mouse rolls over it. Which code snippet will achieve this?

A.<Style Target="Button"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Background" Value="Yellow" /> </Trigger> </Style.Triggers> </Style>
B.<Style TargetType="Button"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Background" Value="Yellow" /> </Trigger> </Style.Triggers> </Style>
C.<Style TargetType="Button"> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Background" Value="Yellow" /> </Trigger> </Style>
D.<Style TargetType="Image"> <Style.Triggers> <Trigger Property="IsMouseOver" Value="True"> <Setter Property="Background" Value="Yellow" /> </Trigger> </Style.Triggers> </Style>

had ik fout


You are running a collection of tasks. If you need to wait for a specific task to complete, which method should you use?



A.Task.Wait
B.Task.Wait(0);
C.Task.WaitAny
D.Task.WaitAll

had ik fout


The LINQ tool allows you to query several types of data sources. LINQ works with which two of the following data sources? (Select Two)

A.XML documents
B.MS Access
C..NET framework collections
D.CSV files

A,C


Which of the following applies to GAC?(Select Two)

A.Assemblies are compiled into native code
B.Version history is maintained
C.Improved loading time
D.Side-by-side deployment and execution

had ik fout


You have a collection of Customer objects you want to bind to the following stack panel. Which code segment will achieve this? <StackPanel x:Name="stackCustomers"> <TextBlock Text="{Binding Path=Name}" /> <TextBlock Text="{Binding Path=Address}" /> <TextBlock Text="{Binding Path=CountryOfOrigin}" /> <TextBlock Text="{Binding Path=State}" /> </StackPanel>

A.stackCustomers.ItemsSource=customers;
B.stackCustomers.Binding=customers;
C.stackCustomers.DataContext=customers;
D.stackCustomers.DataSource=customers

had ik fout

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo