Câu 9: DP-800: Developing AI-Enabled Database Solutions
You have an Azure SQL database. You deploy Data API builder (DAB) to Azure Container Apps by using the mcr.microsoft.com/azure-databases/data-api-builder:latest image. You have the following Container Apps secrets:MSSQL_CONNECTION_STRING that maps to the SQL connection stringDAB_CONFIG_BASE64 that maps to the DAB conf…
Nội dung câu hỏi
You have an Azure SQL database. You deploy Data API builder (DAB) to Azure Container Apps by using the mcr.microsoft.com/azure-databases/data-api-builder:latest image. You have the following Container Apps secrets:MSSQL_CONNECTION_STRING that maps to the SQL connection stringDAB_CONFIG_BASE64 that maps to the DAB configurationYou need to initialize the DAB configuration to read the SQL connection string. Which command should you run?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. dab init --database-type mssql --connection-string “secretref:DAB_CONFIG_BASE64” --host-mode Production --config dab-config.json
- B. dab init --database-type mssql --connection-string “@env(‘MSSQL_CONNECTION_STRING’)” --host-mode Production --config dab-config.json — đáp án hiện tại
- C. dab init --database-type mssql --connection-string “secretref:mssql-connection-string” --host-mode Production --config dab-config.json
- D. dab init --database-type mssql --connection-string “@env(‘DAB_CONFIG_BASE64’)” --host-mode Production --config dab-config.json
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.