Front end Flashcards

Learn about react

1
Q

What is the difference between let, const, and var in JavaScript?

A

Let and const are block-scoped; var is function scoped.

Let allows reassignment; const does not allow reassignment but the contents of objects can be modified. Var can be accessed outside its scope.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the characteristics of RESTful APIs?

A

RESTful APIs use HTTP methods (GET, POST, PUT, DELETE), are stateless, and each resource is identified by a unique URL.

REST stands for Representational State Transfer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Amazon S3?

A

Amazon S3 is an object storage service provided by AWS that offers scalability, data availability, security, and performance.

S3 stands for Simple Storage Service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the components of an S3 object?

A

S3 Objects are comprised of:
* Key - name of the file
* Value - file data
* Version ID - for different versions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How much maximum storage does S3 support for an object?

A

S3 supports a maximum storage of 5TB for an object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What must be done before deleting an S3 bucket?

A

You must empty the bucket first.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Kubernetes?

A

Kubernetes is an open-source application designed to automate the deployment, scaling, and management of containerized applications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the key features of Kubernetes?

A

Key features include:
* Container Orchestration
* Scaling
* Load Balancing
* Self Healing
* Self Discovery
* Storage Management

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a pod in Kubernetes?

A

A pod is a group of one or more containers that share storage and network resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the role of the master node in Kubernetes?

A

The master node manages the state of the cluster.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the difference between frontend and backend development?

A

Frontend development focuses on the user interface; backend development focuses on server-side logic and database interactions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What technologies are commonly used in frontend development?

A

Common technologies include:
* HTML
* CSS
* JavaScript
* Front-end libraries: React, Vue.js, Angular

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What technologies are commonly used in backend development?

A

Common technologies include:
* Python (Flask, Django)
* PHP
* JavaScript (Node.js)
* Java (Spring)
* Databases: MySQL, PostgreSQL, MongoDB, SQLite

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are some advantages of using React for frontend development?

A

Advantages include:
* Reusable Components
* Virtual DOM
* State Management
* Declarative Syntax
* Community and Ecosystem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is ‘state’ in a React application?

A

State is the internal data or ‘memory’ of a component, managed within the component using hooks like useState.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are props in a React application?

A

Props (short for properties) are used to pass data from a parent component to a child component; they are immutable.