exam questions

Exam AZ-301 All Questions

View all questions & answers for the AZ-301 exam

Exam AZ-301 topic 5 question 10 discussion

Actual exam question from Microsoft's AZ-301
Question #: 10
Topic #: 5
[All AZ-301 Questions]

You manage an application instance. The application consumes data from multiple databases. Application code references database tables using a combination of the server, database, and table name.
You need to migrate the application instance to Azure.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. SQL Server Stretch Database
  • B. SQL Server in an Azure virtual machine
  • C. Azure SQL Database
  • D. SQL Managed Instance
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️
A: Access your SQL Server data seamlessly regardless of whether it's on-premises or stretched to the cloud. You set the policy that determines where data is stored, and SQL Server handles the data movement in the background. The entire table is always online and queryable. And, Stretch Database doesn't require any changes to existing queries or applications - the location of the data is completely transparent to the application.
D: The managed instance deployment model is designed for customers looking to migrate a large number of apps from on-premises or IaaS, self-built, or ISV provided environment to fully managed PaaS cloud environment, with as low migration effort as possible. Using the fully automated Data Migration Service (DMS) in Azure, customers can lift and shift their on-premises SQL Server to a managed instance that offers compatibility with SQL Server on-premises and complete isolation of customer instances with native VNet support.
References:
https://docs.microsoft.com/en-us/sql/sql-server/stretch-database/stretch-database https://docs.microsoft.com/en-us/azure/sql-database/sql-database-managed-instance

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
ferdzh
Highly Voted 5 years, 3 months ago
Shouldn't this B and D? Both SQL Server on Azure VM and SQL Managed Instance can support cross-database queries wherein server.dbName.tableName is used. Stretch Database is for migrating cold data transparently and securely to the Azure cloud.
upvoted 42 times
Daren
5 years, 2 months ago
I think you are right. B and D seem to be correct here.
upvoted 6 times
...
STFN2019
5 years ago
agreed, I'd go for A & D during an exam
upvoted 1 times
STFN2019
5 years ago
B & D I meant :)
upvoted 2 times
...
...
...
CipherK
Highly Voted 5 years, 2 months ago
A is wrong, Stretch Database is a feature of SQL Server where data can be split between on-premises storage and cloud storage. With Stretch Database, cold, historical data is kept in the cloud and active data is kept on-premises for maximum performance. The requirement is to migrate the application instance to Azure. A is partial migrate which doesn't fulfill the requiremnt.
upvoted 13 times
Happiman
5 years, 2 months ago
That exactly why the solution needs it. Answer is A & D.
upvoted 1 times
sourabh7257
4 years, 10 months ago
but A is SQL Server Stretch Database. is it right?
upvoted 1 times
...
JayBee65
2 years, 11 months ago
No it does not say that anywhere. The requirement is "the application consumes data from multiple databases" The requirement is to be able to consume data form multiple databases, not to move all of the data to a single database.
upvoted 1 times
...
...
...
AKumar
Most Recent 4 years, 2 months ago
B and D make sense.
upvoted 1 times
...
glam
4 years, 4 months ago
B. SQL Server in an Azure virtual machine D. SQL Managed Instance
upvoted 2 times
...
sanketshah
4 years, 5 months ago
B and D are correct answer.
upvoted 2 times
...
fiol82
4 years, 9 months ago
A and D are correct
upvoted 1 times
...
[Removed]
4 years, 10 months ago
Okay now I am confident that "Linked Servers" is the feature to use here, because of this statement; "App consumes data from __multiple__ DBs and code references tables using a combination of the __server, database, and table name__". So Linked Servers are already getting used. A query would look like this SELECT col1, col2 FROM [linkedservername].[databasename].[schemaname].[tablename] So the answer is definitly B) and D) as this are the only options supporting this feature!
upvoted 3 times
tmurfet
4 years, 9 months ago
After researching the Stretch Database feature I've concluded that it's only of any real use for data that rarely changes, and even then the price may be a blocker. There are a lot of limitations to its use, and I don't see it listed in Microsoft Learn or any current exam syllabus. Old question, and I don't think Stretch Database is appropriate in this case. I choose B & D.
upvoted 6 times
...
...
[Removed]
4 years, 10 months ago
This question really drives me mad. Another possibility is that Microsoft expects a solution based on the "Linked Servers" feature. This would allow a client to talk to a single endpoint which then performs distributed queries. If so, then B & D would be the correct answer, as only "SQL Server Database Engine" and "Azure SQL MI" support this feature... https://docs.microsoft.com/en-us/sql/relational-databases/linked-servers/linked-servers-database-engine?view=sql-server-ver15#linked-server-details
upvoted 3 times
...
[Removed]
4 years, 10 months ago
I too think that A) and D) are correct, because: A. SQL Server Stretch Database: Can be used to stretch _warm_ and cold data... and further a quote: "Doesn't require changes to queries or applications [...] the location of the data is transparent to the application". https://docs.microsoft.com/en-us/sql/sql-server/stretch-database/stretch-database?view=sql-server-ver15 D. SQL Managed Instance Supports custom DNS, which would allow to add a name the fits the references in the code... https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/custom-dns-configure
upvoted 1 times
...
mackc13
4 years, 10 months ago
A & D is correct. https://azure.microsoft.com/en-us/services/sql-server-stretch-database/#overview https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/sql-managed-instance-paas-overview
upvoted 1 times
...
maheshwary
4 years, 10 months ago
A & D are correct answers
upvoted 1 times
...
azlopaz
4 years, 10 months ago
Too many limitations for the Stretched Database DML operations You can't UPDATE or DELETE rows that have been migrated, or rows that are eligible for migration, in a Stretch-enabled table or in a view that includes Stretch-enabled tables. You can't INSERT rows into a Stretch-enabled table on a linked server. Indexes You can't create an index for a view that includes Stretch-enabled tables. Filters on SQL Server indexes are not propagated to the remote table.
upvoted 1 times
...
am20
4 years, 11 months ago
Considering the question says: 1. "migrate the app (not DBs) instance to Azure" 2. "combination of the server, database, and table name" and Except if Managed Instance can use the same server name, I think the correct answers would be A and B
upvoted 3 times
aMaineCloud
4 years, 10 months ago
As per your first point 1 - A (stretch database is definitely a correct answer)
upvoted 1 times
...
...
DeveshSolanki
4 years, 11 months ago
Agree. With B & D
upvoted 2 times
...
DeveshSolanki
4 years, 11 months ago
Answer is B&D
upvoted 5 times
...
PTC
5 years ago
https://docs.microsoft.com/en-us/sql/sql-server/stretch-database/stretch-database?view=sql-server-ver15 "Doesn't require changes to queries or applications Access your SQL Server data seamlessly regardless of whether it's on-premises or stretched to the cloud. You set the policy that determines where data is stored, and SQL Server handles the data movement in the background. The entire table is always online and queryable. And, Stretch Database doesn't require any changes to existing queries or applications - the location of the data is completely transparent to the application." So I think "A". Stretch Database is correct
upvoted 1 times
...
Avanade2023
5 years, 1 month ago
I think A, B and D are fulfilled the requirement. refer to : https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features
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 ...