Your company uses Cloud Storage to store application backup files for disaster recovery purposes. You want to follow Google's recommended practices. Which storage option should you use?
Correct Answer: D
Coldline Storage is specifically designed for data that is accessed less than once a year, making it an ideal choice for disaster recovery backups where data retrieval is infrequent. It offers a low-cost solution due to its infrequent access pricing model, aligning well with the purpose of storing backups for rarely occurring disaster scenarios.
Several employees at your company have been creating projects with Cloud Platform and paying for it with their personal credit cards, which the company reimburses. The company wants to centralize all these projects under a single, new billing account. What should you do?
Correct Answer: D
To centralize all projects under a single billing account, you should create a new billing account in the Google Cloud Platform Console and set up a payment method. This ensures that all the projects are linked to the new corporate billing account, allowing the company to handle payments centrally and efficiently.
You have an application that looks for its licensing server on the IP 10.0.3.21. You need to deploy the licensing server on Compute Engine. You do not want to change the configuration of the application and want the application to be able to reach the licensing server. What should you do?
Correct Answer: A
To ensure that your application can reach the licensing server without changing its configuration, you need to assign the specific IP address 10.0.3.21 to the licensing server on Compute Engine. Reserving this IP address as a static internal IP address guarantees that the licensing server will always have this IP address and remain accessible to your application. This method ensures consistency and avoids any IP conflicts or changes over time, which is critical for the stability of your environment.
You are deploying an application to App Engine. You want the number of instances to scale based on request rate. You need at least 3 unoccupied instances at all times. Which scaling type should you use?
Correct Answer: D
Automatic scaling with min_idle_instances set to 3 is the correct choice for ensuring that the number of instances scales based on request rate while maintaining at least 3 unoccupied instances at all times. Automatic scaling automatically adjusts the number of instances based on various metrics such as request rate, but by setting the min_idle_instances parameter, you guarantee that there will always be a specified minimum number of instances running, even when the request rate is low, thereby fulfilling the requirement of having at least 3 unoccupied instances at any time.
You have a development project with appropriate IAM roles defined. You are creating a production project and want to have the same IAM roles on the new project, using the fewest possible steps. What should you do?
Correct Answer: A
To duplicate IAM roles from one project to another with minimal steps, you should use the gcloud iam roles copy command and specify the production project as the destination project. This command directly copies the roles from the development project to the production project, ensuring the same roles and permissions are preserved.