Quiz
Google Cloud Professional Cloud Architect PT 8
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (20)
1You have deployed several instances on Compute Engine. As a security requirement, instances cannot have a public IP address. There is no VPN connection between Google Cloud and your office, and you need to connect via SSH into a specific machine without violating the security requirements. What should you do?
- AA. Configure Cloud NAT on the subnet where the instance is hosted. Create an SSH connection to the Cloud NAT IP address to reach the instance.
- BB. Add all instances to an unmanaged instance group. Configure TCP Proxy Load Balancing with the instance group as a backend. Connect to the instance using the TCP Proxy IP.
- CC. Configure Identity-Aware Proxy (IAP) for the instance and ensure that you have the role of IAP-secured Tunnel User. Use the gcloud command line tool to ssh into the instance.
- DD. Create a bastion host in the network to SSH into the bastion host from your office location. From the bastion host, SSH into the desired instance.
2Your company is using Google Cloud. You have two folders under the Organization: Finance and Shopping. The members of the development team are in a Google Group. The development team group has been assigned the Project Owner role on the Organization. You
want to prevent the development team from creating resources in projects in the Finance folder. What should you do?- AA. Assign the development team group the Project Viewer role on the Finance folder, and assign the development team group the Project Owner role on the Shopping folder.
- BB. Assign the development team group only the Project Viewer role on the Finance folder.
- CC. Assign the development team group the Project Owner role on the Shopping folder, and remove the development team group Project Owner role from the Organization.
- DD. Assign the development team group only the Project Owner role on the Shopping folder.
3You are developing your microservices application on Google Kubernetes Engine. During testing, you want to validate the behavior of your application in case a specific microservice should suddenly crash. What should you do?
- AA. Add a taint to one of the nodes of the Kubernetes cluster. For the specific microservice, configure a pod antiaffinity label that has the name of the tainted node as a value.
- BB. Use Istio's fault injection on the particular microservice whose faulty behavior you want to simulate.
- CC. Destroy one of the nodes of the Kubernetes cluster to observe the behavior.
- DD. Configure Istio's traffic management features to steer the traffic away from a crashing microservice.
4Your company is developing a new application that will allow globally distributed users to upload pictures and share them with other selected users. The application will support millions of concurrent users. You want to allow developers to focus on just building code without having to create and maintain the underlying infrastructure.
Which service should you use to deploy the application?- AA. App Engine
- BB. Cloud Endpoints
- CC. Compute Engine
- DD. Google Kubernetes Engine
5Your company provides a recommendation engine for retail customers. You are providing retail customers with an API where they can submit a user ID and the API returns a list of recommendations for that user. You are responsible for the API lifecycle and want to ensure stability for your customers in case the API makes backward-incompatible changes. You want to follow Google recommended practices. What should you do?
- AA. Create a distribution list of all customers to inform them of an upcoming backward-incompatible change at least one month before replacing the old API with the new API.
- BB. Create an automated process to generate API documentation, and update the public API documentation as part of the CI/CD process when deploying an update to the API.
- CC. Use a versioning strategy for the APIs that increases the version number on every backward-incompatible change.
- DD. Use a versioning strategy for the APIs that adds the suffix DEPRECATED to the current API version number on every backward-incompatible change. Use the current version number for the new API.
6Your company has developed a monolithic, 3-tier application to allow external users to upload and share files. The solution cannot be easily enhanced and lacks reliability. The development team would like to re-architect the application to adopt microservices and a fully managed service approach, but they need to convince their leadership that the effort is worthwhile. Which advantage(s) should they highlight to leadership?
- AA. The new approach will be significantly less costly, make it easier to manage the underlying infrastructure, and automatically manage the CI/CD pipelines.
- BB. The monolithic solution can be converted to a container with Docker. The generated container can then be deployed into a Kubernetes cluster.
- CC. The new approach will make it easier to decouple infrastructure from application, develop and release new features, manage the underlying infrastructure, manage CI/CD pipelines and perform A/B testing, and scale the solution if necessary.
- DD. The process can be automated with Migrate for Compute Engine
7Your team is developing a web application that will be deployed on Google Kubernetes Engine (GKE). Your CTO expects a successful launch and you need to ensure your application can handle the expected load of tens of thousands of users. You want to test the current deployment to ensure the latency of your application stays below a certain threshold. What should you do?
- AA. Use a load testing tool to simulate the expected number of concurrent users and total requests to your application, and inspect the results.
- BB. Enable autoscaling on the GKE cluster and enable horizontal pod autoscaling on your application deployments. Send curl requests to your application, and validate if the auto scaling works.
- CC. Replicate the application over multiple GKE clusters in every Google Cloud region. Configure a global HTTP(S) load balancer to expose the different clusters over a single global IP address.
- DD. Use Cloud Debugger in the development environment to understand the latency between the different microservices.
8Your company has a Kubernetes application that pulls messages from Pub/Sub and stores them in Filestore. Because the application is simple, it was deployed as a single pod. The infrastructure team has analyzed Pub/Sub metrics and discovered that the application cannot process the messages in real time. Most of them wait for minutes before being processed. You need to scale the elaboration process that is I/O-intensive. What should you do?
- AA. Use kubectl autoscale deployment APP_NAME --max 6 --min 2 --cpu-percent 50 to configure Kubernetes autoscaling deployment.
- BB. Configure a Kubernetes autoscaling deployment based on the subscription/push_request_latencies metric.
- CC. Use the --enable-autoscaling flag when you create the Kubernetes cluster.
- DD. Configure a Kubernetes autoscaling deployment based on the subscription/num_undelivered_messages metric.
9Your company is developing a web-based application. You need to make sure that production deployments are linked to source code commits and are fully auditable. What should you do?
- AA. Make sure a developer is tagging the code commit with the date and time of commit.
- BB. Make sure a developer is adding a comment to the commit that links to the deployment.
- CC. Make the container tag match the source code commit hash.
- DD. Make sure the developer is tagging the commits with latest.
10An application development team has come to you for advice. They are planning to write and deploy an HTTP(S) API using Go 1.12. The API will have a very unpredictable workload and must remain reliable during peaks in traffic. They want to minimize operational overhead for this application. Which approach should you recommend?
- AA. Develop the application with containers, and deploy to Google Kubernetes Engine.
- BB. Develop the application for App Engine standard environment.
- CC. Use a Managed Instance Group when deploying to Compute Engine.
- DD. Develop the application for App Engine flexible environment, using a custom runtime
11Your company is designing its data lake on Google Cloud and wants to develop different ingestion pipelines to collect unstructured data from different sources.
After the data is stored in Google Cloud, it will be processed in several data pipelines to build a recommendation engine for end users on the website. The structure of the data retrieved from the source systems can change at any time. The data must be stored exactly as it was retrieved for reprocessing purposes in case the data structure is incompatible with the current processing pipelines. You need to design an architecture to support the use case after you retrieve the data. What should you do?- AA. Send the data through the processing pipeline, and then store the processed data in a BigQuery table for reprocessing.
- BB. Store the data in a BigQuery table. Design the processing pipelines to retrieve the data from the table.
- CC. Send the data through the processing pipeline, and then store the processed data in a Cloud Storage bucket for reprocessing.
- DD. Store the data in a Cloud Storage bucket. Design the processing pipelines to retrieve the data from the bucket
12Your company has an application running as a Deployment in a Google Kubernetes Engine (GKE) cluster. You have separate clusters for development, staging, and production. You have discovered that the team is able to deploy a Docker image to the production cluster without first testing the deployment in development and then staging. You want to allow the team to have autonomy but want to prevent this from happening. You want a Google Cloud solution that can be implemented quickly with minimal effort. What should you do?
- AA. Configure a Kubernetes lifecycle hook to prevent the container from starting if it is not approved for usage in the given environment.
- BB. Implement a corporate policy to prevent teams from deploying Docker images to an environment unless the Docker image was tested in an earlier environment.
- CC. Configure binary authorization policies for the development, staging, and production clusters. Create attestations as part of the continuous integration pipeline.
- DD. Create a Kubernetes admissions controller to prevent the container from starting if it is not approved for usage in the given environment.
13Your company wants to migrate their 10-TB on-premises database export into Cloud Storage. You want to minimize the time it takes to complete this activity, the overall cost, and database load. The bandwidth between the onpremises environment and Google Cloud is 1 Gbps. You want to follow Google-recommended practices. What should you do?
- AA. Develop a Dataflow job to read data directly from the database and write it into Cloud Storage.
- BB. Use the Data Transfer appliance to perform an offline migration.
- CC. Use a commercial partner ETL solution to extract the data from the on-premises database and upload it into Cloud Storage.
- DD. Compress the data and upload it with gsutil -m to enable multi-threaded copy.
14Your company has an enterprise application running on Compute Engine that requires high availability and high performance. The application has been deployed on two instances in two zones in the same region in active passive mode. The application writes data to a persistent disk. In the case of a single zone outage, that data should be immediately made available to the other instance in the other zone. You want to maximize performance while minimizing downtime and data loss. What should you do?
- AA. 1. Attach a persistent SSD disk to the first instance. 2. Create a snapshot every hour. 3. In case of a zone outage, recreate a persistent SSD disk in the second instance where data is coming from the created snapshot.
- BB. 1. Create a Cloud Storage bucket. 2. Mount the bucket into the first instance with gcs-fuse. 3. In case of a zone outage, mount the Cloud Storage bucket to the second instance with gcs-fuse.
- CC. 1. Attach a regional SSD persistent disk to the first instance. 2. In case of a zone outage, force-attach the disk to the other instance.
- DD. 1. Attach a local SSD to the first instance disk. 2. Execute an rsync command every hour where the target is a persistent SSD disk attached to the second instance. 3. In case of a zone outage, use the second instance.
15You are designing a Data Warehouse on Google Cloud and want to store sensitive data in BigQuery. Your company requires you to generate the encryption keys outside of Google Cloud. You need to implement a solution. What should you do?
- AA. Generate a new key in Cloud Key Management Service (Cloud KMS). Store all data in Cloud Storage using the customer-managed key option and select the created key. Set up a Dataflow pipeline to decrypt the data and to store it in a new BigQuery dataset.
- BB. Generate a new key in Cloud KMS. Create a dataset in BigQuery using the customer-managed key option and select the created key.
- CC. Import a key in Cloud KMS. Store all data in Cloud Storage using the customer-managed key option and select the created key. Set up a Dataflow pipeline to decrypt the data and to store it in a new BigQuery dataset.
- DD. Import a key in Cloud KMS. Create a dataset in BigQuery using the customer-supplied key option and select the created key.
16Your organization has stored sensitive data in a Cloud Storage bucket. For regulatory reasons, your company must be able to rotate the encryption key used to encrypt the data in the bucket. The data will be processed in Dataproc.
You want to follow Google-recommended practices for security. What should you do?- AA. Create a key with Cloud Key Management Service (KMS). Encrypt the data using the encrypt method of Cloud KMS.
- BB. Create a key with Cloud Key Management Service (KMS). Set the encryption key on the bucket to the Cloud KMS key.
- CC. Generate a GPG key pair. Encrypt the data using the GPG key. Upload the encrypted data to the bucket.
- DD. Generate an AES-256 encryption key. Encrypt the data in the bucket using the customer-supplied encryption keys feature.
17Your team needs to create a Google Kubernetes Engine (GKE) cluster to host a newly built application that requires access to third-party services on the internet.
Your company does not allow any Compute Engine instance to have a public IP address on Google Cloud. You need to create a deployment strategy that adheres to these guidelines. What should you do?- AA. Configure the GKE cluster as a private cluster, and configure Cloud NAT Gateway for the cluster subnet.
- BB. Configure the GKE cluster as a private cluster. Configure Private Google Access on the Virtual Private Cloud (VPC).
- CC. Configure the GKE cluster as a route-based cluster. Configure Private Google Access on the Virtual Private Cloud (VPC).
- DD. Create a Compute Engine instance, and install a NAT Proxy on the instance. Configure all workloads on GKE to pass through this proxy to access third-party services on the Internet.
18Your company has a support ticketing solution that uses App Engine Standard. The project that contains the App Engine application already has a Virtual Private Cloud (VPC) network fully connected to the company's on-premises environment through a Cloud VPN tunnel. You want to enable the App Engine application to communicate with a database that is running in the company's onpremises environment. What should you do?
- AA. Configure private Google access for on-premises hosts only.
- BB. Configure private Google access.
- CC. Configure private services access.
- DD. Configure serverless VPC access
19Your company is planning to upload several important files to Cloud Storage. After the upload is completed, they want to verify that the uploaded content is identical to what they have on-premises. You want to minimize the cost and effort of performing this check. What should you do?
- AA. 1. Use Linux shasum to compute a digest of files you want to upload. 2. Use gsutil -m to upload all the files to Cloud Storage. 3. Use gsutil cp to download the uploaded files. 4. Use Linux shasum to compute a digest of the downloaded files. 5. Compare the hashes.
- BB. 1. Use gsutil -m to upload the files to Cloud Storage. 2. Develop a custom Java application that computes CRC32C hashes. 3. Use gsutil ls -L gs://[YOUR_BUCKET_NAME] to collect CRC32C hashes of the uploaded files. 4. Compare the hashes.
- CC. 1. Use gsutil -m to upload all the files to Cloud Storage. 2. Use gsutil cp to download the uploaded files. 3. Use Linux diff to compare the content of the files.
- DD. 1. Use gsutil -m to upload the files to Cloud Storage. 2. Use gsutil hash -c FILE_NAME to generate CRC32C hashes of all on-premises files. 3. Use gsutil ls -L gs://[YOUR_BUCKET_NAME] to collect CRC32C hashes of the uploaded files. 4. Compare the hashes.
20You have deployed an application on Anthos clusters (formerly Anthos GKE). According to the SRE practices at your company, you need to be alerted if request latency is above a certain threshold for a specified amount of time. What should you do?
- AA. Install Anthos Service Mesh on your cluster. Use the Google Cloud Console to define a Service Level Objective (SLO), and create an alerting policy based on this SLO.
- BB. Enable the Cloud Trace API on your project, and use Cloud Monitoring Alerts to send an alert based on the Cloud Trace metrics.
- CC. Use Cloud Profiler to follow up the request latency. Create a custom metric in Cloud Monitoring based on the results of Cloud Profiler, and create an Alerting policy in case this metric exceeds the threshold.
- DD. Configure Anthos Config Management on your cluster, and create a yaml file that defines the SLO and alerting policy you want to deploy in your cluster.
Informationen
- Beschreibung
- Curso Interno de Empresa Google Cloud Professional Cloud Architect Quiz am Google Cloud Professional Cloud Architect PT 8, erstellt von Emmanuel Jimenez am 22/04/2024.
- Autor
- Emmanuel Jimenez
- Sprache
- English
- Aufrufe
- 3
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz