Overview -
Trey Research Inc. is a Software-as-a-Service (SaaS) company that provides hosted solutions for business partners around the world. The company is developing a solution that will allow business partners to manage events, including shareholder meetings and trade shows.
You hold meetings with key partners to identify requirements and constraints for the solution. You must minimize costs where possible.
You work with an Azure solutions architect to design the logical structure for the solution. The solution will use the following architecture:
Answer : A
Explanation:
Scenario: All testing must interact directly with the Web App backend. Automated testing of the solution is performed using a remote third-party testing solution.
Overview -
Trey Research Inc. is a Software-as-a-Service (SaaS) company that provides hosted solutions for business partners around the world. The company is developing a solution that will allow business partners to manage events, including shareholder meetings and trade shows.
You hold meetings with key partners to identify requirements and constraints for the solution. You must minimize costs where possible.
You work with an Azure solutions architect to design the logical structure for the solution. The solution will use the following architecture:
Answer : B
Explanation:
Instead, move the Web App backend to a private VNet.
Scenario: All testing must interact directly with the Web App backend. Automated testing of the solution is performed using a remote third-party testing solution.
Overview -
Trey Research Inc. is a Software-as-a-Service (SaaS) company that provides hosted solutions for business partners around the world. The company is developing a solution that will allow business partners to manage events, including shareholder meetings and trade shows.
You hold meetings with key partners to identify requirements and constraints for the solution. You must minimize costs where possible.
You work with an Azure solutions architect to design the logical structure for the solution. The solution will use the following architecture:
Answer : A
Explanation:
Scenario: An Azure WebJob named EventJob will be deployed with the Event Service Web App. The WebJob:
✑ Creates new computed events when partner events are created.
✑ Must be active whenever the Event Service is running.
Triggered WebJobs Starts only when triggered manually or on a schedule. Runs on a single instance that Azure selects for load balancing.
References:
https://docs.microsoft.com/en-us/azure/app-service/webjobs-create
Overview -
Trey Research Inc. is a Software-as-a-Service (SaaS) company that provides hosted solutions for business partners around the world. The company is developing a solution that will allow business partners to manage events, including shareholder meetings and trade shows.
You hold meetings with key partners to identify requirements and constraints for the solution. You must minimize costs where possible.
You work with an Azure solutions architect to design the logical structure for the solution. The solution will use the following architecture:
Answer :
Explanation:
Scenario: Individual events must be immutable. Event data will be stored in Cosmos DB using the Document API.
Box 1: Strong -
Strong: Strong consistency offers a linearizability guarantee. The reads are guaranteed to return the most recent committed version of an item. A client never sees an uncommitted or partial write. Users are always guaranteed to read the latest committed write.
Box 2: Strong -
Strong: Strong consistency offers a linearizability guarantee. The reads are guaranteed to return the most recent committed version of an item. A client never sees an uncommitted or partial write. Users are always guaranteed to read the latest committed write.
Box 3: Consistent -
Azure Cosmos DB supports two indexing modes:
Consistent: If a container's indexing policy is set to Consistent, the index is updated synchronously as you create, update or delete items. This means that the consistency of your read queries will be the consistency configured for the account.
None: If a container's indexing policy is set to None, indexing is effectively disabled on that container. This is commonly used when a container is used as a pure key-value store without the need for secondary indexes. It can also help speeding up bulk insert operations.
References:
https://docs.microsoft.com/en-us/azure/cosmos-db/index-policy
Overview -
Trey Research Inc. is a Software-as-a-Service (SaaS) company that provides hosted solutions for business partners around the world. The company is developing a solution that will allow business partners to manage events, including shareholder meetings and trade shows.
You hold meetings with key partners to identify requirements and constraints for the solution. You must minimize costs where possible.
You work with an Azure solutions architect to design the logical structure for the solution. The solution will use the following architecture:
Answer :
Explanation:
Box 1, Probing interval: 10 -
Probing Interval. This value specifies how often an endpoint is checked for its health from a Traffic Manager probing agent. You can specify two values here: 30 seconds (normal probing) and 10 seconds (fast probing). If no values are provided, the profile sets to a default value of 30 seconds.
Box 2: Tolerated Number of Failures: 3
Tolerated Number of Failures. This value specifies how many failures a Traffic Manager probing agent tolerates before marking that endpoint as unhealthy. Its value can range between 0 and 9. A value of 0 means a single monitoring failure can cause that endpoint to be marked as unhealthy. If no value is specified, it uses the default value of 3.
Scenario: Regional access to the Event Service API
Data for partners in Germany and Brazil must be served from Azure datacenters in their respective geographies unless there is a regional Azure outage. All other partners must use the US West Azure datacenter.
The solution will be highly available. You define regional Azure outages as periods of 60 seconds or more where the Event Service is not available.
References:
https://docs.microsoft.com/en-us/azure/traffic-manager/traffic-manager-monitoring
Overview -
Trey Research Inc. is a Software-as-a-Service (SaaS) company that provides hosted solutions for business partners around the world. The company is developing a solution that will allow business partners to manage events, including shareholder meetings and trade shows.
You hold meetings with key partners to identify requirements and constraints for the solution. You must minimize costs where possible.
You work with an Azure solutions architect to design the logical structure for the solution. The solution will use the following architecture:
Answer : B
Explanation:
Scenario: An Azure WebJob named EventJob will be deployed with the Event Service Web App. The WebJob:
✑ Creates new computed events when partner events are created.
✑ Must be active whenever the Event Service is running.
✑ Is updated once a quarter.
References:
https://stackify.com/azure-deployment-slots/
Overview -
Trey Research Inc. is a Software-as-a-Service (SaaS) company that provides hosted solutions for business partners around the world. The company is developing a solution that will allow business partners to manage events, including shareholder meetings and trade shows.
You hold meetings with key partners to identify requirements and constraints for the solution. You must minimize costs where possible.
You work with an Azure solutions architect to design the logical structure for the solution. The solution will use the following architecture:
Answer :
Explanation:
Box 1: AddMv(optioins =>
If the Accept header contains */*, the Header is ignored unless RespectBrowserAcceptHeader is set to true on MvcOptions.
Scenario: Include the X-Customer header in all calls to identify the partner.
Box 2: true -
To configure an app to honor browser accept headers, set RespectBrowserAcceptHeader to true:
RespectBrowserAcceptHeader -
Scenario: Include the X-Customer header in all calls to identify the partner.
Box 3:
XML formatters implemented using XmlSerializer are configured by calling AddXmlSerializerFormatters: services.AddControllers()
.AddXmlSerializerFormatters();
Scenario: Support both JSON and XML-based data.
References:
https://docs.microsoft.com/en-us/aspnet/core/web-api/advanced/formatting
Mix Questions -
You are developing an application in Visual Studio to display student information. The application contains the following Entity Framework model.
Answer : A
DRAG DROP -
You are developing a WCF Data Services service in Visual Studio to display movie information from a SQL Server database that changes every 24 hours. The service is defined in the following class.
Answer :
Explanation:
Query interceptor methods, which are called when processing an HTTP GET request, must return a lambda expression that determines whether an instance of the interceptor's entity set should be returned by the query results. This expression is used by the data service to further refine the requested operation. The following is an example definition of a query interceptor.
// Define a query interceptor for the Orders entity set.
[QueryInterceptor("Orders")]
public Expression<Func<Order, bool>> OnQueryOrders()
References:
https://docs.microsoft.com/en-us/dotnet/framework/data/wcf/interceptors-wcf-data-services
You are developing an ASP.NET MVC application that reads and writes data from a SQL Server database.
You need to prevent the application from reading data that is locked by other transactions. You also need to prevent exclusive range locks.
Which isolation level should you use?
Answer : A
DRAG DROP -
You are developing a Windows Azure based web application that provides users the ability to rent training videos. The application is deployed to hosted services in Asia and Europe.
The web application must meet the following requirements:
✑ Video files are large and must be able to be streamed.
✑ Streaming videos requires low latency network connections.
✑ Rental data contains structured information about the user and the video.
✑ Rental permissions are checked every five seconds during video playback.
You need to recommend a storage architecture for the application.
What should you do? (To answer, drag the appropriate technologies to the correct location or locations in the answer area. Each technology may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:
Answer :
DRAG DROP -
You are developing a self-hosted WCF service that returns stock market information.
The service must be discoverable by any client application. You need to build the service host.
How should you build the host? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:
Answer :
You are developing a WCF service that compares several data sources. The service takes a long time to complete.
The service must meet the following requirements:
✑ The client must be able to continue processing while the service is running.
✑ The service must initiate communication with the client application when processing is complete.
You need to choose a message pattern to meet the requirements.
Which message pattern should you choose?
Answer : C
DRAG DROP -
You are developing a WCF service.
You need to implement transport security by using NTLM authentication and NetTcpBindings.
You have the following markup:
Answer :
You are developing a WCF service.
A new service instance must be created for each client session.
You need to choose an instancing mode.
Which instance mode should you use?
Answer : D
Explanation:
PerSession: A new InstanceContext (and therefore service object) is created for each new client session and maintained for the lifetime of that session (this requires a binding that supports sessions).
Incorrect: Answers -
A: PerCall: A new InstanceContext (and therefore service object) is created for each client request.
B: Single: A single InstanceContext (and therefore service object) handles all client requests for the lifetime of the application.
References:
https://msdn.microsoft.com/en-us/library/ms731193(v=vs.110)