IT Certifications · 70-487

Exam 70-487: Developing Microsoft Azure and Web Services Practice Test

Exam 70-487 practice focuses on developing Microsoft Azure and web services with .NET technologies. The practice bank samples implementation decisions across Entity Framework, ASP.NET Web API, and Windows Communication Foundation (WCF), including data access, request handling, service descriptions, and application startup. These topics connect service code to database behavior, HTTP conventions, and application lifecycle concerns.

Exam overview

Exam providerMicrosoft
Exam code70-487
CategoryIT Certifications

About the Exam 70-487: Developing Microsoft Azure and Web Services Exam

The questions exercise practical choices developers make when building data-driven services. Entity Framework scenarios address transaction boundaries, schema evolution through migrations, and generating models and contexts from an existing database. Web API scenarios focus on validating model state, binding route and body values, checking request media types, applying shared request logic through message handlers, and enforcing role-based access. WCF material includes using service metadata to create client proxies. Together, these concepts require distinguishing responsibilities at the data, transport, and application-pipeline layers—for example, choosing a transaction for atomic database changes rather than relying on schema migration, or using a message handler for cross-cutting request behavior rather than controller-specific logic. The practice bank reflects these implementation scenarios; it should not be read as a statement of official exam coverage.

Sample Practice Questions

Review a selection from this exam's published US Practice Tests practice bank.

Question 1

A service uses Entity Framework and needs to ensure that several database changes either all succeed or are all rolled back. What database concept should it use?

  1. AA transaction
  2. BA navigation property
  3. CA lazy-loading proxy
  4. DA connection string name
Show answerCorrect answer: A

A transaction groups database operations into a unit that can commit together or roll back on failure, supporting atomicity. The other choices do not provide this all-or-nothing behavior.

Question 2

A team wants Entity Framework to generate and apply database schema changes as its model evolves while preserving existing data where possible. Which feature is designed for this workflow?

  1. ACode First Migrations
  2. BDatabase logging providers
  3. CLINQ query projection
  4. DEntity validation attributes
Show answerCorrect answer: A

Code First Migrations tracks model changes and provides migration operations that can update the database schema over time. The other options address logging, query shaping, or validation rather than schema evolution.

Question 3

An ASP.NET Web API application needs to validate incoming model data and return the validation errors when the model is invalid. Which controller approach is appropriate?

  1. ACheck ModelState.IsValid and return a client-error response containing the validation details when it is false.
  2. BCall SaveChanges before checking the model state.
  3. CUse HttpContext.Response.Redirect to send the request to the model class.
  4. DDisable model binding so the controller can validate the raw request body.
Show answerCorrect answer: A

ASP.NET Web API model binding and validation populate ModelState. Checking ModelState.IsValid lets the controller reject invalid input and report validation errors rather than processing it.

Question 4

An Entity Framework application uses a database-first workflow and needs to create entity classes and a context from an existing database schema. Which tool workflow is appropriate?

  1. AReverse engineer the database into an EF model
  2. BRun database migrations from an empty model
  3. CUse a WCF service reference
  4. DRegister a Web API route constraint
Show answerCorrect answer: A

Database-first development can reverse engineer an existing database to create an Entity Framework model and corresponding classes. Migrations primarily support evolving a database from a code model, while the other options are unrelated.

Question 5

An ASP.NET application needs to run initialization code once when the application domain starts. Which application lifecycle method is intended for this purpose in Global.asax?

  1. AApplication_Start
  2. BSession_End
  3. CApplication_Error
  4. DBeginRequest
Show answerCorrect answer: A

Application_Start runs when the ASP.NET application starts in its application domain, making it a suitable place for application-wide initialization such as registering routes or filters.

Question 6

An ASP.NET Web API application needs to apply common logic to incoming requests before they reach controllers, such as adding a correlation identifier. Which component is designed for this pipeline-level work?

  1. AAn action filter
  2. BA delegating handler
  3. CA media type formatter
  4. DA route constraint
Show answerCorrect answer: B

A delegating handler participates in the HTTP message pipeline and can inspect or modify requests and responses across routes. Action filters are associated with controller actions, while formatters handle representation conversion.

Question 7

A developer wants to build a WCF client proxy from a service's published description. Which metadata format is commonly used to describe the service contract and endpoints?

  1. AWSDL
  2. BCSS
  3. CXSLT
  4. DYAML
Show answerCorrect answer: A

WSDL describes web service operations, messages, and bindings, allowing tools to generate client proxies. CSS, XSLT, and YAML are not the standard WCF service-description format used for this purpose.

How to use this practice test

The free practice session draws up to 20 random questions from the available 70-487 bank. Submit answers to see results after the session, then use missed items to pinpoint concepts to revisit, such as Entity Framework transactions or Web API parameter binding. The bank contains 50 published questions.

Preparation tips

  • Compare Entity Framework transactions with migrations: transactions protect a group of database operations, while migrations track and apply schema changes.
  • Practice distinguishing database-first scaffolding from code-first schema workflows, including the roles of entity classes and the context.
  • Trace a Web API request from routing and parameter binding through model validation; note when route values, body data, and Content-Type are involved.
  • Review where to place cross-cutting request behavior in a message handler, and how role-based authorization differs from authentication.
  • Work through WCF metadata and proxy generation so you can connect a service description to a client-side contract and endpoint.
Official sourceOfficial exam page ↗