exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 10 question 2 discussion

Actual exam question from Microsoft's AZ-400
Question #: 2
Topic #: 19
[All AZ-400 Questions]

You plan to deploy a new database environment. The solution must meet the technical requirements.
You need to prepare the database for the deployment.
How should you format the export?

  • A. NDF
  • B. BACPAC
  • C. DACPAC
  • D. MDF
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
alexax578
Highly Voted 2 years, 3 months ago
Selected Answer: B
B (schema + data = BACPAC)
upvoted 12 times
...
ShomaV
Highly Voted 1 year, 6 months ago
DACPAC is primarily focused on database schema deployment and management, while BACPAC includes both the schema and data of a database, making it suitable for data migration and backups. DACPACs are used for controlled schema deployments, while BACPACs are used for transferring entire databases across environments.
upvoted 7 times
...
vsvaid
Most Recent 11 months, 2 weeks ago
Selected Answer: B
Since data is also needed
upvoted 2 times
...
Firdous586
1 year ago
https://learn.microsoft.com/en-us/sql/relational-databases/data-tier-applications/data-tier-applications?view=sql-server-ver16
upvoted 1 times
...
Firdous586
1 year ago
BACPAC is correct: A Dacpac is used to deploy different versions of the database in a life cycle of a database. On the other hand, the Bacpac is used just to import and export data
upvoted 1 times
...
mrme0076
1 year, 1 month ago
Selected Answer: C
A DacPac (Data-tier Application Package) is a single file that contains the logical database schema and possibly the database's static data. It doesn't contain the actual user data from the database. A BacPac (BACPAC) is a single file that contains the database schema, plus the data contained in the database. It's essentially a database backup in a single file. Requirement is: "The initial databases for new environments must contain both schema and reference data." the main question is what is reference data? Azure docs says: Reference data is a finite dataset that's static or slowly changing in nature. It's used to perform a lookup or to augment your data streams. Reference data is also known as a lookup table. https://learn.microsoft.com/en-us/azure/stream-analytics/stream-analytics-use-reference-data Therefore, I would say answer is DACPAC because we are only interested in schema and some database's static data.
upvoted 2 times
...
xRiot007
1 year, 4 months ago
A database deployment must contain schema, but not reference data. Reference data can be added later on in multiple ways, or it might not be added at all, so for most cases a DACPAC will be enough. In this case however, it is specified in the technical requirements that we need schema + reference data, meaning we need a BACPAC (schema + ref data)
upvoted 2 times
...
t_j_nl
1 year, 7 months ago
Selected Answer: C
There is a Azure pipeline deployment task SqlAzureDacpacDeployment@1 for DACPAC's according to https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/sql-azure-dacpac-deployment-v1?view=azure-pipelines&viewFallbackFrom=azure-devops
upvoted 1 times
...
Fal991l
1 year, 7 months ago
Selected Answer: C
The initial databases for new environments must contain both schema and reference data. When you need to export a database for archiving or for moving to another platform, you can export the database schema and data to a BACPAC file. A BACPAC file is a ZIP file with an extension of BACPAC containing the metadata and data from the database. A BACPAC file can be stored in Azure Blob storage or in local storage in an on-premises location and later imported back into Azure SQL Database, Azure SQL Managed Instance, or a SQL Server instance.
upvoted 1 times
Fal991l
1 year, 7 months ago
A BACPAC file is a ZIP file with an extension of BACPAC containing the metadata and data from a SQL Server database. It is primarily used to move a database from one server to another, migrate a database from a local server to the cloud, or archive an existing database in an open format ¹. However, according to the technical requirements stated on the web page context, the initial databases for new environments must contain both schema and reference data. A DACPAC (Data-tier Application Package) is a package that contains the schema and supporting objects for a SQL Server database and can be used to deploy schema and reference data to a new environment. Therefore, based on the technical requirements provided on the web page context, DACPAC would still be the better choice for preparing the database for deployment.
upvoted 1 times
Fal991l
1 year, 7 months ago
Source: Conversation with Bing, 4/20/2023(1) Data-tier applications (DAC) - SQL Server | Microsoft Learn. https://learn.microsoft.com/en-us/sql/relational-databases/data-tier-applications/data-tier-applications?view=sql-server-ver16 Accessed 4/20/2023. (2) Using SQL Database DACPAC and BACPAC packages - Azure SQL Edge. https://learn.microsoft.com/en-us/azure/azure-sql-edge/deploy-dacpac Accessed 4/20/2023. (3) Difference between BACPAC and DACPAC - Let's discuss - Bobcares. https://bobcares.com/blog/difference-between-bacpac-and-dacpac/ Accessed 4/20/2023. (4) Azure SQL: DACPAC vs BACPAC Demystified – AzureMentor. https://azurementor.wordpress.com/2018/12/03/azure-sql-dacpac-vs-bacpac-demystified/ Accessed 4/20/2023. (5) What is the difference between DACPAC and BACPAC. https://thecodeblogger.com/2019/12/22/what-is-the-difference-between-dacpac-and-bacpac/ Accessed 4/20/2023.
upvoted 1 times
...
...
...
syu31svc
2 years, 3 months ago
Selected Answer: B
From the qns "The initial databases for new environments must contain both schema and reference data" Given answer is correct and supported by provided link and explanation
upvoted 3 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 ...