Google Professional-Cloud-Architect Exam Practice Questions (P. 4)
- Full Access (551 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #31
A development manager is building a new application. He asks you to review his requirements and identify what cloud technologies he can use to meet them. The application must:
1. Be based on open-source technology for cloud portability
2. Dynamically scale compute capacity based on demand
3. Support continuous software delivery
4. Run multiple segregated copies of the same application stack
5. Deploy application bundles using dynamic templates
6. Route network traffic to specific services based on URL
Which combination of technologies will meet all of his requirements?
1. Be based on open-source technology for cloud portability
2. Dynamically scale compute capacity based on demand
3. Support continuous software delivery
4. Run multiple segregated copies of the same application stack
5. Deploy application bundles using dynamic templates
6. Route network traffic to specific services based on URL
Which combination of technologies will meet all of his requirements?
- AGoogle Kubernetes Engine, Jenkins, and HelmMost Voted
- BGoogle Kubernetes Engine and Cloud Load Balancing
- CGoogle Kubernetes Engine and Cloud Deployment Manager
- DGoogle Kubernetes Engine, Jenkins, and Cloud Load Balancing
Correct Answer:
D
Jenkins is an open-source automation server that lets you flexibly orchestrate your build, test, and deployment pipelines. Kubernetes Engine is a hosted version of
Kubernetes, a powerful cluster manager and orchestration system for containers.
When you need to set up a continuous delivery (CD) pipeline, deploying Jenkins on Kubernetes Engine provides important benefits over a standard VM-based deployment
Incorrect Answers:
A: Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources.
Use Helm to:
Find and use popular software packaged as Kubernetes charts

✑ Share your own applications as Kubernetes charts
✑ Create reproducible builds of your Kubernetes applications
✑ Intelligently manage your Kubernetes manifest files
✑ Manage releases of Helm packages
Reference:
https://cloud.google.com/solutions/jenkins-on-kubernetes-engine
D
Jenkins is an open-source automation server that lets you flexibly orchestrate your build, test, and deployment pipelines. Kubernetes Engine is a hosted version of
Kubernetes, a powerful cluster manager and orchestration system for containers.
When you need to set up a continuous delivery (CD) pipeline, deploying Jenkins on Kubernetes Engine provides important benefits over a standard VM-based deployment
Incorrect Answers:
A: Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources.
Use Helm to:
Find and use popular software packaged as Kubernetes charts

✑ Share your own applications as Kubernetes charts
✑ Create reproducible builds of your Kubernetes applications
✑ Intelligently manage your Kubernetes manifest files
✑ Manage releases of Helm packages
Reference:
https://cloud.google.com/solutions/jenkins-on-kubernetes-engine
send
light_mode
delete
Question #32
You have created several pre-emptible Linux virtual machine instances using Google Compute Engine. You want to properly shut down your application before the virtual machines are preempted.
What should you do?
What should you do?
- ACreate a shutdown script named k99.shutdown in the /etc/rc.6.d/ directory
- BCreate a shutdown script registered as a xinetd service in Linux and configure a Stackdriver endpoint check to call the service
- CCreate a shutdown script and use it as the value for a new metadata entry with the key shutdown-script in the Cloud Platform Console when you create the new virtual machine instanceMost Voted
- DCreate a shutdown script, registered as a xinetd service in Linux, and use the gcloud compute instances add-metadata command to specify the service URL as the value for a new metadata entry with the key shutdown-script-url
Correct Answer:
C
A startup script, or a shutdown script, is specified through the metadata server, using startup script metadata keys.
Reference:
https://cloud.google.com/compute/docs/startupscript
C
A startup script, or a shutdown script, is specified through the metadata server, using startup script metadata keys.
Reference:
https://cloud.google.com/compute/docs/startupscript
send
light_mode
delete
Question #33
Your organization has a 3-tier web application deployed in the same network on Google Cloud Platform. Each tier (web, API, and database) scales independently of the others. Network traffic should flow through the web to the API tier and then on to the database tier. Traffic should not flow between the web and the database tier.
How should you configure the network?
How should you configure the network?
- AAdd each tier to a different subnetwork
- BSet up software based firewalls on individual VMs
- CAdd tags to each tier and set up routes to allow the desired traffic flow
- DAdd tags to each tier and set up firewall rules to allow the desired traffic flowMost Voted
Correct Answer:
D
Google Cloud Platform(GCP) enforces firewall rules through rules and tags. GCP rules and tags can be defined once and used across all regions.
Reference:
https://cloud.google.com/docs/compare/openstack/
https://aws.amazon.com/it/blogs/aws/building-three-tier-architectures-with-security-groups/
D
Google Cloud Platform(GCP) enforces firewall rules through rules and tags. GCP rules and tags can be defined once and used across all regions.
Reference:
https://cloud.google.com/docs/compare/openstack/
https://aws.amazon.com/it/blogs/aws/building-three-tier-architectures-with-security-groups/
send
light_mode
delete
Question #34
Your development team has installed a new Linux kernel module on the batch servers in Google Compute Engine (GCE) virtual machines (VMs) to speed up the nightly batch process. Two days after the installation, 50% of the batch servers failed the nightly batch run. You want to collect details on the failure to pass back to the development team.
Which three actions should you take? (Choose three.)
Which three actions should you take? (Choose three.)
- AUse Stackdriver Logging to search for the module log entriesMost Voted
- BRead the debug GCE Activity log using the API or Cloud Console
- CUse gcloud or Cloud Console to connect to the serial console and observe the logsMost Voted
- DIdentify whether a live migration event of the failed server occurred, using in the activity log
- EAdjust the Google Stackdriver timeline to match the failure time, and observe the batch server metricsMost Voted
- FExport a debug VM into an image, and run the image on a local server where kernel log messages will be displayed on the native screen
Correct Answer:
ACE
ACE
send
light_mode
delete
Question #35
Your company wants to try out the cloud with low risk. They want to archive approximately 100 TB of their log data to the cloud and test the analytics features available to them there, while also retaining that data as a long-term disaster recovery backup.
Which two steps should you take? (Choose two.)
Which two steps should you take? (Choose two.)
- ALoad logs into Google BigQueryMost Voted
- BLoad logs into Google Cloud SQL
- CImport logs into Google Stackdriver
- DInsert logs into Google Cloud Bigtable
- EUpload log files into Google Cloud StorageMost Voted
Correct Answer:
AE
AE
send
light_mode
delete
Question #36
You created a pipeline that can deploy your source code changes to your infrastructure in instance groups for self-healing. One of the changes negatively affects your key performance indicator. You are not sure how to fix it, and investigation could take up to a week.
What should you do?
What should you do?
- ALog in to a server, and iterate on the fox locally
- BRevert the source code change, and rerun the deployment pipelineMost Voted
- CLog into the servers with the bad code change, and swap in the previous code
- DChange the instance group template to the previous one, and delete all instances
Correct Answer:
B
B
send
light_mode
delete
Question #37
Your organization wants to control IAM policies for different departments independently, but centrally.
Which approach should you take?
Which approach should you take?
- AMultiple Organizations with multiple Folders
- BMultiple Organizations, one for each department
- CA single Organization with Folders for each departmentMost Voted
- DA single Organization with multiple projects, each with a central owner
Correct Answer:
C
Folders are nodes in the Cloud Platform Resource Hierarchy. A folder can contain projects, other folders, or a combination of both. You can use folders to group projects under an organization in a hierarchy. For example, your organization might contain multiple departments, each with its own set of GCP resources. Folders allow you to group these resources on a per-department basis. Folders are used to group resources that share common IAM policies. While a folder can contain multiple folders or resources, a given folder or resource can have exactly one parent.
Reference:
https://cloud.google.com/resource-manager/docs/creating-managing-folders
C
Folders are nodes in the Cloud Platform Resource Hierarchy. A folder can contain projects, other folders, or a combination of both. You can use folders to group projects under an organization in a hierarchy. For example, your organization might contain multiple departments, each with its own set of GCP resources. Folders allow you to group these resources on a per-department basis. Folders are used to group resources that share common IAM policies. While a folder can contain multiple folders or resources, a given folder or resource can have exactly one parent.
Reference:
https://cloud.google.com/resource-manager/docs/creating-managing-folders
send
light_mode
delete
Question #38
You deploy your custom Java application to Google App Engine. It fails to deploy and gives you the following stack trace.
What should you do?

What should you do?

- AUpload missing JAR files and redeploy your application.
- BDigitally sign all of your JAR files and redeploy your applicationMost Voted
- CRecompile the CLoakedServlet class using and MD5 hash instead of SHA1
Correct Answer:
B
B
send
light_mode
delete
Question #39
You are designing a mobile chat application. You want to ensure people cannot spoof chat messages, by providing a message were sent by a specific user.
What should you do?
What should you do?
- ATag messages client side with the originating user identifier and the destination user.
- BEncrypt the message client side using block-based encryption with a shared key.
- CUse public key infrastructure (PKI) to encrypt the message client side using the originating user's private key.Most Voted
- DUse a trusted certificate authority to enable SSL connectivity between the client application and the server.
Correct Answer:
C
C
send
light_mode
delete
Question #40
As part of implementing their disaster recovery plan, your company is trying to replicate their production MySQL database from their private data center to their
GCP project using a Google Cloud VPN connection. They are experiencing latency issues and a small amount of packet loss that is disrupting the replication.
What should they do?
GCP project using a Google Cloud VPN connection. They are experiencing latency issues and a small amount of packet loss that is disrupting the replication.
What should they do?
- AConfigure their replication to use UDP.
- BConfigure a Google Cloud Dedicated Interconnect.Most Voted
- CRestore their database daily using Google Cloud SQL.
- DAdd additional VPN connections and load balance them.
- ESend the replicated transaction to Google Cloud Pub/Sub.
Correct Answer:
B
B
send
light_mode
delete
All Pages