Find Interview Questions for Top Companies
Snva ventures Interview Questions and Answers
Ques:- What is the difference between $(‘div’) and $(‘
Comments
Admin May 17, 2020

$('<div/>') : This creates a new div element. However this is not added to DOM tree unless you don't append it to any DOM element.
$('div') : This selects all the div element present on the page.

Ques:- How can you get the type of arguments passed to a function?
Right Answer:
You can use the `typeof` operator to get the type of arguments passed to a function. For example:

```javascript
function checkType(arg) {
return typeof arg;
}
```
Ques:- What is the difference between programing language and scripting language.?
Comments
Admin May 17, 2020

The core code of any application is written in a programming
language that is create or at least modified by end
user.(eg.java)
a scripting language is a type of prog. language that allows
control of of s/w application and sometimes used to add the
features and client side checking in a web page.(eg javascript)
both are distinct.eg. suppose in html page, u create some
textboxes, then if u want to apply some validation(email
vali.) on their text at client side or want to add features
like counter, flash images etc in the web page, then
javascript canbe used. but at the server side what to do
with this text or how to handle database, all this is
programmed in core language like java,geerally called prog.
language. but java and javascript are totally different.

Admin May 17, 2020

Script Language is code fragment.it is interpreted.It is dynamically typed.
but the programming language is a compiled language and it is a stand alone application.

Ques:- What is role-based access control in Azure and how does it work
Right Answer:
Role-Based Access Control (RBAC) in Azure is a system that allows you to manage access to Azure resources by assigning roles to users, groups, or applications. It works by defining roles that specify permissions (like read, write, or delete) and then assigning those roles to identities at different scopes, such as subscriptions, resource groups, or individual resources. This ensures that users only have the access necessary to perform their tasks.
Ques:- What is role-based access control in Azure and how does it work
Right Answer:
Role-based access control (RBAC) in Azure is a system that allows you to manage access to Azure resources by assigning roles to users, groups, or applications. It works by defining roles that specify permissions and then assigning those roles to security principals at different scopes, such as subscriptions, resource groups, or individual resources. This ensures that users only have the access necessary to perform their tasks.
Ques:- What is Azure Monitor and how does it help with performance and diagnostics
Right Answer:
Azure Monitor is a comprehensive service that collects, analyzes, and acts on telemetry data from your Azure resources and applications. It helps with performance and diagnostics by providing insights into the health and performance of your applications, enabling you to identify issues, track metrics, set alerts, and visualize data through dashboards, which aids in proactive management and troubleshooting.
Ques:- What is a Virtual Network in Azure and how is it configured
Right Answer:
A Virtual Network (VNet) in Azure is a logically isolated network that allows you to securely connect Azure resources to each other and to on-premises networks. It is configured by defining the address space, creating subnets, and setting up network security groups and routing rules as needed. You can create a VNet through the Azure portal, Azure CLI, or Azure PowerShell by specifying the desired IP address range and subnets.
Ques:- What is a Virtual Network in Azure and how is it configured
Right Answer:
A Virtual Network (VNet) in Azure is a logically isolated network that allows Azure resources to securely communicate with each other, the internet, and on-premises networks. It is configured by defining the address space (IP range), creating subnets, and setting up network security groups (NSGs) to control traffic. Configuration can be done through the Azure portal, Azure CLI, or Azure PowerShell.
Ques:- How to implement social login authentication in Django ?
Right Answer:
To implement social login authentication in Django, you can use the `django-allauth` package. Here are the steps:

1. Install `django-allauth`:
```bash
pip install django-allauth
```

2. Add `allauth`, `allauth.account`, and `allauth.socialaccount` to your `INSTALLED_APPS` in `settings.py`:
```python
INSTALLED_APPS = [
...
'django.contrib.sites',
'allauth',
'allauth.account',
'allauth.socialaccount',
...
]
```

3. Set the `SITE_ID` in `settings.py`:
```python
SITE_ID = 1
```

4. Include the authentication backends in `settings.py`:
```python
AUTHENTICATION_BACKENDS = (
...
'allauth.account.auth_backends.AuthenticationBackend',
)
```

5. Add URL
Ques:- What is use of session in django framework?
Right Answer:
In Django, sessions are used to store data on the server side for individual users, allowing you to persist user-specific information (like login status, preferences, or shopping cart contents) across multiple requests without needing to pass this data in URLs or forms.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users