Google Associate-Cloud-Engineer日本語豪華セット学習ガイドにはオンライン試験エンジン [Q48-Q72]

Share

Google Associate-Cloud-Engineer日本語豪華セット学習ガイドにはオンライン試験エンジン

Associate-Cloud-Engineer日本語問題集レビュー専門クイズ学習材料

質問 # 48
Cloud Spannerを使用するGoogle Cloud Platformでアプリケーションを構築しました。サポートチームは環境を監視する必要がありますが、テーブルデータにアクセスできません。サポートチームに適切な権限を付与するための合理化されたソリューションが必要であり、Googleが推奨するプラクティスに従う必要がある。あなたは何をするべきか?

  • A. ロール/spanner.databaseReaderロールにサポートチームグループを追加します。
  • B. 役割/stackdriver.accounts.viewer役割にサポートチームグループを追加します。
  • C. サポートチームグループをroles / monitoring.viewerの役割に追加します
  • D. ロール/spanner.databaseUserロールにサポートチームグループを追加します。

正解:C

解説:
Explanation
roles/monitoring.viewer provides read-only access to get and list information about all monitoring data and configurations. This role provides monitoring access and fits our requirements.
roles/monitoring.viewer. is the right answer.
Ref: https://cloud.google.com/iam/docs/understanding-roles#cloud-spanner-roles


質問 # 49
あなたのチームは、仮想マシン上で直接実行する必要があるステートレス アプリケーションを開発しました。アプリケーションは変動する量のトラフィックを受け取ることが予想されるため、自動的にスケーリングする必要があります。アプリケーションをデプロイする必要があります。あなたは何をするべきか?

  • A. Kubernetes Engine クラスターにアプリケーションをデプロイし、ノード プールの自動スケーリングを構成します。
  • B. Cloud Run にアプリケーションをデプロイし、自動スケーリングを構成します。
  • C. Cloud Functions にアプリケーションをデプロイし、最大数のインスタンスを構成します。
  • D. マネージド インスタンス グループにアプリケーションをデプロイし、自動スケーリングを構成します。

正解:D

解説:
A managed instance group (MIG) is a group of identical virtual machines (VMs) that you can manage as a single entity. You can use a MIG to deploy and maintain a stateless application that runs directly on VMs. A MIG can automatically scale the number of VMsbased on the load or a schedule. A MIG can also automatically heal the VMs if they become unhealthy or unavailable. A MIG is suitable for applications that need to run on VMs rather than containers or serverless platforms.
B is incorrect because Kubernetes Engine is a managed service for running containerized applications on a cluster of nodes. It is not necessary to use Kubernetes Engine if the application does not use containers and can run directly on VMs.
C is incorrect because Cloud Functions is a serverless platform for running event-driven code in response to triggers. It is not suitable for applications that need to run continuously and handle HTTP requests.
D is incorrect because Cloud Run is a serverless platform for running stateless containerized applications. It is not suitable for applications that do not use containers and can run directly on VMs.
References:
* Managed instance groups documentation
* Choosing a compute option for Google Cloud


質問 # 50
プロジェクト内にApp Engineアプリケーションを含むGoogle Cloud Platformプロジェクトを作成しました。最初に、アプリケーションをus-centralリージョンから提供されるように構成しました。次に、asia-northeast1リージョンからアプリケーションを提供したいとします。あなたは何をするべきか?

  • A. 新しいGCPプロジェクトを作成し、この新しいプロジェクト内にApp Engineアプリケーションを作成します。アプリケーションを提供するリージョンとしてasia-northeast1を指定します。
  • B. 既存のGCPプロジェクトに2つ目のApp Engineアプリケーションを作成し、アプリケーションを提供するリージョンとしてasia-northeast1を指定します。
  • C. 既存のApp Engineアプリケーションのリージョンプロパティ設定をus-centralからasia-northeast1に変更します。
  • D. 既存のGCPプロジェクトのデフォルトのリージョンプロパティ設定をasia-northeast1に変更します。

正解:A

解説:
https://cloud.google.com/appengine/docs/flexible/nodejs/an-overview-of-app-engine


質問 # 51
us-central1リージョンに単一の仮想プライベートクラウド(VPC)と単一のサブネットワークを持つプロジェクトが与えられます。このサブネットワークには、アプリケーションをホストするCompute Engineインスタンスがあります。 europe-west1リージョンの同じプロジェクトに新しいインスタンスをデプロイする必要があります。この新しいインスタンスは、アプリケーションにアクセスする必要があります。 Googleが推奨するプラクティスに従いたい。あなたは何をするべきか?

  • A. 1.同じVPCで、europe-west1.2にサブネットワークを作成します。 Cloud VPNを使用して2つのサブネットワークを接続します。3。新しいサブネットワークに新しいインスタンスを作成し、最初のインスタンスのプライベートアドレスをエンドポイントとして使用します。
  • B. 1. VPCとサブネットワークをeurope-west1.2に作成します。内部ロードバランサーを使用してアプリケーションを公開します。3。新しいサブネットワークに新しいインスタンスを作成し、ロードバランサーのアドレスをエンドポイントとして使用します。
  • C. 1. VPCとサブネットワークをeurope-west1.2に作成します。 2つのVPCをピアリングします3。新しいサブネットワークに新しいインスタンスを作成し、最初のインスタンスのプライベートアドレスをエンドポイントとして使用します。
  • D. 1.同じVPCで、europe-west1.2にサブネットワークを作成します。新しいサブネットワークに新しいインスタンスを作成し、最初のインスタンスのプライベートアドレスをエンドポイントとして使用します。

正解:A

解説:
* Given that the new instance wants to access the application on the existing compute engine instance, these applications seem to be related so they should be within the same VPC. It is possible to have them in different VPCs and peer the VPCs but this is a lot of additional work and we can simplify this by choosing the option below (which is the answer)
1. Create a subnet in the same VPC, in europe-west1.
2. Create the new instance in the new subnet and use the first instance subnets private address as the endpoint.
is the right answer.
* We can create another subnet in the same VPC and this subnet is located in europe-west1. We can then spin up a new instance in this subnet. We also have to set up a firewall rule to allow communication between the two subnets. All instances in the two subnets with the same VPC can communicate through the internal IP Address Ref: https://cloud.google.com/vpc


質問 # 52
デフォルトのリージョンとゾーンで実行されている1つのGCPアカウントと、デフォルト以外のリージョンとゾーンで実行されている別のアカウントがあります。コマンドラインインターフェースを使用して、これら2つのGoogle Cloud Platformアカウントで新しいCompute Engineインスタンスを開始したいとします。あなたは何をするべきか?

  • A. gcloud config configuration create [NAME]を使用して2つの構成を作成します。 Compute Engineインスタンスを起動するコマンドを実行するときに、gcloud config configuration activate [NAME]を実行してアカウントを切り替えます。
  • B. gcloud設定アクティベート[名前]を使用して2つの設定をアクティベートします。 gcloud config listを実行して、Compute Engineインスタンスを起動します。
  • C. gcloud config configuration create [NAME]を使用して2つの構成を作成します。 gcloud構成リストを実行して、Compute Engineインスタンスを起動します。
  • D. gcloud設定アクティベート[名前]を使用して2つの設定をアクティベートします。 gcloud構成リストを実行して、Compute Engineインスタンスを起動します。

正解:A

解説:
"Run gcloud configurations list to start the Compute Engine instances". How the heck are you expecting to "start" GCE instances doing "configuration list".
Each gcloud configuration has a 1 to 1 relationship with the region (if a region is defined). Since we have two different regions, we would need to create two separate configurations using gcloud config configurations create Ref: https://cloud.google.com/sdk/gcloud/reference/config/configurations/create Secondly, you can activate each configuration independently by running gcloud config configurations activate [NAME] Ref: https://cloud.google.com/sdk/gcloud/reference/config/configurations/activate Finally, while each configuration is active, you can run the gcloud compute instances start [NAME] command to start the instance in the configurations region. https://cloud.google.com/sdk/gcloud/reference/compute/instances/start


質問 # 53
Cloud Storageバケットにデータをアーカイブするソリューションを構成する必要があります。ソリューションは費用効果が高くなければなりません。複数のバージョンのデータは30日後にアーカイブする必要があります。以前のバージョンは、レポートのために月に1回アクセスされます。このアーカイブデータは、月末に時々更新されます。あなたは何をするべきか?

  • A. Add a bucket lifecycle rule that archives data with newer versions after 30 days to Nearline Storage.
  • B. Add a bucket lifecycle rule that archives data from regional storage after 30 days to Nearline Storage.
  • C. Add a bucket lifecycle rule that archives data with newer versions after 30 days to Coldline Storage.
  • D. Add a bucket lifecycle rule that archives data from regional storage after 30 days to Coldline Storage.

正解:A

解説:
Reference:
https://cloud.google.com/storage/docs/managing-lifecycles


質問 # 54
アプリケーションをApp Engineにデプロイしています。リクエストレートに基づいてインスタンス数をスケーリングする必要があります。常に少なくとも3つの空いているインスタンスが必要です。どのスケーリングタイプを使用する必要がありますか?

  • A. min_idle_instancesを3に設定した自動スケーリング。
  • B. 3つのインスタンスによる手動スケーリング。
  • C. min_instancesを3に設定した基本スケーリング。
  • D. max_instancesを3に設定した基本スケーリング。

正解:A

解説:
App Engine supports the following scaling types, which controls how and when instances are created:
Automatic
Basic
Manual
You specify the scaling type in your app's app.yaml.
Automatic scaling
Automatic scaling creates instances based on request rate, response latencies, and other application metrics. You can specify thresholds for each of these metrics, as well as a minimum number instances to keep running at all times.
https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed


質問 # 55
あなたはあなたの会社の組織および課金管理者です。エンジニアリングチームには、組織に対するプロジェクト作成者の役割があります。エンジニアリングチームがプロジェクトを請求先アカウントにリンクできるようにしたくない。プロジェクトを請求先アカウントにリンクできるのは財務チームだけですが、プロジェクトに他の変更を加えることはできません。あなたは何をするべきか?

  • A. 財務チームに請求先アカウントの請求先アカウントユーザーの役割のみを割り当てます。
  • B. エンジニアリングチームに請求先アカウントの請求先アカウントユーザーの役割と組織のプロジェクト請求管理者の役割を割り当てます。
  • C. エンジニアリングチームには、請求先アカウントの請求先アカウントユーザーの役割のみを割り当てます。
  • D. 財務チームに請求先アカウントの請求先アカウントユーザーの役割と組織のプロジェクト請求管理者の役割を割り当てます。

正解:D

解説:
From this
source:https://cloud.google.com/billing/docs/how-to/custom-roles#permission_association_and_inheritance
"For example, associating a project with a billing account requires the billing.resourceAssociations.create permission on the billing account and also the resourcemanager.projects.createBillingAssignment permission on the project. This is because project permissions are required for actions where project owners control access, while billing account permissions are required for actions where billing account administrators control access. When both should be involved, both permissions are necessary."


質問 # 56
独自のデータセンターのベアメタルサーバーでアプリケーションをホストしています。アプリケーションはCloud Storageにアクセスする必要があります。ただし、セキュリティポリシーにより、アプリケーションをホストしているサーバーがパブリックIPアドレスやインターネットにアクセスできないようになっています。 Googleが推奨するプラクティスに従って、アプリケーションにCloud Storageへのアクセスを提供したいと考えています。あなたは何をするべきか?

  • A. 1. nslookupを使用してstorage.googleapis.com.2のIPアドレスを取得します。サーバーにパブリックIPアドレスを提供できるように、セキュリティチームと交渉します。それらのサーバーからstorage.googleapis.comのIPアドレスへの下りトラフィックのみを許可します。
  • B. 1. Cloud VPNまたは相互接続を使用して、GCP.2でVPCへのトンネルを作成します。 Cloud Routerを使用して、199.36.153.4 / 30のカスタムルートアドバタイズを作成します。 VPNトンネルを介してそのネットワークをオンプレミスネットワークにアナウンスします。オンプレミスネットワークで、*。googleapis.comをCNAMEとしてrestricted.googleapis.comに解決するようにDNSサーバーを構成します。
  • C. 1. Cloud VPNを使用して、Google Cloud Platform(GCP)でVirtual Private Cloud(VPC)へのVPNトンネルを作成します。このVPCでCompute Engineインスタンスを作成し、このインスタンスにSquidプロキシサーバーをインストールします。3。 Cloud Storageにアクセスするためのプロキシとしてそのインスタンスを使用するようにサーバーを構成します。
  • D. 1. Migrate for Compute Engine(旧称Velostrata)を使用して、これらのサーバーをCompute Engine.2に移行します。 storage.googleapis.comをbackend.3として使用する内部ロードバランサー(ILB)を作成します。このILBをプロキシとして使用するように新しいインスタンスを構成します。

正解:B

解説:
Our requirement is to follow Google recommended practices to achieve the end result. Configuring Private Google Access for On-Premises Hosts is best achieved by VPN/Interconnect + Advertise Routes + Use restricted Google IP Range.
* Using Cloud VPN or Interconnect, create a tunnel to a VPC in GCP
* Using Cloud Router to create a custom route advertisement for 199.36.153.4/30. Announce that network to your on-premises network through the VPN tunnel.
* In your on-premises network, configure your DNS server to resolve *.googleapis.com as a CNAME to restricted.googleapis.com is the right answer right, and it is what Google recommends.
Ref: https://cloud.google.com/vpc/docs/configure-private-google-access-hybrid
* You must configure routes so that Google API traffic is forwarded through your Cloud VPN or Cloud Interconnect connection, firewall rules on your on-premises firewall to allow the outgoing traffic, and DNS so that traffic to Google APIs resolves to the IP range youve added to your routes.
* You can use Cloud Router Custom Route Advertisement to announce the Restricted Google APIs IP addresses through Cloud Router to your on-premises network. The Restricted Google APIs IP range is
199.36.153.4/30. While this is technically a public IP range, Google does not announce it publicly. This IP range is only accessible to hosts that can reach your Google Cloud projects through internal IP ranges, such as through a Cloud VPN or Cloud Interconnect connection. Without having a public IP address or access to the internet, the only way you could connect to cloud storage is if you have an internal route to it.
* So Negotiate with the security team to be able to give public IP addresses to the servers is not right.
Following Google recommended practices is synonymous with using Googles services (Not quite, but it is at least for the exam !!).
* So In this VPC, create a Compute Engine instance and install the Squid proxy server on this instance is not right.
* Migrating the VM to Compute Engine is a bit drastic when Google says it is perfectly fine to have Hybrid Connectivity architectures https://cloud.google.com/hybrid-connectivity.
So,
* Use Migrate for Compute Engine (formerly known as Velostrata) to migrate these servers to Compute Engine is not right.


質問 # 57
Data Studioを使用して、BigQuery上に構築されたデータウェアハウスのテーブルを視覚化します。データは、日中にデータウェアハウスに追加されます。夜間は、テーブルを上書きして日次サマリーが再計算されます。 Data Studioのグ​​ラフが壊れていることに気づき、問題を分析したいとします。
あなたは何をするべきか?

  • A. Cloud Loggingで、DataStudioレポートのフィルターを作成します
  • B. BigQueryインターフェースを使用して、夜間のジョブを確認し、エラーを探します
  • C. Cloud Debuggerを使用して、データが正しく更新されなかった理由を確認します
  • D. クラウドコンソールの[エラーレポート]ページを確認して、エラーを見つけます。

正解:B

解説:
https://cloud.google.com/bigquery/docs/managing-jobs#view-job.
Cloud Debugger is for inspecting apps: https://cloud.google.com/debugger/docs.


質問 # 58
Cloud Identity and Access Management(Cloud IAM)の役割を外部監査人に割り当てる必要があります。監査人には、Google Cloud Platform(GCP)監査ログを確認する権限と、データアクセスログを確認する権限が必要です。あなたは何をするべきか?

  • A. 監査人にIAMロールroles / logging.privateLogViewerを割り当てます。 Cloud Storageへのログのエクスポートを実行します。
  • B. 監査人のIAMユーザーを、logging.privateLogEntries.list権限を持つカスタムロールに割り当てます。 Cloud IAMポリシーの変更についてログも確認するよう監査人に指示します。
  • C. 監査人にIAMロールroles / logging.privateLogViewerを割り当てます。 Cloud IAMポリシーの変更についてログも確認するよう監査人に指示します。
  • D. 監査人のIAMユーザーを、logging.privateLogEntries.list権限を持つカスタムロールに割り当てます。 Cloud Storageへのログのエクスポートを実行します。

正解:C

解説:
Google Cloud provides Cloud Audit Logs, which is an integral part of Cloud Logging. It consists of two log streams for each project: Admin Activity and Data Access.
Admin Activity logs contain log entries for API calls or other administrative actions that modify the configuration or metadata of resources. Admin Activity logs are always enabled. There is no charge for your Admin Activity audit logs.
Data Access logs record API calls that create, modify, or read user-provided data. Data Access audit logs are disabled by default because they can be large.
logging.viewer: The logging.viewer role gives the security admin team the ability to view the Admin Activity logs.
logging.privateLogViewer : The logging.privateLogViewer role gives the ability to view the Data Access logs.


質問 # 59
会社には、サービスプロバイダーとのSecurity Assertion Markup Language(SAML)統合をサポートするシングルサインオン(SSO)IDプロバイダーがあります。会社のCloud Identityにユーザーがいます。ユーザーに会社のSSOプロバイダーを使用して認証してもらいます。あなたは何をするべきか?

  • A. Cloud Identityで、Googleをサービスプロバイダーとして、サードパーティのIDプロバイダーを使用してSSOを設定します。
  • B. OAuth 2.0の認証情報を取得し、ユーザーの同意画面を構成し、Webサーバーアプリケーション用にOAuth 2.0を設定します。
  • C. Cloud Identityで、カスタムSAMLアプリにアクセスするためのIDプロバイダーとしてGoogleでSSOを設定します。
  • D. OAuth 2.0の認証情報を取得し、ユーザーの同意画面を構成し、モバイルアプリとデスクトップアプリ用にOAuth 2.0を設定します。

正解:A

解説:
Explanation
https://support.google.com/cloudidentity/answer/6262987?hl=en&ref_topic=7558767


質問 # 60
以下で指定したYAMLファイルを使用して、Google Kubernetes Engineクラスタ内に新しいアプリケーションをデプロイしました。

デプロイされたポッドのステータスを確認すると、ポッドの1つがまだPENDINGステータスになっていることがわかります。

ポッドが保留中の状態で止まっている理由を知りたいとします。あなたは何をするべきか?

  • A. myapp-deployment Deploymentオブジェクトの詳細を確認し、エラーメッセージを確認します。
  • B. myapp-serviceサービスオブジェクトの詳細を確認し、エラーメッセージを確認します。
  • C. myapp-deployment-58ddbbb995-lp86mポッドの詳細を確認し、警告メッセージを確認します。
  • D. myapp-deployment-58ddbbb995-lp86mポッドでコンテナーのログを表示し、警告メッセージを確認します。

正解:C

解説:
https://kubernetes.io/docs/tasks/debug-application-cluster/debug-application/#debugging-pods


質問 # 61
同じサブネットで複数のVPCネイティブのGoogleKubernetesEngineクラスターを実行しています。ノードで使用可能なIPが使い果たされているため、必要に応じてクラスターがノード内で拡張できるようにする必要があります。あなたは何をするべきか?

  • A. クラスターに関連するサブネットのCIDR範囲を展開します。
  • B. 新しいVPCを作成し、既存のVPCとのVPCピアリングを設定します。
  • C. GKEクラスターが使用するサブネットにエイリアスIP範囲を追加します。
  • D. 使用しているサブネットと同じリージョンに新しいサブネットを作成します。

正解:A

解説:
Every subnet must have a primary IP address range. You can expand the primary IP address range at any time, even when Google Cloud resources use the subnet; however, you cannot shrink or change a subnet's primary IP address scheme after the subnet has been created. The first two and last two IP addresses of a primary IP address range are reserved by Google Cloud.
https://cloud.google.com/kubernetes-engine/docs/concepts/alias-ips


質問 # 62
あなたの会社は、単一のプロジェクトに集中化された多数のGoogle Cloudサービスを使用しています。すべてのチームには、テストと開発のための特定のプロジェクトがあります。 DevOpsチームは、ジョブを実行するためにすべての本番サービスにアクセスする必要があります。今後、Google Cloud製品の変更によって権限が拡大するのを防ぐ必要があります。 Googleが推奨するプラクティスに従いたい。あなたは何をするべきか?

  • A. DevOpsチームのすべてのメンバーに、本番プロジェクトでのプロジェクト編集者の役割を付与します。
  • B. DevOpsチームのすべてのメンバーに、組織レベルでのプロジェクト編集者の役割を付与します。
  • C. 必要な権限を組み合わせたカスタムの役割を作成します。 DevOpsチームに本番プロジェクトでのカスタムの役割を付与します。
  • D. 必要な権限を組み合わせたカスタムの役割を作成します。 DevOpsチームに組織レベルでのカスタムの役割を付与します。

正解:D

解説:
Explanation
Understanding IAM custom roles
Key Point: Custom roles enable you to enforce the principle of least privilege, ensuring that the user and service accounts in your organization have only the permissions essential to performing their intended functions.
Basic concepts
Custom roles are user-defined, and allow you to bundle one or more supported permissions to meet your specific needs. Custom roles are not maintained by Google; when new permissions, features, or services are added to Google Cloud, your custom roles will not be updated automatically.
When you create a custom role, you must choose an organization or project to create it in. You can then grant the custom role on the organization or project, as well as any resources within that organization or project.
https://cloud.google.com/iam/docs/understanding-custom-roles#basic_concepts


質問 # 63
コンテナーイメージにパッケージ化されているアプリケーションを新しいプロジェクトにデプロイする必要があります。アプリケーションはHTTPエンドポイントを公開し、1日あたりのリクエストをほとんど受信しません。コストを最小限に抑えたい。あなたは何をするべきか?

  • A. Cloud Run on GKEにコンテナをデプロイします。
  • B. コンテナーをCloud Runにデプロイします。
  • C. App Engineフレキシブルにコンテナをデプロイします。
  • D. クラスターをGoogle Kubernetes Engineにデプロイし、クラスターの自動スケーリングと水平ポッドの自動スケーリングを有効にします。

正解:B


質問 # 64
新しい請求先アカウントを作成し、それを既存のGoogle Cloud Platformプロジェクトにリンクする必要があります。あなたは何をするべきか?

  • A. GCPプロジェクトのプロジェクト請求マネージャーであることを確認します。新しい請求先アカウントを作成し、新しい請求先アカウントを既存のプロジェクトにリンクします。
  • B. 請求先アカウントの課金管理者であることを確認します。既存のプロジェクトを更新して、既存の請求先アカウントにリンクします。
  • C. GCPプロジェクトのプロジェクト請求マネージャーであることを確認します。既存のプロジェクトを更新して、既存の請求先アカウントにリンクします。
  • D. 請求先アカウントの課金管理者であることを確認します。新しいプロジェクトを作成し、新しいプロジェクトを既存の請求先アカウントにリンクします。

正解:C

解説:
Both the roles cannot create a new billing account.
So we assume the account is already created.
Now we have to attached existing project to existing account. So it could not be B and C as they want roles to create new account which is not possible.
Both A & D are confusing because the Project Billing Manager can link & unlink a project from a billing account while a Billing Account Admin can link & unlink projects while managing user roles on the billing account. I'd go with A because option D refers to a Billing Admin and there's nothing like a Billing Admin only a Billing Account Admin.
https://cloud.google.com/billing/docs/how-to/billing-access


質問 # 65
us-central1-a の Compute Engine 仮想マシン (VM) からアプリケーションをホストしています。設計を調整して、単一の Compute Engine ゾーンの障害をサポートし、ダウンタイムをなくしてコストを最小限に抑えたいと考えています。あなたは何をするべきか?

  • A. - us-central1-b に Compute Engine リソースを作成します。
    - us-central1-a と us-central1-b の両方で負荷を分散します。
  • B. - マネージド インスタンス グループを作成し、us-central1-a をゾーンとして指定します。
    - 短いヘルス インターバルでヘルス チェックを構成します。
  • C. - アプリケーションの定期的なバックアップを実行します。
    - Cloud Monitoring アラートを作成し、アプリケーションが利用できなくなった場合に通知を受けます。
  • D. - HTTP(S) ロード バランサーを作成します。
    - 1 つ以上のグローバル転送ルールを作成して、トラフィックを VM に転送します。

正解:D

解説:
- Restore from backups when notified.


質問 # 66
管理対象インスタンスグループは、新しいインスタンスの作成が新しいインスタンスの作成に失敗したことを示すアラートを発生させました。予想されるアプリケーショントラフィックを処理できるようにするには、テンプレートで指定された実行中のインスタンスの数を維持する必要があります。あなたは何をするべきか?

  • A. 現在のインスタンステンプレートを削除し、新しいインスタンステンプレートに置き換えます。インスタンス名と永続ディスク名の値がテンプレートで同じでないことを確認します。インスタンステンプレートで、disks.autoDeleteプロパティをtrueに設定します。
  • B. インスタンスグループで使用される有効な構文を含むインスタンステンプレートを作成します。インスタンス名と永続ディスク名の値がテンプレートで同じでないことを確認します。
  • C. インスタンスグループで使用される有効な構文を含むインスタンステンプレートを作成します。インスタンス名と同じ名前の永続ディスクを削除します。
  • D. インスタンスグループで使用されているインスタンステンプレートに有効な構文が含まれていることを確認します。インスタンス名と同じ名前の永続ディスクを削除します。インスタンステンプレートで、disks.autoDeleteプロパティをtrueに設定します。

正解:A

解説:
https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-migs
https://cloud.google.com/compute/docs/instance-templates#how_to_update_instance_templates


質問 # 67
組織には、Google Cloudプロジェクトのすべてのサービスアカウントを作成および管理する専任の担当者がいます。この人にプロジェクトの最低限の役割を割り当てる必要があります。あなたは何をするべきか?

  • A. Add the user to roles/iam.serviceAccountUser role.
  • B. Add the user to roles/iam.roleAdmin role.
  • C. Add the user to roles/iam.securityAdmin role.
  • D. Add the user to roles/iam.serviceAccountAdmin role.

正解:D

解説:
Reference:
Service Account User (roles/iam.serviceAccountUser): Includes permissions to list service accounts, get details about a service account, and impersonate a service account. Service Account Admin (roles/iam.serviceAccountAdmin): Includes permissions to list service accounts and get details about a service account. Also includes permissions to create, update, and delete service accounts, and to view or change the IAM policy on a service account.


質問 # 68
Cloud Storageバケットにデータをアーカイブするソリューションを構成する必要があります。ソリューションは費用効果が高くなければなりません。複数のバージョンのデータは30日後にアーカイブする必要があります。以前のバージョンは、レポートのために月に1回アクセスされます。このアーカイブデータは、月末に時々更新されます。あなたは何をするべきか?

  • A. Add a bucket lifecycle rule that archives data with newer versions after 30 days to Nearline Storage.
  • B. Add a bucket lifecycle rule that archives data from regional storage after 30 days to Nearline Storage.
  • C. Add a bucket lifecycle rule that archives data with newer versions after 30 days to Coldline Storage.
  • D. Add a bucket lifecycle rule that archives data from regional storage after 30 days to Coldline Storage.

正解:A

解説:
NumberOfNewerVersions
The NumberOfNewerVersions condition is typically only used in conjunction with Object Versioning. If the value of this condition is set to N, an object version satisfies the condition when there are at least N versions (including the live version) newer than it. For a live object version, the number of newer versions is considered to be 0. For the most recent noncurrent version, the number of newer versions is 1 (or 0 if there is no live object version), and so on.
Important: When specifying this condition in a .json configuration file, you must use numNewerVersions instead of NumberOfNewerVersions.
https://cloud.google.com/storage/docs/lifecycle#numberofnewerversions


質問 # 69
コンテナーイメージにパッケージ化されているアプリケーションを新しいプロジェクトにデプロイする必要があります。アプリケーションはHTTPエンドポイントを公開し、1日あたりのリクエストをほとんど受信しません。コストを最小限に抑えたい。あなたは何をするべきか?

  • A. Cloud Run on GKEにコンテナをデプロイします。
  • B. コンテナーをCloud Runにデプロイします。
  • C. App Engineフレキシブルにコンテナをデプロイします。
  • D. クラスターをGoogle Kubernetes Engineにデプロイし、クラスターの自動スケーリングと水平ポッドの自動スケーリングを有効にします。

正解:B

解説:
Explanation
Cloud Run takes any container images and pairs great with the container ecosystem: Cloud Build, Artifact Registry, Docker. ... No infrastructure to manage: once deployed, Cloud Run manages your services so you can sleep well. Fast autoscaling. Cloud Run automatically scales up or down from zero to N depending on traffic.
https://cloud.google.com/run


質問 # 70
ComputeEngineに複数のLinuxインスタンスをデプロイしました。今後数週間でインスタンスを追加する予定です。既存および新規のインスタンスに特定のアクセスを構成することなく、インターネット経由でSSHクライアントを介してこれらすべてのインスタンスにアクセスできるようにする必要があります。 ComputeEngineインスタンスにパブリックIPを持たせたくありません。あなたは何をするべきか?

  • A. Cloud Identity-Aware Proxy(またはHTTPSリソース)を構成します
  • B. SSHキーペアを作成し、秘密キーをプロジェクト全体のSSHキーとして保存します
  • C. SSHおよびTCPリソース用にCloudIdentity-AwareProxyを構成します。
  • D. SSHキーペアを作成し、公開キーをプロジェクト全体のSSHキーとして保存します

正解:C

解説:
https://cloud.google.com/iap/docs/using-tcp-forwarding


質問 # 71
自動スケーリングが有効なGoogle Kubernetes Engineを使用して、新しいアプリケーションをホストしています。パブリックIPアドレスでHTTPSを使用して、この新しいアプリケーションをパブリックに公開したいとします。あなたは何をするべきか?

  • A. アプリケーションにClusterIPタイプのKubernetesサービスを作成します。このサービスのIPを使用して、アプリケーションのパブリックDNS名を構成します。
  • B. クラスターにHAProxyポッドを作成して、アプリケーションのすべてのポッドへのトラフィックの負荷を分散します。 iptableルールを使用してパブリックトラフィックをHAProxyに転送します。 HAProxyが実行されているノードのパブリックIPを使用して、アプリケーションのDNS名を構成します。
  • C. アプリケーション用にNodePortタイプのKubernetesサービスを作成し、Kubernetes Ingressを作成してCloud Load Balancerを介してこのサービスを公開します。
  • D. NodePortタイプのKubernetesサービスを作成して、Kubernetesクラスターの各ノードのポート443でアプリケーションを公開します。アプリケーションのパブリックDNS名をクラスターのすべてのノードのIPで構成して、負荷分散を実現します。

正解:C

解説:
Reference:
Create a Kubernetes Service of type ClusterIP for your application. Configure the public DNS name of your application using the IP of this Service. is not right.
Kubernetes Service of type ClusterIP exposes the Service on a cluster-internal IP. Choosing this value makes the Service only reachable from within the cluster so you can not route external traffic to this IP.
Ref: https://kubernetes.io/docs/concepts/services-networking/service/


質問 # 72
......

試験問題解答ブレーン問題集でAssociate-Cloud-Engineer日本語試験問題集PDF問題:https://jp.fast2test.com/Associate-Cloud-Engineer-JPN-premium-file.html


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어