Free Google Cloud Architect Professional Exam Braindumps (page: 34)

Page 33 of 68

You want to enable your running Google Container Engine cluster to scale as demand for your application changes.
What should you do?

  1. Add additional nodes to your Container Engine cluster using the following command:
    gcloud container clusters resize CLUSTER_NAME --size 10
  2. Add a tag to the instances in the cluster with the following command:
    gcloud compute instances add-tags INSTANCE --tags enable --autoscaling max-nodes-10
  3. Update the existing Container Engine cluster with the following command:
    gcloud alpha container clusters update mycluster --enable-autoscaling --min-nodes=1 --max- nodes=10
  4. Create a new Container Engine cluster with the following command:
    gcloud alpha container clusters create mycluster --enable-autocaling --min-nodes=1 --max-nodes=10 and redeploy your application.

Answer(s): B

Explanation:

https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-autoscaler

Cluster autoscaling
--enable-autoscaling
Enables autoscaling for a node pool.
Enables autoscaling in the node pool specified by --node-pool or the default node pool if --node-pool is not provided.
Where:
--max-nodes=MAX_NODES
Maximum number of nodes in the node pool.
Maximum number of nodes to which the node pool specified by --node-pool (or default node pool if unspecified) can scale.

Incorrect Answers:
C, D: Warning: Do not use Alpha Clusters or alpha features for production workloads.

Note: You can experiment with Kubernetes alpha features by creating an alpha cluster. Alpha clusters are short-lived clusters that run stable Kubernetes releases with all Kubernetes APIs and features enabled. Alpha clusters are designed for advanced users and early adopters to experiment with workloads that take advantage of new features before those features are production-ready. You can use Alpha clusters just like normal Kubernetes Engine clusters.


Reference:

https://cloud.google.com/sdk/gcloud/reference/container/clusters/create



You deploy your custom java application to google app engine. It fails to deploy and gives you the following stack trace:

  1. Recompile the CLoakedServlet class using and MD5 hash instead of SHA1
  2. Digitally sign all of your JAR files and redeploy your application.
  3. Upload missing JAR files and redeploy your application

Answer(s): B



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

  1. Tag messages client side with the originating user identifier and the destination user.
  2. Encrypt the message client side using block-based encryption with a shared key.
  3. Use public key infrastructure (PKI) to encrypt the message client side using the originating user's private key.
  4. Use a trusted certificate authority to enable SSL connectivity between the client application and the server.

Answer(s): C



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

  1. Log in to a server, and iterate a fix locally
  2. Change the instance group template to the previous one, and delete all instances.
  3. Revert the source code change and rerun the deployment pipeline
  4. Log into the servers with the bad code change, and swap in the previous code

Answer(s): C






Post your Comments and Discuss Google Google Cloud Architect Professional exam with other Community members:

Google Cloud Architect Professional Discussions & Posts