1.How will you check number of users currently accessing your website?
2.How will you prevent DDOS attack?
Ans : A distributed denial-of-service (DDoS) attack is a malicious attempt to disrupt the normal traffic of a targeted server, service or network by overwhelming the target or its surrounding infrastructure with a flood of Internet traffic. DDoS attacks achieve effectiveness by utilizing multiple compromised computer systems as sources of attack traffic. Exploited machines can include computers and other networked resources such as IoT devices. From a high level, a DDoS attack is like an unexpected traffic jam clogging up the highway, preventing regular traffic from arriving at its destination.
Ans : https://www.guru99.com/indexing-in-database.html
https://www.cloudflare.com/en-in/learning/ddos/what-is-a-ddos-attack/
3.What is the return type of Result Filter?
Ans : Return type is void. There are two methods public void OnResultExecuted(ResultExecutedContext filterContext) public void OnResultExecuting(ResultExecutingContext filterContext)
4.How many types of filter in MVC5?
Ans : Four types.
https://interview-preparation-for-you.blogspot.com/search?q=Filter
5.What is benefit of attribute routing?
Ans : Helps developer in the debugging / troubleshooting mode by providing information about routes.
Reduces the chances for errors, if a route is modified incorrectly in RouteConfig.cs then it may affect the entire application's routing.
May decouple controller and action names from route entirely.
Easy to map two routes pointing to the same action.
https://interview-preparation-for-you.blogspot.com/2018/01/attribute-based-routing.html
6.What is WCF security?
Ans : https://interview-preparation-for-you.blogspot.com/2017/05/wcf-interview-questions.html
7.When will you use SOAP and when rest?
Ans : https://interview-preparation-for-you.blogspot.com/2018/11/difference-between-wcf-and-web-api.html
8.Store procedure optimization technique?
Ans : https://interview-preparation-for-you.blogspot.com/2021/05/procedure-optimization-technique.html
9.What is difference between CTE and temp variable?
Ans : https://interview-preparation-for-you.blogspot.com/2018/04/cte-vs-temp-table.html
10.There is a query we have used 20-30 joins? Is it good to write so many joins?
Ans : No
11.We have two columns first name and last name. One indexing is applied on first name. and we have a quyery to searching last name
So do we get the benefit of indexing?
Ans : No
12.What is primary index and secondary index in a table?
The secondary Index in DBMS can be generated by a field which has a unique value for each record, and it should be a candidate key. It is also known as a non-clustering index. This two-level database indexing technique is used to reduce the mapping size of the first level. For the first level, a large range of numbers is selected because of this; the mapping size always remains small.
Ans : https://www.guru99.com/indexing-in-database.html
13.How will we check execution time of store procedure?
Ans Using SQL Optimizer
14.In a controller we have dependency injection so how will you call controller method without using IOC container.
15.What is elastic IP in AWS?
16.Can we use mongodb in RDS in AWS
17.Can we have contructor in static class.
Ans : No, It can have only static constructor. 18.When we have object in gen 2 in GC
19.How will you implement finalize and why?
Ans: Destructor method is converted in finalize method,
If there are some unmanaged code used in application than we use Finalize to free the memory.If no unmanaged code used than no need to use Finalize method
20.difference between ref and out
21.what is IEnumerable and IEnumerator
22.var vs dynamic?
23.Real example of Interface and Abstract Class.
24.Router in Angular.
25.life cycle hook in angular?
26.lazy loading in angular?
27.Component communication in angular
28.Benifit of private constructor?
2.How will you prevent DDOS attack?
Ans : A distributed denial-of-service (DDoS) attack is a malicious attempt to disrupt the normal traffic of a targeted server, service or network by overwhelming the target or its surrounding infrastructure with a flood of Internet traffic. DDoS attacks achieve effectiveness by utilizing multiple compromised computer systems as sources of attack traffic. Exploited machines can include computers and other networked resources such as IoT devices. From a high level, a DDoS attack is like an unexpected traffic jam clogging up the highway, preventing regular traffic from arriving at its destination.
Ans : https://www.guru99.com/indexing-in-database.html
https://www.cloudflare.com/en-in/learning/ddos/what-is-a-ddos-attack/
3.What is the return type of Result Filter?
Ans : Return type is void. There are two methods public void OnResultExecuted(ResultExecutedContext filterContext) public void OnResultExecuting(ResultExecutingContext filterContext)
4.How many types of filter in MVC5?
Ans : Four types.
https://interview-preparation-for-you.blogspot.com/search?q=Filter
5.What is benefit of attribute routing?
Ans : Helps developer in the debugging / troubleshooting mode by providing information about routes.
Reduces the chances for errors, if a route is modified incorrectly in RouteConfig.cs then it may affect the entire application's routing.
May decouple controller and action names from route entirely.
Easy to map two routes pointing to the same action.
https://interview-preparation-for-you.blogspot.com/2018/01/attribute-based-routing.html
6.What is WCF security?
Ans : https://interview-preparation-for-you.blogspot.com/2017/05/wcf-interview-questions.html
7.When will you use SOAP and when rest?
Ans : https://interview-preparation-for-you.blogspot.com/2018/11/difference-between-wcf-and-web-api.html
8.Store procedure optimization technique?
Ans : https://interview-preparation-for-you.blogspot.com/2021/05/procedure-optimization-technique.html
9.What is difference between CTE and temp variable?
Ans : https://interview-preparation-for-you.blogspot.com/2018/04/cte-vs-temp-table.html
10.There is a query we have used 20-30 joins? Is it good to write so many joins?
Ans : No
11.We have two columns first name and last name. One indexing is applied on first name. and we have a quyery to searching last name
So do we get the benefit of indexing?
Ans : No
12.What is primary index and secondary index in a table?
The secondary Index in DBMS can be generated by a field which has a unique value for each record, and it should be a candidate key. It is also known as a non-clustering index. This two-level database indexing technique is used to reduce the mapping size of the first level. For the first level, a large range of numbers is selected because of this; the mapping size always remains small.
Ans : https://www.guru99.com/indexing-in-database.html
13.How will we check execution time of store procedure?
Ans Using SQL Optimizer
14.In a controller we have dependency injection so how will you call controller method without using IOC container.
15.What is elastic IP in AWS?
16.Can we use mongodb in RDS in AWS
17.Can we have contructor in static class.
Ans : No, It can have only static constructor. 18.When we have object in gen 2 in GC
19.How will you implement finalize and why?
Ans: Destructor method is converted in finalize method,
If there are some unmanaged code used in application than we use Finalize to free the memory.If no unmanaged code used than no need to use Finalize method
20.difference between ref and out
21.what is IEnumerable and IEnumerator
22.var vs dynamic?
23.Real example of Interface and Abstract Class.
24.Router in Angular.
25.life cycle hook in angular?
26.lazy loading in angular?
27.Component communication in angular
28.Benifit of private constructor?
No comments:
Post a Comment