In a project, you need to embed a YouTube video. Which HTML element would you use for this purpose?
The
The "Timeline" tab in Browser Developer Tools provides insights into the _______ of web page rendering.
- Code structure
- Network requests
- Performance and timing
- Security issues
The "Timeline" tab in Browser Developer Tools provides insights into the performance and timing of web page rendering. It helps developers identify bottlenecks and optimize the loading and rendering process.
In SQL, the SELECT statement is used to _______ data from a database.
- Delete
- Insert
- Retrieve
- Update
In SQL, the SELECT statement is used to retrieve or fetch data from a database. It allows you to specify the columns you want to retrieve and apply conditions to filter the data.
What does HTML stand for?
- Hyper Text Markup Language
- Hyper Text Markup Layout
- Hyperlinks and Text Language
- Hyperlinks and Text Markup
HTML stands for Hyper Text Markup Language. It is the standard markup language for creating web pages and web applications. It defines the structure of content using various tags.
Your company's web application is experiencing performance issues due to database overload. How would you use caching to alleviate this bottleneck?
- Database sharding to distribute load
- Object caching with tools like Memcached
- Prefetching data from the database
- Query result caching at the application layer
Object caching with tools like Memcached is a useful strategy to alleviate database overload. It involves caching entire objects or data structures, reducing the need for repetitive database queries and improving overall performance.
During a code review process, it is essential to maintain a balance between offering constructive criticism and preserving team _______.
- Autonomy
- Collaboration
- Creativity
- Harmony
During a code review process, it is essential to maintain a balance between offering constructive criticism and preserving team Collaboration. This helps foster a positive and productive working environment.
Which of the following is NOT a benefit of practicing TDD?
- Decreased development time
- Early bug detection
- Improved code documentation
- Increased code reliability
While TDD offers various benefits, improved code documentation is not typically considered one of them. TDD focuses on testing and code design rather than documentation, which is a separate aspect of software development.
_______ caching involves storing data in a distributed manner across multiple servers.
- Distributed
- Local
- Network
- Remote
Distributed caching involves storing data in a distributed manner across multiple servers or nodes. This enhances scalability and improves access times for applications.
Which concurrency control technique uses timestamps to order transactions?
- Optimistic Concurrency Control
- Serializability
- Timestamp Ordering
- Two-Phase Locking
Timestamp Ordering is a concurrency control technique that uses timestamps to order transactions. Each transaction is assigned a timestamp, and the order of timestamps is used to determine the order in which transactions can access data, ensuring consistency.
Which server-side language is known for its scalability and event-driven architecture, commonly used with frameworks like Express.js?
- Java
- Node.js
- Python
- Ruby
Node.js, based on JavaScript, is known for its scalability and event-driven architecture. It is commonly used with frameworks like Express.js for building efficient server-side applications.
What is the principle of least privilege in security?
- Allowing users to choose their own access rights
- Assigning access rights based on seniority within the organization
- Granting all users maximum access rights by default
- Restricting users' access rights to the minimum necessary for their job functions
The principle of least privilege in security advocates restricting users' access rights to the minimum necessary for their job functions. This minimizes the potential damage from accidental mishandling or intentional malicious actions.
Role-based access control (RBAC) is a common method for _______ in large systems.
- Authorization
- Authentication
- Encryption
- Decryption
Role-based access control (RBAC) is a common method for authorization in large systems. It defines access levels based on a user's role within an organization. The correct option aligns with the purpose of RBAC.