Front end Flashcards
Learn about react
What is the difference between let, const, and var in JavaScript?
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.
What are the characteristics of RESTful APIs?
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.
What is Amazon S3?
Amazon S3 is an object storage service provided by AWS that offers scalability, data availability, security, and performance.
S3 stands for Simple Storage Service.
What are the components of an S3 object?
S3 Objects are comprised of:
* Key - name of the file
* Value - file data
* Version ID - for different versions
How much maximum storage does S3 support for an object?
S3 supports a maximum storage of 5TB for an object.
What must be done before deleting an S3 bucket?
You must empty the bucket first.
What is Kubernetes?
Kubernetes is an open-source application designed to automate the deployment, scaling, and management of containerized applications.
What are the key features of Kubernetes?
Key features include:
* Container Orchestration
* Scaling
* Load Balancing
* Self Healing
* Self Discovery
* Storage Management
What is a pod in Kubernetes?
A pod is a group of one or more containers that share storage and network resources.
What is the role of the master node in Kubernetes?
The master node manages the state of the cluster.
What is the difference between frontend and backend development?
Frontend development focuses on the user interface; backend development focuses on server-side logic and database interactions.
What technologies are commonly used in frontend development?
Common technologies include:
* HTML
* CSS
* JavaScript
* Front-end libraries: React, Vue.js, Angular
What technologies are commonly used in backend development?
Common technologies include:
* Python (Flask, Django)
* PHP
* JavaScript (Node.js)
* Java (Spring)
* Databases: MySQL, PostgreSQL, MongoDB, SQLite
What are some advantages of using React for frontend development?
Advantages include:
* Reusable Components
* Virtual DOM
* State Management
* Declarative Syntax
* Community and Ecosystem
What is ‘state’ in a React application?
State is the internal data or ‘memory’ of a component, managed within the component using hooks like useState.
What are props in a React application?
Props (short for properties) are used to pass data from a parent component to a child component; they are immutable.