ExamGecko
Home Home / Google / Professional Data Engineer

Google Professional Data Engineer Practice Test - Questions Answers, Page 38

Question list
Search
Search

Related questions











You have a Standard Tier Memorystore for Redis instance deployed in a production environment. You need to simulate a Redis instance failover in the most accurate disaster recovery situation, and ensure that the failover has no impact on production data. What should you do?

A.
Create a Standard Tier Memorystore for Redis instance in a development environment. Initiate a manual failover by using the force-data-loss data protection mode.
A.
Create a Standard Tier Memorystore for Redis instance in a development environment. Initiate a manual failover by using the force-data-loss data protection mode.
Answers
B.
Initiate a manual tailover by using the limited-data-loss data protection mode to the Memorystore for Redis instance in the production environment.
B.
Initiate a manual tailover by using the limited-data-loss data protection mode to the Memorystore for Redis instance in the production environment.
Answers
C.
Increase one replica to Redis instance in production environment. Initiate a manual failover by using the force-data-loss data protection mode.
C.
Increase one replica to Redis instance in production environment. Initiate a manual failover by using the force-data-loss data protection mode.
Answers
D.
Create a Standard Tier Memorystore for Redis instance in the development environment. Initiate a manual failover by using the limited-data-loss data protection mode.
D.
Create a Standard Tier Memorystore for Redis instance in the development environment. Initiate a manual failover by using the limited-data-loss data protection mode.
Answers
Suggested answer: D

Explanation:

To simulate a Redis instance failover in a production-like environment without impacting production data, the best approach is to use a development environment. Here's why option D is the best choice:

Standard Tier Memorystore for Redis:

The Standard Tier provides high availability and automatic failover capabilities. It's suitable for testing failover scenarios in a controlled environment.

Development Environment:

Using a development environment ensures that any potential data loss or impact from the failover simulation does not affect production data, maintaining the integrity and availability of the production system.

Limited-Data-Loss Mode:

The limited-data-loss mode for manual failover ensures that data loss is minimized during the failover process, making it a realistic simulation of a production failover scenario.

Steps to Implement:

Create a Development Environment:

Set up a development environment with a Standard Tier Memorystore for Redis instance that mirrors the configuration of your production instance.

Initiate Manual Failover:

Initiate a manual failover using the limited-data-loss data protection mode to simulate a failover scenario:

gcloud redis instances failover INSTANCE_ID --data-protection-mode=limited-data-loss

Verify Failover:

Monitor and verify the failover process to ensure it behaves as expected, simulating the disaster recovery scenario accurately.

Memorystore for Redis Documentation

Manual Failover in Memorystore

You are planning to use Cloud Storage as pad of your data lake solution. The Cloud Storage bucket will contain objects ingested from external systems. Each object will be ingested once, and the access patterns of individual objects will be random. You want to minimize the cost of storing and retrieving these objects. You want to ensure that any cost optimization efforts are transparent to the users and applications. What should you do?

A.
Create a Cloud Storage bucket with Autoclass enabled.
A.
Create a Cloud Storage bucket with Autoclass enabled.
Answers
B.
Create a Cloud Storage bucket with an Object Lifecycle Management policy to transition objects from Standard to Coldline storage class if an object age reaches 30 days.
B.
Create a Cloud Storage bucket with an Object Lifecycle Management policy to transition objects from Standard to Coldline storage class if an object age reaches 30 days.
Answers
C.
Create a Cloud Storage bucket with an Object Lifecycle Management policy to transition objects from Standard to Coldline storage class if an object is not live.
C.
Create a Cloud Storage bucket with an Object Lifecycle Management policy to transition objects from Standard to Coldline storage class if an object is not live.
Answers
D.
Create two Cloud Storage buckets. Use the Standard storage class for the first bucket, and use the Coldline storage class for the second bucket. Migrate objects from the first bucket to the second bucket after 30 days.
D.
Create two Cloud Storage buckets. Use the Standard storage class for the first bucket, and use the Coldline storage class for the second bucket. Migrate objects from the first bucket to the second bucket after 30 days.
Answers
Suggested answer: A

Explanation:

To minimize the cost of storing and retrieving objects in a Cloud Storage bucket while ensuring that cost optimization efforts are transparent to the users and applications, enabling Autoclass is the best approach. Here's why:

Autoclass Feature:

Autoclass automatically transitions objects between different storage classes (Standard, Nearline, Coldline, and Archive) based on their access patterns.

It ensures that frequently accessed data is kept in lower-latency, higher-cost storage classes and infrequently accessed data is moved to higher-latency, lower-cost storage classes.

Cost Optimization:

Autoclass optimizes storage costs by automatically moving objects to the most cost-effective storage class based on actual usage patterns, without manual intervention.

This feature ensures that objects are stored in the most economical class appropriate for their access frequency, reducing storage costs over time.

Transparency to Users:

The transition of objects between storage classes is handled automatically by Cloud Storage, making the process transparent to users and applications.

Users and applications interact with the objects in the same way, regardless of the underlying storage class, ensuring seamless access.

Steps to Implement:

Create a Cloud Storage Bucket:

When creating a new Cloud Storage bucket, enable the Autoclass feature.

Configure Autoclass:

Autoclass configuration is typically a straightforward process in the Google Cloud Console, where you enable it during bucket creation.

Monitor and Adjust:

Monitor the storage and access patterns through the Google Cloud Console to ensure that Autoclass is optimizing costs as expected.

Google Cloud Storage Autoclass

Optimizing Storage Costs with Autoclass

Total 372 questions
Go to page: of 38