exam questions

Exam 70-487 All Questions

View all questions & answers for the 70-487 exam

Exam 70-487 topic 1 question 103 discussion

Actual exam question from Microsoft's 70-487
Question #: 103
Topic #: 1
[All 70-487 Questions]

You add a .NET application to a Docker container and deploy the container to Azure Service Fabric. You use a corporate base image that includes Microsoft SQL
Server for storing data.
You deploy the application to development and staging environments. No issues are reported. You deploy the application to your production environment. Data is not persisted in the production environment.
You need to resolve the issue.
What should you do?

  • A. Install Docker tools in the container.
  • B. In the docker-compose.override.yml file, configure the db service to start before the web application.
  • C. Update the connection string in the web.config file to point to the SQL Server database in the container.
  • D. Remove SQL Server from the base image and convert the database to Azure SQL Database.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
References:
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-host-app-in-a-container

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
C0unt23r0
Highly Voted 5 years, 5 months ago
The answer is wrong, but the reference not. Correct: D "When running the Fabrikam application in production, the data needs to be persisted in a database. There is currently no way to guarantee persistent data in a container, therefore you cannot store production data in SQL Server in a container."
upvoted 32 times
bashirmja
4 years, 5 months ago
We recommend Azure SQL Database. Source: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-host-app-in-a-container
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...