SQL Azure Interview Questions and Cloud Computing
1. What is SQL Azure?
Microsoft SQL Azure is a cloud-based relational database service that is built on SQL Server technologies and runs in Microsoft data centers on hardware that is owned, hosted, and maintained by Microsoft.2.What is cloud computing?
3.What is scale a cloud service:
A cloud service is scaled out by increasing the number of role instances (virtual machines) deployed for a role. A cloud service is scaled in by decreasing role instances. In the Preview Management Portal, you can also scale a linked SQL Database instance, by changing the SQL Database edition and the maximum database size, when you scale your service roles.4.What is a cloud service role:
A cloud service role is comprised of application files and a configuration. A cloud service can have two types of role:5.What happens when the SQL Azure database reaches Max Size?
6.What is the current limitation of the size of SQL Azure DB?
7.How do you handle datasets larger than 50 GB?
8. What is it’s similarity with SQL Server?
SQL Azure database exposes a Tabular Data Stream(TDS) interface for Transact-SQL-based database access similar to SQL Server instance running on your premises(i.e. Server Room). Using it it is similar to access SQL Azure database in the same way you are accessing database in SQL Server.9.How can we migrate from SQL server to SQL Azure?
10. What is it’s difference with SQL Server?
11. Difference between Web and Worker Roles in Windows Azure?
The main difference between the two is that an instance of a web role runs IIS, while an instance of a worker role does not. Both are managed in the same way, however, and it's common for an application to use both.For example, a web role instance might accept requests from users, then pass them to a worker role instance for processing.12.What is AutoScaling?
Scaling by adding additional instances is often referred to as scaling out. Windows Azure also supports scaling up by using larger role instances instead of more role instances.By adding and removing role instances to your Windows Azure application while it is running, you can balance the performance of the application against its running costs.
An autoscaling solution reduces the amount of manual work involved in dynamically scaling an application.
13.What are Horizontal and Vertical Scaling?
Vertical scaling is adding oomph to the machine that an application is running on. Perhaps your e-commerce site is getting more traffic as your business grows, and it’s starting to creak at the seams. A common way to give the application a boost, is to add more RAM, more processors, more bandwidth, or more storage to your machine. Maybe you simply move your application to a new, more powerful machine.Horizontal scaling, on the other hand, is adding more servers to your application to spread the load. The simplest case of horizontal scaling may be to move your database onto a separate machine from your web server. Now your web server can simply satisfy requests, and your database server can simply crunch data.
14.Which tools are available to manage SQL Azure databases and servers?
15. How many databases can we create in a single server?
16.How many servers can we create in a single subscription?
17.What is the difference in accessing DB between SQL Server Vs SQL Azure?
18. What encryption security is available in SQL Azure?
19. What is the Data Tier Application?
20. What is the index requirement in SQL Azure?
21. How do you migrate data from MSSQL server to Azure?
22. Where actually SQL Azure Database is hosted?
SQL Azure Database is hosted on servers running SQL Server technologies in Microsoft Data Centers.
23. What are the four layers of abstraction Microsoft architectured to provide relational database through cloud platform?
The client layer,The services layer,
The platform layer and
The infrastructure layer.
24. Can you describe each of them?
The Client Layer: The client layer is closest to the application. It is used by the application to communicate directly with SQL Azure. There are two options for the client layer. It can reside on our datacenter or to be hosted in Windows Azure.25. How do we synchronize On Premise SQL server with SQL Azure?
26. What is SQL Azure Fabric?
27. What is provisioning, billing and metering, and connection routing concepts in the service layer?
Provisioning: It is one of the three functions that service layer provides. The service layer provisions(provides/supplies) the database that we specify with our windows azure platform account.28.what are the options to manage session state in Windows Azure?
- Windows Azure Caching
- SQL Azure
- Azure Tables
29.How many instances of a Role should be deployed to satisfy Azure SLA (service level agreement) ? And what's the benefit of Azure SLA?
30.what are REST-style architecture's?
31. How to connect to SQL Azure Database by using sqlcmd?
C:>sqlcmd -U
32.What are the three main components of Windows Azure Platform?
- Compute
- Storage
- AppFabric
33.How would you categorize Windows Azure? (IaaS/PaaS/SaaS)
34.What is Windows Azure compute emulator?
35.What is Windows Azure Storage Emulator?
36.Apart from .Net framework, Name other three language/framework that can be used to develop Windows Azure applications?
37.What are the three types of roles in Compute component in Windows Azure?
- WEB
- Worker
- VM
38.what is VM role in Windows Azure?
39.what is worker role in Windows Azure and how does it help?
40.what is web role in Windows Azure?
41.What are the differences between web role and worker role?
- Web role is designed to cater to web requests. And worker role is designed to cater to background processing.
- In the Web role, IIS gets started. That's Not the case with worker role.
42.What is a role instance:
A role instance is a virtual machine on which the application code and role configuration run. A role can have multiple instances, defined in the service configuration file.43.What is a guest operating system:
The guest operating system for a cloud service is the operating system installed on the role instances (virtual machines) on which your application code runs.44.What is a cloud service components:
Three components are required in order to deploy an application as a cloud service in Azure.45. What is SQL Azure Data sync?
46. Which are the two editions in which SQL Azure database available?
SQL Azure databases are available in two editions: the Web Edition Database and the Business Edition Database.47.What is the difference between web edition and business edition?
SQL Azure Web edition database Max Size is 5 GB whereas the business edition supports Max Size up to 50 GB. The size of a web edition database can be increased (/decreased) in the increments (/decrements) of 1 GB whereas the size of a business edition can be increased in the increments of 10 GB. |
48. What is function of master database?
49. What is server-level principal?
It is an account same as “sa” login in SQL Server. In provisioning process, SQL Azure creates login for us which is server-level principal for our SQL Azure server. It has permission to manage all server-level and database-level security.50. What is sharding?
It is a technique for partitioning large data sets, which improves performance and scalability.51.How do we Backup SQL Azure Data?
52.What is code near application topology?
53.What is Federation?
The federation is where you define the data type (e.g., Customer ID, Product ID) you’ll shard on. As with creating the root database, you can create a federation through the SQL Azure database management portal, with SQLAzureMW or by using this T-SQL script while connected to your root database:
CREATE FEDERATION <FederationName>(<DistributionKeyName> <DistributionType> RANGE)
|
54. What is SQL Azure Federations?
- Taking advantage of greater resources within the cloud on demand.
- Allowing customers to have their own database, to share databases or to access many databases.
- Reducing the exposure of a single point of failure.
- Benefiting from the lower costs of using cloud resources on an as-needed basis and releasing them when done.
- Reducing I/O bottlenecks and SQL Azure throttling.
55.What is Federation Root Database?
The Federation root database is a SQL Azure database that contains metadata about the federations. It’s the first thing you need to create when setting up your own federation example.
CREATE DATABASE [fedRoot] COLLATE French_CI_AS (MAXSIZE = 100 GB, EDITION = 'business')
|
56.What is Federation Member?
The Federation member is the shard (i.e., the database containing a specific range of information). T-SQL script:
USE FEDERATION ROOT WITH RESET
GO ALTER FEDERATION <FederationName> SPLIT AT (<DistributionKeyName>=<splitpoint>) |
57.How to scale out a federation by Sql statement?
ALTER FEDERATION <FederationName> SPLIT AT (<DistributionKeyName>=<value>)
|
58.How to connect Azure federated root database and apply federation in entity framework?
You have to open the connection before the USE FEDERATION command
using (DemoEntities db = new DemoEntities())
{ db.Connection.Open(); string federationCmdText = @"USE FEDERATION ProdutosFed(ID = 110) WITH RESET, FILTERING=OFF"; db.ExecuteStoreCommand(federationCmdText); } |
59. What is TDS(Tabular Data Stream) Gateway?
It is a gateway between our application and underlying platform, where actual data resides. It performs the functions of data center isolation, provisioning, billing and metering, and connection routing.60. What do you know about SQL Azure Firewall?
Since SQL Azure provides a relational database services for Windows Azure and other Internet-based applications, to protect our data SQL Azure Firewall prevents access to our SQL Azure Server until we specify which computers have permission. It grants access by originating IP address of each request.61.What is the difference between web edition and business edition?
62.What were the latest updates to SQL Azure service?
Latest SQL Azure updates include multiple servers per subscription, SQL Azure co administrator support, creating Firewall rules for servers with IP detect.
63.How many replicas are maintained for each SQL Azure database?
64.What is the index requirement in SQL Azure?
All tables must have clustered index. You can't have a table without clustered index. |
65.What are the types of tables in SQLAzure?
Federated TableReference Table
Centre Table
66.What is a fan-out query in SQLAzure?
Federations provide a model for partitioning parts of your schema over to multiple member databases for harnessing scalability of many nodes. However applications still need for querying all of the data across federation members. Fan-out is a technique for querying data in your federation, across many federation members. Fan-out queries are much like map/reduce in that it is formed in 2 parts; Member query is the piece that is sent over to all members involved in the query and Summary query is the query that is the post processing piece to allow condensing the results from the member query to desired final result-set. |
67.How do you improve the performance of a SQL Azure Database?
68.Tell me something about security and SQL Azure.
69.What is deployment environments:
Azure offers two deployment environments for cloud services: a staging environment in which you can test your deployment before you promote it to the production environment. The two environments are distinguished only by the virtual IP addresses (VIPs) by which the cloud service is accessed. In the staging environment, the cloud service’s globally unique identifier (GUID) identifies it in URLs (GUID.cloudapp.net). In the production environment, the URL is based on the friendlier DNS prefix assigned to the cloud service (for example, myservice.cloudapp.net).70.What is swap deployments:
71.What is minimal vs. verbose monitoring:
Minimal monitoring, which is configured by default for a cloud service, uses performance counters gathered from the host operating systems for role instances (virtual machines).72.What is a service definition file:
The cloud service definition file (.csdef) defines the service model, including the number of roles.73.What is a service configuration file:
The cloud service configuration file (.cscfg) provides configuration settings for the cloud service and individual roles, including the number of role instances.74.What is a service package:
The service package (.cspkg) contains the application code and the service definition file.75.What is a cloud service deployment:
A cloud service deployment is an instance of a cloud service deployed to the Azure staging or production environment. You can maintain deployments in both staging and production.76.What is Azure Diagnostics:
Azure Diagnostics is the API that enables you to collect diagnostic data from applications running in Azure. Azure Diagnostics must be enabled for cloud service roles in order for verbose monitoring to be turned on. For more information,77.What is Azure Service Level Agreement (SLA):
The Azure Compute SLA guarantees that, when you deploy two or more role instances for every role, access to your cloud service will be maintained at least 99.95 percent of the time. Also, detection and corrective action will be initiated 99.9 percent of the time when a role instance’s process is not running.78. What are the advantages of SQL Azure?
The advantages of SQL Azure includes manageability, high availability, scalability, a familiar development model, and a relational data model.Manageability: SQL Azure Database offers the scale and functionality of an enterprise data center without the administrative overheads that are associated with on-premise instances of SQL Server.
I have got more details about sql azure. Good informations.
ReplyDeleteVB6 to C#
Great info ..thanks for sharing..
ReplyDeleteThanks for writing this in-depth post. You covered every angle. The great thing is you can reference different parts.
ReplyDeleteAzure Online Training
The way you have explained your point of view in AWS technology is fantastic. I agree to your points.I am looking forward to gain more knoweledge in cloud computing. Keep updating with us.
ReplyDeleteRegards:
AWS Training in T Nagar |
AWS Training
ReplyDeleteIt is really a great work and the way in which you are sharing the knowledge is excellent.Amazon Web service Training in Chennai
It's amazing blog, Thanks for sharing
ReplyDeleteSql server DBA Online Training Bangalore
Super collection thanks for sharing your information for more updates Azure Online Training Hyderabad
ReplyDeleteNice blog, really your information is very useful to us, keep update with us. Get more knowledge on Azure Online Training
ReplyDeleteThis is a very nice article. thank you for publishing this. i can understand this easily. Azure Online Training Bangalore
ReplyDeleteNeeded to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here
ReplyDeleteThank you. Your blog was very helpful and efficient For Me,Thanks for Sharing the information Regards..!!..Azure Online Training India
Excellent blog admin, thanks for taking time to share this.
ReplyDeleteMicrosoft Azure Training in Chennai | Azure Training
It was really a nice post and i was really impressed by reading this
ReplyDeleteAzure Online Course
Thanks for sharing most valuable information with us.
ReplyDeleteWindows Azure Admin Online Training
Really the post is very unique.every concepts are captured nice.
ReplyDeleteAzure Training in Chennai | Certification | Azure Online Training Course | Azure Training in Bangalore | Certification | Azure Online Training Course | Azure Training in Hyderabad | Certification | Azure Online Training Course | Azure Training in Pune | Certification | Azure Online Training Course | Azure Training | microsoft azure certification | Azure Online Training Course
ReplyDeleteNice article I was impressed by seeing this blog, it was very interesting and it is Thanks for sharing all the information with us all.very useful for me.
oracle training in chennai
oracle training institute in chennai
oracle training in bangalore
oracle training in hyderabad
oracle training
hadoop training in chennai
hadoop training in bangalore
Informative blog. Thanks for sharing.
ReplyDeleteAWS Online Training