Tất Cả Khoá Học
Frontend
Học HTML5 - CSS3
Học Bootstrap
Học JS
Học JQuery
AngularJS
ReactJS
Java
Java Basic
Java Advanced
JSP Servlet
Java Web + EJB (EAD)
Java Web + WebService
Java Web + EA
Spring MVC
Mobile
Lập Trình Android Java
Lập Trình Flutter
CSDL
SQL Server/MySQL
Khác
Lập Trình C
C Sharp
Học PHP
Học Laravel
Git/Github
Blog
Phỏng Vấn
Jobs & Lập Trình Thời AI
Tin Tức & Công Nghệ
Review Công Nghệ
Phần Mềm & Tiện Ích
Trắc Nghiệm & Học Sinh
Thông Tin Hữu Ích
Quiz
Tools
Thiết Kế Web
Liên Hệ
Đăng nhập
QL - Bài Tập & Khoá Học
Tiếp Thị Liên Kết
Thoát
Light
Dark
Auto
Menu
Kiến Thức Core SQL Server
QUẢN LÝ KHÁCH SẠN - KHÓA HỌC SQL SERVER
Video
Hướng dẫn cách xác định kiểu dữ liệu, primary key, foreign key trong SQL - My SQL - SQL Server
Bài tập - Thiết kế CSDL - Tạo bảng, thêm dữ liêu, hiển thị dữ liệu - Lập trình SQL Server
Video
Hướng dẫn thao tác nhiểu bảng - select - multi table - join, inner join trong SQL Server
Thiết kế database - bãi đỗ xe - Lập trình SQL Server
Video
Hướng dẫn phân tích CSDL - phân tích bảng, column trong bản - Học lập trình SQL, SQL Server
Video
Hướng dẫn tìm hiểu create, alter , insert table và bản chất primary key, foreign key - SQL Server
Video
Hướng dẫn tìm hiểu select, and, in, like, not in,group by .. having, order by asc, desc - SQL Server
Thiết kế hệ quản trị CSDL - Quản lý sinh viên (create, alter, update, insert, select) - Lập trình SQL Server
Video
Quản lý sinh viên (create, alter, update, insert, select) - Lập trình SQL Server
Thiết kế CSDL quản lý sinh viên - lập trình sql server
SQL - Thiết kế CSDL quản lý bán hàng - Lập trình SQL Server
Thiết kế CSDL quản lý bán hàng - create - alter - insert - update - delete trong CSDL - Học lập trình SQL Server
Quản lý khách sạn - nâng cao - Lập trình Sql Server
QUẢN LÝ SINH VIÊN (CƠ BẢN) - KHOÁ HỌC SQL SERVER
QUẢN LÝ KHÁCH SẠN - KHOÁ HỌC SQL SERVER
Quản lý sách - Khóa học lập trình SQL Server
QUẢN LÝ THƯ VIỆN - KHOÁ HỌC SQL SERVER
View SQL Server
Video
Hướng dẫn tìm hiểu view trong SQL Server
Bài Giảng: Hướng dẫn tìm hiểu view + proc trong SQL - Lập trình SQL Server
Thiết kế CSDL quản lý sinh viên - nâng cao - phân 2 - lập trình sql server
Bài tập - Thiết kế CSDL - sử dụng trong giải đấu bóng đá FIFA - champions league - world cup - Lập trình SQL Server
QUẢN LÝ NGÂN HÀNG - KHOÁ HỌC LẬP TRÌNH SQL SERVER
Store & Procedure
Video
Hướng dẫn tìm hiểu proc procedure trong SQL Server - Lập trình SQL Server, MySQL
Bài tập - Quản lý bãi đỗ xe - Lập trình SQL Server
Bài tập - Xây dự hệ thống đưa đón học sinh bằng xe bus của Trường Học - Lập trình SQL Server
Bài Giảng: Xây dự hệ thống đưa đón học sinh bằng xe bus của Trường Học - Lập trình SQL Server
Bài tập - Thiết kế CSDL quản lý sở thú - SQL Server
Bài Giảng: Bài tập - Thiết kế CSDL quản lý sở thú - SQL Server
Bài tập - Chương trình quản lý bán hàng - Lập trình SQL Server
Xây dựng CSDL quản lý điểm danh Trường Học - Lập trình SQL Server/MySQL
Video
Xây dựng CSDL quản lý điểm danh aptech - Lập trình SQL Server/MySQL
Bài tập - Quản lý quán cafe - Lập trình SQL Server - MySQL
Video
Bài tập - Quản lý quán cafe - Lập trình SQL Server - MySQL
Trigger
Video
Học Trigger qua ví dụ - quản lý nhà trên phố - Lập trình SQL Server
Video
Hướng dẫn học trigger qua bài quản lý điểm danh Aptech - Lập trình SQL Server
Video
Bài tập - Quản lý nhân khẩu - Lập trình SQL Server - MySQL
Examination & Ôn Tập SQL Server
[Examination] Bài Thi Thực Hành SQL Server
[Examination] Quản lý sản phẩm - Lập trình SQL Server
Thiết kế CSDL & Nghiệp vụ quản lý tour du lịch - Khóa học SQL Server
Phân tích thiết kế hệ thống quản lý sinh viên - Aptech
Phân tích thiết kế database quản lý thư viện - Khóa học SQL Server
Phân tích hệ thống CSDL Quản Lý Khách Sạn - Khóa học SQL Server
Bài tập - Viết nghiệp vụ cho quản lý khách sạn - Khóa học SQL Server
Thiết kế CSDL quản lý carteen - Khóa học SQL Server
BÀI TẬP SQL – HỆ THỐNG QUẢN LÝ BÁN HÀNG
Product Management System
Hệ thống Quản lý Sản phẩm – Bài thực hành
Quản Lý Rạp Chiếu Phim - Khoá Học SQL Server
Ôn Tập Thi Lý Thuyết
[Examination] Ly Thuyet SQL Server 01
[Examination] Ly Thuyet SQL Server 02
[Examination] Ly Thuyet SQL Server 03
[Examination] Ly Thuyet SQL Server 04
[Examination] Ly Thuyet SQL Server 05
[Examination] Ly Thuyet SQL Server 06
[Examination] Ly Thuyet SQL Server 07
Trắc Nghiệm
[Trắc Nghiệm] Tìm hiểu về SQL Server - Phần 1
Trắc Nghiệm Khoá SQL Server - Phần 1
Trắc Nghiệm Khoá Học SQL Server Phân 2
SQL Server/MySQL
Trắc Nghiệm Khoá Học SQL Server Phân 2
Previous
Next
Câu hỏi 1: What are special data structures associated with tables or views that help speed up the query?
A: Indexes
B: Triggers
C: Synonyms
D: Stored Procedures
Đáp án: A
Câu hỏi 2: Which type of index sorts and stores the data rows of a table or view in order based on the index key?
A: Nonclustered index
B: Clustered index
C: Filtered index
D: Spatial index
Đáp án: B
Câu hỏi 3: In SQL Server, what are the storage units where data is stored known as?
A: Blocks
B: Sectors
C: Data pages
D: Extents
Đáp án: C
Câu hỏi 4: How many bytes does a page header take up at the beginning of a data page?
A: 64-byte
B: 96-byte
C: 128-byte
D: 256-byte
Đáp án: B
Câu hỏi 5: What is the recommended file extension for primary data files in SQL Server?
A: .ndf
B: .ldf
C: .mdf
D: .dbf
Đáp án: C
Câu hỏi 6: What is a table without a clustered index called?
A: Heap
B: Stack
C: Queue
D: Tree
Đáp án: A
Câu hỏi 7: Which type of index is suited to cover queries that select from a well-defined subset of data using a predicate?
A: Clustered Index
B: Unique Index
C: Filtered Index
D: Columnstore Index
Đáp án: C
Câu hỏi 8: In the B-Tree structure of an index, what are the bottom nodes called?
A: Root Nodes
B: Intermediate Nodes
C: Branch Nodes
D: Leaf Nodes
Đáp án: D
Câu hỏi 9: What statement is used to disable an index?
A: DROP INDEX
B: ALTER INDEX ... DISABLE
C: DISABLE INDEX
D: MODIFY INDEX ... DISABLE
Đáp án: B
Câu hỏi 10: Which system stored procedure allows you to rename any user-created object such as an index?
A: sp_changeindex
B: sp_altername
C: sp_rename
D: sp_modifyname
Đáp án: C
Câu hỏi 11: What is a special type of stored procedure executed automatically when an attempt is made to modify data in a table?
A: View
B: Trigger
C: Function
D: Batch
Đáp án: B
Câu hỏi 12: Which triggers execute when a table or a view is created, modified, or deleted using CREATE, ALTER, or DROP statements?
A: DML Triggers
B: Logon Triggers
C: DDL Triggers
D: INSTEAD OF Triggers
Đáp án: C
Câu hỏi 13: When a record is updated, which tables are used by the UPDATE trigger to copy the original and new records?
A: Inserted and Deleted tables
B: Updated and Modified tables
C: Primary and Secondary tables
D: Temporary and Permanent tables
Đáp án: A
Câu hỏi 14: What type of trigger is executed in place of the INSERT, UPDATE, or DELETE operations?
A: AFTER Trigger
B: DDL Trigger
C: Logon Trigger
D: INSTEAD OF Trigger
Đáp án: D
Câu hỏi 15: Which stored procedure is used to retrieve trigger definitions?
A: sp_showtrigger
B: sp_helptext
C: sp_getdefinition
D: sp_triggerinfo
Đáp án: B
Câu hỏi 16: What function returns a Boolean value specifying whether an UPDATE or INSERT action was performed on a specific column?
A: CHECK()
B: MODIFIED()
C: UPDATE()
D: CHANGED()
Đáp án: C
Câu hỏi 17: DDL and DML triggers can be nested up to how many levels?
A: 8 levels
B: 16 levels
C: 32 levels
D: 64 levels
Đáp án: C
Câu hỏi 18: At what level are LOGON triggers created?
A: Database level
B: Table level
C: Schema level
D: Server level
Đáp án: D
Câu hỏi 19: What happens to triggers defined on a table when the table is dropped?
A: They are moved to the Recycle Bin
B: They are automatically disabled
C: They are also dropped
D: They become orphaned triggers
Đáp án: C
Câu hỏi 20: Which DML trigger is executed on completion of INSERT, UPDATE, or DELETE operations?
A: BEFORE Trigger
B: INSTEAD OF Trigger
C: AFTER Trigger
D: Logon Trigger
Đáp án: C
Câu hỏi 21: What is a collection of one or more Transact-SQL statements sent to the server as one unit from an application?
A: Trigger
B: Function
C: Batch
D: View
Đáp án: C
Câu hỏi 22: What keyword is used to declare variables in the body of a batch?
A: DECLARE
B: SET
C: SELECT
D: ASSIGN
Đáp án: A
Câu hỏi 23: Which statements provide a way to have an alias for a database object that may exist on a remote or local server?
A: Batches
B: Synonyms
C: Variables
D: Functions
Đáp án: B
Câu hỏi 24: If a user has not provided a value at the time of declaration, what are variables initialized with?
B: Empty string
C: NULL
D: System default
Đáp án: C
Câu hỏi 25: Which statement enforces a condition on the execution of a Transact-SQL statement?
A: BEGIN...END
B: IF...ELSE
C: WHILE
D: WAITFOR
Đáp án: B
Câu hỏi 26: Which type of function always returns the same result each time it is called with a definite set of input values?
A: Non-deterministic function
B: Scalar function
C: Deterministic function
D: Table-valued function
Đáp án: C
Câu hỏi 27: Which textual data format is used for exchanging data in modern Web and Mobile applications and supported in SQL Server?
A: XML
B: CSV
C: YAML
D: JSON
Đáp án: D
Câu hỏi 28: Which clause is used to format SQL Server data or results of SQL queries as JSON?
A: FOR XML
B: FOR JSON
C: AS JSON
D: TO JSON
Đáp án: B
Câu hỏi 29: Which Transact-SQL clause is used to define a window within a query resultset?
A: GROUP BY
B: PARTITION BY
C: OVER
D: ORDER BY
Đáp án: C
Câu hỏi 30: Which ranking function spreads rows in an ordered partition into a given number of groups?
A: NTILE
B: ROW_NUMBER
C: DENSE_RANK
D: RANK
Đáp án: A
Câu hỏi 31: What are the four properties a logical unit of work must exhibit to qualify as a transaction?
A: Atomicity, Consistency, Isolation, Durability (ACID)
B: Accuracy, Consistency, Isolation, Durability
C: Atomicity, Concurrency, Isolation, Durability
D: Atomicity, Consistency, Integrity, Durability
Đáp án: A
Câu hỏi 32: Which transaction mode is the default for the SQL Server Database Engine?
A: Explicit Transactions
B: Implicit Transactions
C: Autocommit Transactions
D: Distributed Transactions
Đáp án: C
Câu hỏi 33: What system function returns the number of BEGIN TRANSACTION statements that occur in the current connection?
A: @@TRANSACTIONS
B: @@TRANCOUNT
C: @@TRANS
D: @@TRAN_ACTIVE
Đáp án: B
Câu hỏi 34: Which statement marks the end of a successful implicit or explicit transaction?
A: BEGIN TRANSACTION
B: ROLLBACK TRANSACTION
C: SAVE TRANSACTION
D: COMMIT TRANSACTION
Đáp án: D
Câu hỏi 35: What lock mode prevents access to resources by concurrent transactions during INSERT, UPDATE, or DELETE operations?
A: Shared Locks
B: Update Locks
C: Exclusive Locks
D: Intent Locks
Đáp án: C
Câu hỏi 36: What type of error is detected by SQL Server before beginning the execution process?
A: Syntax Error
B: Run-time Error
C: Logical Error
D: Hardware Error
Đáp án: A
Câu hỏi 37: Which Transact-SQL construct is used to handle exceptions effectively at the back end?
A: IF...ELSE
B: WHILE...CONTINUE
C: TRY...CATCH
D: BEGIN...END
Đáp án: C
Câu hỏi 38: Which function returns the number of the error that caused the CATCH block to run?
A: ERROR_STATE()
B: ERROR_SEVERITY()
C: ERROR_NUMBER()
D: ERROR_MESSAGE()
Đáp án: C
Câu hỏi 39: Which statement starts error processing for a session and displays a custom error message?
A: PRINT
B: RAISERROR
C: THROW
D: CATCH
Đáp án: B
Câu hỏi 40: Which function returns the line number at which the error occurred in the TRY...CATCH block?
A: ERROR_LINE
B: ERROR_NUMBER
C: ERROR_STATE
D: ERROR_PROCEDURE
Đáp án: A
Câu hỏi 41: What feature enables your SQL Server instance to process Transact-SQL queries that read data from external data sources like Hadoop?
A: Query Store
B: PolyBase
C: Service Broker
D: Replication
Đáp án: B
Câu hỏi 42: What is the logical group of SQL Database Engine, PolyBase Engine, and PolyBase Data Movement Service called in PolyBase Architecture?
A: Compute node
B: Data node
C: Head node
D: Name node
Đáp án: C
Câu hỏi 43: In SQL Server 2022 PolyBase enhancements, which API is utilized for seamless integration with object storage?
A: S3 REST API
B: Hadoop API
C: Azure Blob API
D: OLE DB API
Đáp án: A
Câu hỏi 44: Which of the following is a prerequisite to install PolyBase in SQL Server 2022?
A: 32-bit SQL Server
B: TCP/IP enabled for PolyBase to function correctly
C: Minimum 1 GB RAM
D: Minimum 1 GB hard-disk space
Đáp án: B
Câu hỏi 45: To query data in a Hadoop data source via PolyBase, what must you define to use in Transact-SQL queries?
A: An external table
B: A temporary table
C: A common table expression
D: A derived table
Đáp án: A
Câu hỏi 46: What SQL Server feature simplifies performance troubleshooting by helping quickly to find performance differences caused by query plan changes?
A: PolyBase
B: SQL Server Profiler
C: Query Store
D: Extended Events
Đáp án: C
Câu hỏi 47: Which state is the Operation Mode (Requested) set to when enabling Query Store via SSMS?
A: Off
B: Read Only
C: Read Write
D: Auto
Đáp án: C
Câu hỏi 48: In Query Store architecture, what messages are sent to the Query Store during query processing?
A: Compile Message and Execute Message
B: Parse Message and Bind Message
C: Wait Message and Run Message
D: Start Message and End Message
Đáp án: A
Câu hỏi 49: Which of the following is a new Query Store feature in SQL Server 2022?
A: In-Memory OLTP
B: Cardinality Estimation (CE) feedback
C: AlwaysOn Availability Groups
D: Read-Scale Availability
Đáp án: B
Câu hỏi 50: Which system stored procedure forces a plan for a particular query in Query Store?
A: sp_query_store_remove_plan
B: sp_query_store_flush_db
C: sp_query_store_force_plan
D: sp_query_store_reset_exec_stats
Đáp án: C
Câu hỏi 51: What does IQP stand for in SQL Server 2022?
A: Integrated Query Processing
B: Intelligent Query Processing
C: Internal Query Performance
D: Indexed Query Plans
Đáp án: B
Câu hỏi 52: What compatibility level must be enabled to explicitly make a database eligible for IQP in SQL Server 2022?
A: 140
B: 150
C: 160
D: 170
Đáp án: C
Câu hỏi 53: Which IQP feature assists SQL Server in improving the accuracy of query execution plans by providing the estimated number of rows?
A: Optimized plan forcing
B: Cardinality Estimation (CE) feedback
C: Degree of Parallelism (DOP) feedback
D: Memory Grant Feedback (MGF)
Đáp án: B
Câu hỏi 54: Which feature optimizes resource usage by identifying inefficiencies in running repeated queries in parallel?
A: Memory Grant Feedback
B: Degree of Parallelism (DOP) feedback
C: Parameter Sensitive Plan optimization
D: Approximate percentile
Đáp án: B
Câu hỏi 55: What is a limitation of the Parameter Sensitive Plan (PSP) Optimization?
A: Reduced memory allocation
B: Improved query performance
C: Increased size of plan cache
D: Availability of multiple execution plans
Đáp án: C
Câu hỏi 56: Machine Learning in SQL Server refers to the integration of which languages with the SQL database engine?
A: Java and C++
B: R and Python
C: C# and F#
D: Ruby and Perl
Đáp án: B
Câu hỏi 57: Which framework facilitates SQL Server to execute external Machine Learning scripts?
A: Entity Framework
B: .NET Framework
C: Extensibility Framework
D: Machine Learning Framework
Đáp án: C
Câu hỏi 58: What kind of statistical method depicts the relationship between dependent and independent variables to predict future values?
A: Logistic regression
B: Linear regression
C: Decision trees
D: K-means clustering
Đáp án: B
Câu hỏi 59: In SQL Server 2022, which approximate percentile aggregate function returns an interpolated value from the dataset?
A: APPROX_PERCENTILE_DISC
B: PERCENTILE_CONT
C: APPROX_PERCENTILE_CONT
D: PERCENTILE_DISC
Đáp án: C
Câu hỏi 60: Which feature represents a refinement of the Memory Grant Feedback (MGF) feature by precisely determining optimal memory grants?
A: Percentile Grant Feedback
B: Approximate Percentile
C: Cardinality Estimation Feedback
D: Optimized Plan Forcing
Đáp án: A
DEV
My Quiz
Developer Toolbox
×
INPUT AREA
➜
⬅
OUTPUT AREA
TEXT CASE
UPPER
lower
Capitalize
Title Case
FORMAT & CLEAN
Trim
Slug
Strip HTML
Reverse
ENCODE & DECODE
B64 Enc
B64 Dec
URL Enc
URL Dec
JSON & CRYPTO
JSON Beauty
JSON Mini
MD5
SHA256
Nhấn ESC để thoát
Đã sao chép!!!