What is the maximum size of a single Persistent Disk that can be attached to a virtual machine instance in Google Cloud?
- 64 TB
- 10 TB
- 1 PB
- 100 GB
Understanding the limitations and capabilities of Persistent Disks in Google Cloud is crucial for designing and deploying scalable and reliable storage solutions for virtual machine instances. Knowing the maximum size helps in planning storage requirements effectively.
What type of scaling does Cloud SQL offer to handle increased workload demands?
- Vertical Scaling
- Horizontal Scaling
- Automatic Scaling
- Hybrid Scaling
Understanding the scaling options available in Cloud SQL is essential for designing scalable and cost-effective database architectures that can adapt to changing workload demands.
Cloud Load Balancing helps in _______ traffic across multiple instances to ensure optimal performance.
- distributing
- managing
- securing
- aggregating
Understanding the role of load balancing in distributing traffic is essential for optimizing application performance and ensuring reliability in cloud environments.
Cloud SQL provides built-in _______ to protect against data loss due to accidental deletions or corruptions.
- Point-in-time recovery
- Data Encryption
- Load Balancing
- Key Management
Built-in features like point-in-time recovery are critical for data protection and compliance in Cloud SQL deployments, providing peace of mind against potential data loss incidents.
Which of the following is NOT a characteristic of Nearline or Coldline storage?
- High Availability
- Low Cost
- Infrequent Access
- High Throughput
Identifying the characteristics of Nearline and Coldline storage helps users understand the benefits and limitations of these storage classes for different use cases. Recognizing what is not characteristic of these storage classes is essential for making informed decisions about storage strategy.
Google Cloud Storage offers _______ encryption for data at rest by default.
- Server-side
- Client-side
- End-to-end
- Transparent
Understanding the default encryption options provided by Google Cloud Storage is crucial for ensuring the security of data stored in the cloud. Server-side encryption at rest is a standard security feature that helps protect sensitive information from unauthorized access.
Cloud Functions are billed based on _______.
- Invocation Counts
- Compute Time
- Memory Usage
- Storage Usage
Understanding how Cloud Functions are billed is crucial for optimizing cost and resource allocation in serverless architectures. Knowing that invocation counts contribute to billing helps users estimate costs and plan deployments effectively.
How can destructuring assignment be effectively used in React components to handle props and state?
- It cannot be used with React components
- It simplifies access to props and state values
- It makes React components slower
- It is only applicable to class components
Destructuring assignment is commonly used in React components to handle props and state efficiently. By extracting specific values from the props and state objects using destructuring syntax, developers can improve code readability and make component logic more concise. This practice simplifies the process of accessing and using props and state values within the component, contributing to better-organized and more maintainable React code.
How do enhanced object literals in ES6 facilitate the assignment of variables as properties of objects?
- Dynamic Assignment
- Property Binding
- Object Linking
- Variable Embedding
In ES6, enhanced object literals allow dynamic assignment of variables as properties using square brackets. This feature is especially useful when the property name needs to be determined at runtime. It promotes a more flexible and concise way of defining object properties.
To export multiple features from a single module, use export { feature1, feature2 as _______ };.
- alias
- as
- export
- feature2
To export multiple features from a single module, use export { feature1, feature2 as alias }; where as alias provides an optional alias for the exported feature, making it clear when imported.