GoConqr has a new look! Let us know what you think.

Quiz

Google Cloud Professional Cloud Architect PT 10

Emmanuel Jimenez 20 questions

Take the quiz

Questions in this quiz (20)

  1. 1You want to allow your operations team to store logs from all the production projects in your Organization, without including logs from other projects. All of the production projects are contained in a folder. You want to ensure that all logs for existing and new production projects are captured automatically. What should you do?
    1. AA. Create an aggregated export on the Production folder. Set the log sink to be a Cloud Storage bucket in an operations project.
    2. BB. Create an aggregated export on the Organization resource. Set the log sink to be a Cloud Storage bucket in an operations project.
    3. CC. Create log exports in the production projects. Set the log sinks to be a Cloud Storage bucket in an operations project.
    4. DD. Create log exports in the production projects. Set the log sinks to be BigQuery datasets in the production projects, and grant IAM access to the operations team to run queries on the datasets
  2. 2Your company has an application that is running on multiple instances of Compute Engine. It generates 1 TB per day of logs. For compliance reasons, the logs need to be kept for at least two years. The logs need to be available for active query for 30 days. After that, they just need to be retained for audit purposes. You want to implement a storage solution that is compliant, minimizes costs, and follows Google-recommended practices. What should you do?
    1. AA. 1. Install a Cloud Logging agent on all instances. 2. Create a sink to export logs into a regional Cloud Storage bucket. 3. Create an Object Lifecycle rule to move files into a Coldline Cloud Storage bucket after one month. 4. Configure a retention policy at the bucket level using bucket lock.
    2. BB. 1. Write a daily cron job, running on all instances, that uploads logs into a Cloud Storage bucket. 2. Create a sink to export logs into a regional Cloud Storage bucket. 3. Create an Object Lifecycle rule to move files into a Coldline Cloud Storage bucket after one month.
    3. CC. 1. Install a Cloud Logging agent on all instances. 2. Create a sink to export logs into a partitioned BigQuery table. 3. Set a time_partitioning_expiration of 30 days.
    4. DD. 1. Create a daily cron job, running on all instances, that uploads logs into a partitioned BigQuery table. 2. Set a time_partitioning_expiration of 30 days.
  3. 3Your company has just recently activated Cloud Identity to manage users. The Google Cloud Organization has been configured as well. The security team needs to secure projects that will be part of the Organization. They want to prohibit IAM users outside the domain from gaining permissions from now on. What should they do?
    1. AA. Configure an organization policy to restrict identities by domain.
    2. BB. Configure an organization policy to block creation of service accounts.
    3. CC. Configure Cloud Scheduler to trigger a Cloud Function every hour that removes all users that don't belong to the Cloud Identity domain from all projects.
    4. DD. Create a technical user (e.g., [email protected]), and give it the project owner role at root organization level. Write a bash script that: ¢ Lists all the IAM rules of all projects within the organization. ¢ Deletes all users that do not belong to the company domain. Create a Compute Engine instance in a project within the Organization and configure gcloud to be executed with technical user credentials. Configure a cron job that executes the bash script every hour.
  4. 4Your company has an application running on Google Cloud that is collecting data from thousands of physical devices that are globally distributed. Data is published to Pub/Sub and streamed in real time into an SSD Cloud Bigtable cluster via a Dataflow pipeline. The operations team informs you that your Cloud Bigtable cluster has a hotspot, and queries are taking longer than expected. You need to resolve the problem and prevent it from happening in the future. What should you do?
    1. AA. Advise your clients to use HBase APIs instead of NodeJS APIs.
    2. BB. Delete records older than 30 days.
    3. CC. Review your RowKey strategy and ensure that keys are evenly spread across the alphabet.
    4. DD. Double the number of nodes you currently have.
  5. 5Your company has a Google Cloud project that uses BigQuery for data warehousing. There are some tables that contain personally identifiable information (PII).
    Only the compliance team may access the PII. The other information in the tables must be available to the data science team. You want to minimize cost and the time it takes to assign appropriate access to the tables. What should you do?
    1. AA. 1. From the dataset where you have the source data, create views of tables that you want to share, excluding PII. 2. Assign an appropriate project-level IAM role to the members of the data science team. 3. Assign access controls to the dataset that contains the view.
    2. BB. 1. From the dataset where you have the source data, create materialized views of tables that you want to share, excluding PII. 2. Assign an appropriate project-level IAM role to the members of the data science team. 3. Assign access controls to the dataset that contains the view.
    3. CC. 1. Create a dataset for the data science team. 2. Create views of tables that you want to share, excluding PII. 3. Assign an appropriate project-level IAM role to the members of the data science team. 4. Assign access controls to the dataset that contains the view. 5. Authorize the view to access the source dataset.
    4. DD. 1. Create a dataset for the data science team. 2. Create materialized views of tables that you want to share, excluding PII. 3. Assign an appropriate project-level IAM role to the members of the data science team. 4. Assign access controls to the dataset that contains the view. 5. Authorize the view to access the source dataset.
  6. 6Your operations team currently stores 10 TB of data in an object storage service from a third-party provider. They want to move this data to a Cloud Storage bucket as quickly as possible, following Google-recommended practices. They want to minimize the cost of this data migration. Which approach should they use?
    1. AA. Use the gsutil mv command to move the data.
    2. BB. Use the Storage Transfer Service to move the data.
    3. CC. Download the data to a Transfer Appliance, and ship it to Google.
    4. DD. Download the data to the on-premises data center, and upload it to the Cloud Storage bucket.
  7. 7You have a Compute Engine managed instance group that adds and removes Compute Engine instances from the group in response to the load on your application. The instances have a shutdown script that removes REDIS database entries associated with the instance. You see that many database entries have not been removed, and you suspect that the shutdown script is the problem. You need to ensure that the commands in the shutdown script are run reliably every time an instance is shut down. You create a Cloud Function to remove the database entries. What should you do next?
    1. AA. Modify the shutdown script to wait for 30 seconds before triggering the Cloud Function.
    2. BB. Do not use the Cloud Function. Modify the shutdown script to restart if it has not completed in 30 seconds.
    3. CC. Set up a Cloud Monitoring sink that triggers the Cloud Function after an instance removal log message arrives in Cloud Logging.
    4. DD. Modify the shutdown script to wait for 30 seconds and then publish a message to a Pub/Sub queue.
  8. 8You are managing several projects on Google Cloud and need to interact on a daily basis with BigQuery, Bigtable, and Kubernetes Engine using the gcloud CL tool. You are travelling a lot and work on different workstations during the week. You want to avoid having to manage the gcloud CLI manually. What should you do?
    1. AA. Use Google Cloud Shell in the Google Cloud Console to interact with Google Cloud.
    2. BB. Create a Compute Engine instance and install gcloud on the instance. Connect to this instance via SSH to always use the same gcloud installation when interacting with Google Cloud.
    3. CC. Install gcloud on all of your workstations. Run the command gcloud components auto-update on each workstation
    4. DD. Use a package manager to install gcloud on your workstations instead of installing it manually
  9. 9Your company recently acquired a company that has infrastructure in Google Cloud. Each company has its own Google Cloud organization. Each company is using a Shared Virtual Private Cloud (VPC) to provide network connectivity for its applications. Some of the subnets used by both companies overlap. In order for both businesses to integrate, the applications need to have private network connectivity. These applications are not on overlapping subnets. You want to provide connectivity with minimal re-engineering. What should you do?
    1. AA. Set up VPC peering and peer each Shared VPC together.
    2. BB. Migrate the projects from the acquired company into your company's Google Cloud organization. Re-launch the instances in your companies Shared VPC.
    3. CC. Set up a Cloud VPN gateway in each Shared VPC and peer Cloud VPNs.
    4. DD. Configure SSH port forwarding on each application to provide connectivity between applications in the different Shared VPCs
  10. 10You are managing several internal applications that are deployed on Compute Engine. Business users inform you that an application has become very slow over the past few days. You want to find the underlying cause in order to solve the problem. What should you do first?
    1. AA. Inspect the logs and metrics from the instances in Cloud Logging and Cloud Monitoring.
    2. BB. Change the Compute Engine Instances behind the application to a machine type with more CPU and memory.
    3. CC. Restore a backup of the application database from a time before the application became slow.
    4. DD. Deploy the applications on a managed instance group with autoscaling enabled. Add a load balancer in front of the managed instance group, and have the users connect to the IP of the load balancer.

Information

Description
Curso Interno de Empresa Google Cloud Professional Cloud Architect Quiz on Google Cloud Professional Cloud Architect PT 10, created by Emmanuel Jimenez on 24/04/2024.
Language
English
Views
4
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?