Question:- How long are locks held/retained within the REPEATABLE_READ and SERIALIZABLE isolation levels during a read operation, assuming a row-level locking?
Answer:- Within the REPEATABLE_READ and SERIALIZABLE isolation levels, locks are held/retained for the duration of the transaction, unlike within the READ_COMMITTED isolation level.
Question:- Which two isolation levels support optimistic/row-version-based concurrency control?
Answer:- • One is the READ_COMMITTED isolation level. This is the only level that supports both a pessimistic (locking-based) and an optimistic (version-based) concurrency control model. • The other is the SNAPSHOT isolation level that supports only an optimistic concurrency control model.
Question:- What database options must be set to allow the use of an optimistic concurrency control model?
Answer:- The READ_COMMITTED_SNAPSHOT option for the READ_COMMITTED optimistic model and the ALLOW_SNAPSHOT_ISOLATION option for the SNAPSHOT isolation level.
Question:- Explain the purpose of Intent locks.
Answer:- The database engine uses intent locks to protect placing a shared (S) lock or an exclusive (X) lock on a resource (lower in the lock hierarchy). Intent locks are named thus because they are acquired before a lock at the lower level and therefore signal the intent to place the locks at a lower level. Intent locks serve two purposes: • They prevent other transactions from modifying a higher-level resource in a way that would invalidate the lock at the lower level. • They improve the efficiency of the database engine in detecting lock conflicts at a higher level of granularity.
Question:- How to read the graphical execution plan?
Answer:- The graphical execution plan should be read from Right to Left: • Check the graphical execution plan of a stored procedure/query • Table Scan: Index is missing • Index Scan: Proper indexes are not used • BookMark Lookup: Limits the number of columns in the select list • Filter: Removes any functions from the WHERE clause; may require additional indexes • Sort: Checks if the data really needs to be sorted, if an index can be used to avoid sorting, and if sorting can be done at the client-side more efficiently? • DataFlow Arrow (high density): Sometimes, we find few rows as the outcome, but the arrow line density indicates the query/proc processing huge number of rows • Cost: Easily finds out which table/operation taking much time
Question:- What are the permissions required to view the execution plan?
Answer:- Either a user must be mapped to sysadmin/db_owner/db_creator or the user will be granted the below permission: GRANT SHOWPLAN TO [username]
Question:- What is Azure Cloud Service?
Answer:- Cloud service can convey multiple web applications in Azure, characterizing a number of parts to disseminate handling and permit adaptable scaling of your application. A cloud service comprises a minimum of one web part, as well as specialist parts, each with its own particular application documents and design. The fundamental favorable position of cloud service is the capacity to help more complex multilevel structures.
Question:- What is Azure DevOps?
Answer:- Azure DevOps is a SaaS platform that provides development services for creating work plans, working together on code, developing applications, and deploying them. It offers an end-to-end DevOps toolchain for the development and deployment of software. It is able to integrate with a number of popular tools in the market and is a great way for setting up a DevOps toolchain.
Question:- What is Azure Active Directory (Azure AD)?
Answer:- Azure AD is a cloud-based IAM solution and directory by Microsoft. It brings together application access management, core directory services, and identity protection and turns them into a single solution. It helps employees of an organization sign in and access resources such as: • External resources, including Microsoft 365, the Azure portal, and a big number of SaaS applications • Internal resources, such as apps on a corporate network and intranet, as well as any cloud-based apps built by that organization Azure AD is intended for use by: • IT Admins • App Developers • Azure, Office 365, Microsoft 365, or Dynamics CRM online subscribers
Question:- What is Azure Data Factory?
Answer:- Azure Data Factory is a serverless and cloud-based data integration service and platform used for the creation of ETL and ELT pipelines. It helps in the creation of data-driven workflows for the planning and execution of data movements and data transformation at scale.
Question:- What is Azure Databricks?
Answer:- Azure Databricks is a Data Analytics platform that offers two environments for the development of data-intensive applications: • Azure Databricks SQL Analytics • Azure Databricks Workspace Azure Databricks’ integration with the security, compute, analytics, storage, and AI services that are natively provided by cloud providers facilitate the unification of data and AI workloads.
Question:- What is Azure Data Lake?
Answer:- Azure Data Lake is a cloud platform that supports Big Data Analytics through its unlimited storage for structured, semi-structured, or unstructured data of all types and sizes.
Question:- What are Azure resources?
Answer:- Any entity managed by Azure can be referred to as an Azure resource. The following are some examples of Azure resources: Storage accounts, virtual networks, virtual machines, etc.
Question:- What are the roles implemented in Windows Azure?
Answer:- • Web Role • Worker Role • Virtual Machine Role