πŸ”

PCA β€” questions

Page 17 of 17 Β· 337 total questions.

Topic 11 Β· Question 321

The Dress4Win security team has disabled external SSH access into production virtual machines (VMs) on Google Cloud Platform (GCP). The operations team needs to remotely manage the VMs, build and push Docker containers, and manage Google Cloud Storage objects. What can they do?

  • AGrant the operations engineer access to use Google Cloud Shell. (correct answer)
  • BConfigure a VPN connection to GCP to allow SSH access to the cloud VMs.
  • CDevelop a new access request process that grants temporary SSH access to cloud VMs when an operations engineer needs to perform a task.
  • DHave the development team build an API service that allows the operations team to execute specific remote procedure calls to accomplish their tasks.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Grant the operations engineer access to use Google Cloud Shell.

Topic 11 Β· Question 322

At Dress4Win, an operations engineer wants to create a tow-cost solution to remotely archive copies of database backup files. The database files are compressed tar files stored in their current data center. How should he proceed?

  • ACreate a cron script using gsutil to copy the files to a Coldline Storage bucket.
  • BCreate a cron script using gsutil to copy the files to a Regional Storage bucket.
  • CCreate a Cloud Storage Transfer Service Job to copy the files to a Coldline Storage bucket. (correct answer)
  • DCreate a Cloud Storage Transfer Service job to copy the files to a Regional Storage bucket.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a Cloud Storage Transfer Service Job to copy the files to a Coldline Storage bucket.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. Storage Transfer Service moves large datasets into Cloud Storage online with minimal effort.

Topic 11 Β· Question 323

Dress4Win has asked you to recommend machine types they should deploy their application servers to. How should you proceed?

  • APerform a mapping of the on-premises physical hardware cores and RAM to the nearest machine types in the cloud.
  • BRecommend that Dress4Win deploy application servers to machine types that offer the highest RAM to CPU ratio available.
  • CRecommend that Dress4Win deploy into production with the smallest instances available, monitor them over time, and scale the machine type up until the desired performance is reached.
  • DIdentify the number of virtual cores and RAM associated with the application server virtual machines align them to a custom machine type in the cloud, monitor performance, and scale the machine types up until the desired performance is reached. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Identify the number of virtual cores and RAM associated with the application server virtual machines align them to a custom machine type in the cloud, monitor performance, and scale the machine types up until the desi...

Topic 11 Β· Question 324

As part of Dress4Win's plans to migrate to the cloud, they want to be able to set up a managed logging and monitoring system so they can handle spikes in their traffic load. They want to ensure that: * The infrastructure can be notified when it needs to scale up and down to handle the ebb and flow of usage throughout the day * Their administrators are notified automatically when their application reports errors. * They can filter their aggregated logs down in order to debug one piece of the application across many hosts Which Google StackDriver features should they use?

  • ALogging, Alerts, Insights, Debug
  • BMonitoring, Trace, Debug, Logging
  • CMonitoring, Logging, Alerts, Error Reporting (correct answer)
  • DMonitoring, Logging, Debug, Error Report
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Monitoring, Logging, Alerts, Error Reporting

Explanation

Error Reporting aggregates and surfaces application errors in real time. This option decouples the components so they scale independently and absorb load spikes.

Topic 11 Β· Question 325

Dress4Win would like to become familiar with deploying applications to the cloud by successfully deploying some applications quickly, as is. They have asked for your recommendation. What should you advise?

  • AIdentify self-contained applications with external dependencies as a first move to the cloud. (correct answer)
  • BIdentify enterprise applications with internal dependencies and recommend these as a first move to the cloud.
  • CSuggest moving their in-house databases to the cloud and continue serving requests to on-premise applications.
  • DRecommend moving their message queuing servers to the cloud and continue handling requests to on-premise applications.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Identify self-contained applications with external dependencies as a first move to the cloud.

Topic 11 Β· Question 326

Dress4Win has asked you for advice on how to migrate their on-premises MySQL deployment to the cloud. They want to minimize downtime and performance impact to their on-premises solution during the migration. Which approach should you recommend?

  • ACreate a dump of the on-premises MySQL master server, and then shut it down, upload it to the cloud environment, and load into a new MySQL cluster.
  • BSetup a MySQL replica server/slave in the cloud environment, and configure it for asynchronous replication from the MySQL master server on-premises until cutover. (correct answer)
  • CCreate a new MySQL cluster in the cloud, configure applications to begin writing to both on premises and cloud MySQL masters, and destroy the original cluster at cutover.
  • DCreate a dump of the MySQL replica server into the cloud environment, load it into: Google Cloud Datastore, and configure applications to read/write to Cloud Datastore at cutover.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Setup a MySQL replica server/slave in the cloud environment, and configure it for asynchronous replication from the MySQL master server on-premises until cutover.

Topic 11 Β· Question 327

Dress4Win has configured a new uptime check with Google Stackdriver for several of their legacy services. The Stackdriver dashboard is not reporting the services as healthy. What should they do?

  • AInstall the Stackdriver agent on all of the legacy web servers.
  • BIn the Cloud Platform Console download the list of the uptime servers' IP addresses and create an inbound firewall rule (correct answer)
  • CConfigure their load balancer to pass through the User-Agent HTTP header when the value matches GoogleStackdriverMonitoring-UptimeChecks (https:// cloud.google.com/monitoring)
  • DConfigure their legacy web servers to allow requests that contain user-Agent HTTP header when the value matches GoogleStackdriverMonitoring- UptimeChecks (https://cloud.google.com/monitoring)
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: In the Cloud Platform Console download the list of the uptime servers' IP addresses and create an inbound firewall rule.

Topic 11 Β· Question 328

As part of their new application experience, Dress4Wm allows customers to upload images of themselves. The customer has exclusive control over who may view these images. Customers should be able to upload images with minimal latency and also be shown their images quickly on the main application page when they log in. Which configuration should Dress4Win use?

  • AStore image files in a Google Cloud Storage bucket. Use Google Cloud Datastore to maintain metadata that maps each customer's ID and their image files. (correct answer)
  • BStore image files in a Google Cloud Storage bucket. Add custom metadata to the uploaded images in Cloud Storage that contains the customer's unique ID.
  • CUse a distributed file system to store customers' images. As storage needs increase, add more persistent disks and/or nodes. Assign each customer a unique ID, which sets each file's owner attribute, ensuring privacy of images.
  • DUse a distributed file system to store customers' images. As storage needs increase, add more persistent disks and/or nodes. Use a Google Cloud SQL database to maintain metadata that maps each customer's ID to their image files.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Store image files in a Google Cloud Storage bucket. Use Google Cloud Datastore to maintain metadata that maps each customer's ID and their image files.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. Datastore (Firestore in Datastore mode) is a serverless NoSQL database for user profiles and app state.

Topic 11 Β· Question 329

Dress4Win has end-to-end tests covering 100% of their endpoints. They want to ensure that the move to the cloud does not introduce any new bugs. Which additional testing methods should the developers employ to prevent an outage?

  • AThey should enable Google Stackdriver Debugger on the application code to show errors in the code.
  • BThey should add additional unit tests and production scale load tests on their cloud staging environment. (correct answer)
  • CThey should run the end-to-end tests in the cloud staging environment to determine if the code is working as intended.
  • DThey should add canary tests so developers can measure how much of an impact the new release causes to latency.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: They should add additional unit tests and production scale load tests on their cloud staging environment.

Topic 11 Β· Question 330

You want to ensure Dress4Win's sales and tax records remain available for infrequent viewing by auditors for at least 10 years. Cost optimization is your top priority. Which cloud services should you choose?

  • AGoogle Cloud Storage Coldline to store the data, and gsutil to access the data. (correct answer)
  • BGoogle Cloud Storage Nearline to store the data, and gsutil to access the data.
  • CGoogle Bigtabte with US or EU as location to store the data, and gcloud to access the data.
  • DBigQuery to store the data, and a web server cluster in a managed instance group to access the data. Google Cloud SQL mirrored across two distinct regions to store the data, and a Redis cluster in a managed instance group to access the data.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Google Cloud Storage Coldline to store the data, and gsutil to access the data.

Explanation

Coldline storage lowers cost for data accessed less than once a quarter. Cloud Storage provides durable, scalable object storage that is fully managed.

Topic 11 Β· Question 331

The current Dress4Win system architecture has high latency to some customers because it is located in one data center. As of a future evaluation and optimizing for performance in the cloud, Dresss4Win wants to distribute its system architecture to multiple locations when Google cloud platform. Which approach should they use?

  • AUse regional managed instance groups and a global load balancer to increase performance because the regional managed instance group can grow instances in each region separately based on traffic. (correct answer)
  • BUse a global load balancer with a set of virtual machines that forward the requests to a closer group of virtual machines managed by your operations team.
  • CUse regional managed instance groups and a global load balancer to increase reliability by providing automatic failover between zones in different regions.
  • DUse a global load balancer with a set of virtual machines that forward the requests to a closer group of virtual machines as part of a separate managed instance groups.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use regional managed instance groups and a global load balancer to increase performance because the regional managed instance group can grow instances in each region separately based on traffic.

Explanation

A managed instance group provides autoscaling, autohealing, and rolling updates for VMs. A load balancer distributes traffic across healthy backends in multiple zones for availability and scale.

Topic 12 Β· Question 332

For this question, refer to the Dress4Win case study. Dress4Win is expected to grow to 10 times its size in 1 year with a corresponding growth in data and traffic that mirrors the existing patterns of usage. The CIO has set the target of migrating production infrastructure to the cloud within the next 6 months. How will you configure the solution to scale for this growth without making major application changes and still maximize the ROI?

  • AMigrate the web application layer to App Engine, and MySQL to Cloud Datastore, and NAS to Cloud Storage. Deploy RabbitMQ, and deploy Hadoop servers using Deployment Manager.
  • BMigrate RabbitMQ to Cloud Pub/Sub, Hadoop to BigQuery, and NAS to Compute Engine with Persistent Disk storage. Deploy Tomcat, and deploy Nginx using Deployment Manager.
  • CImplement managed instance groups for Tomcat and Nginx. Migrate MySQL to Cloud SQL, RabbitMQ to Cloud Pub/Sub, Hadoop to Cloud Dataproc, and NAS to Compute Engine with Persistent Disk storage.
  • DImplement managed instance groups for the Tomcat and Nginx. Migrate MySQL to Cloud SQL, RabbitMQ to Cloud Pub/Sub, Hadoop to Cloud Dataproc, and NAS to Cloud Storage. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Implement managed instance groups for the Tomcat and Nginx. Migrate MySQL to Cloud SQL, RabbitMQ to Cloud Pub/Sub, Hadoop to Cloud Dataproc, and NAS to Cloud Storage.

Explanation

A managed instance group provides autoscaling, autohealing, and rolling updates for VMs. Cloud Storage provides durable, scalable object storage that is fully managed. Cloud SQL is a managed relational database (MySQL/PostgreSQL/SQL Server) that handles patching, backups, and failover.

Topic 12 Β· Question 333

For this question, refer to the Dress4Win case study. Considering the given business requirements, how would you automate the deployment of web and transactional data layers?

  • ADeploy Nginx and Tomcat using Cloud Deployment Manager to Compute Engine. Deploy a Cloud SQL server to replace MySQL. Deploy Jenkins using Cloud Deployment Manager. (correct answer)
  • BDeploy Nginx and Tomcat using Cloud Launcher. Deploy a MySQL server using Cloud Launcher. Deploy Jenkins to Compute Engine using Cloud Deployment Manager scripts.
  • CMigrate Nginx and Tomcat to App Engine. Deploy a Cloud Datastore server to replace the MySQL server in a high-availability configuration. Deploy Jenkins to Compute Engine using Cloud Launcher.
  • DMigrate Nginx and Tomcat to App Engine. Deploy a MySQL server using Cloud Launcher. Deploy Jenkins to Compute Engine using Cloud Launcher.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Deploy Nginx and Tomcat using Cloud Deployment Manager to Compute Engine. Deploy a Cloud SQL server to replace MySQL. Deploy Jenkins using Cloud Deployment Manager.

Explanation

Compute Engine provides configurable virtual machines when you need full control of the OS. Cloud SQL is a managed relational database (MySQL/PostgreSQL/SQL Server) that handles patching, backups, and failover. Cloud Deploy manages continuous delivery to GKE and other runtimes with promotion and rollback.

Topic 12 Β· Question 334

For this question, refer to the Dress4Win case study. Which of the compute services should be migrated as-is and would still be an optimized architecture for performance in the cloud?

  • AWeb applications deployed using App Engine standard environment
  • BRabbitMQ deployed using an unmanaged instance group
  • CHadoop/Spark deployed using Cloud Dataproc Regional in High Availability mode (correct answer)
  • DJenkins, monitoring, bastion hosts, security scanners services deployed on custom machine types
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Hadoop/Spark deployed using Cloud Dataproc Regional in High Availability mode

Explanation

Dataproc runs managed Spark and Hadoop clusters for big-data processing.

Topic 12 Β· Question 335

For this question, refer to the Dress4Win case study. To be legally compliant during an audit, Dress4Win must be able to give insights in all administrative actions that modify the configuration or metadata of resources on Google Cloud. What should you do?

  • AUse Stackdriver Trace to create a Trace list analysis.
  • BUse Stackdriver Monitoring to create a dashboard on the project's activity.
  • CEnable Cloud Identity-Aware Proxy in all projects, and add the group of Administrators as a member.
  • DUse the Activity page in the GCP Console and Stackdriver Logging to provide the required insight. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Use the Activity page in the GCP Console and Stackdriver Logging to provide the required insight.

Explanation

Cloud Operations (formerly Stackdriver) provides monitoring, logging, and tracing for reliability.

Topic 12 Β· Question 336

For this question, refer to the Dress4Win case study. You are responsible for the security of data stored in Cloud Storage for your company, Dress4Win. You have already created a set of Google Groups and assigned the appropriate users to those groups. You should use Google best practices and implement the simplest design to meet the requirements. Considering Dress4Win's business and technical requirements, what should you do?

  • AAssign custom IAM roles to the Google Groups you created in order to enforce security requirements. Encrypt data with a customer-supplied encryption key when storing files in Cloud Storage.
  • BAssign custom IAM roles to the Google Groups you created in order to enforce security requirements. Enable default storage encryption before storing files in Cloud Storage.
  • CAssign predefined IAM roles to the Google Groups you created in order to enforce security requirements. Utilize Google's default encryption at rest when storing files in Cloud Storage. (correct answer)
  • DAssign predefined IAM roles to the Google Groups you created in order to enforce security requirements. Ensure that the default Cloud KMS key is set before storing files in Cloud Storage.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Assign predefined IAM roles to the Google Groups you created in order to enforce security requirements. Utilize Google's default encryption at rest when storing files in Cloud Storage.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources.

Topic 12 Β· Question 337

For this question, refer to the Dress4Win case study. You want to ensure that your on-premises architecture meets business requirements before you migrate your solution. What change in the on-premises architecture should you make?

  • AReplace RabbitMQ with Google Pub/Sub.
  • BDowngrade MySQL to v5.7, which is supported by Cloud SQL for MySQL.
  • CResize compute resources to match predefined Compute Engine machine types.
  • DContainerize the micro-services and host them in Google Kubernetes Engine. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Containerize the micro-services and host them in Google Kubernetes Engine.

Explanation

Google Kubernetes Engine runs managed Kubernetes for containerized workloads.

Showing questions 321–337 of 337 Β· Page 17 of 17