Google Professional Cloud デベロッパーのネットワーキングと接続Google Professional Cloud Developer Networking and Connectivity

負荷分散、VPC アクセス、NAT、DNS、CDN、ファイアウォール、VPN、相互接続、ネットワーク露出制御などの VPC およびアプリケーション接続の選択に使用します。Use for VPC and application connectivity choices such as load balancing, VPC access, NAT, DNS, CDN, firewalls, VPN, interconnect, and network exposure controls.

試験Exams
PROFESSIONAL-CLOUD-DEVELOPER
問題数Questions
31
コメント数Comments
248
1 31

表示中 31 / 31 問

1. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 41. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 4

問題Question

以下に示す gcloud コマンドを使用して HTTP(s) ロード バランサをデプロイしました。
image
Compute Engine 仮想マシン インスタンスのポート 80 へのヘルスチェックが失敗し、インスタンスにトラフィックが送信されません。あなたは問題を解決したいと考えています。
どのコマンドを実行すればよいでしょうか?

  • A. gcloud compute インスタンス add-access-config ${NAME}-backend-instance-1
  • B. gcloud compute インスタンス add-tags ${NAME}-backend-instance-1 --tags http-server
  • C. gcloud compute firewall-rules createallow-lb --network load-balancer --allow tcp --source-ranges 130.211.0.0/22,35.191.0.0/16 --direction INGRESS
  • D. gcloud compute firewall-rules createallow-lb --network load-balancer --allow tcp --destination-ranges 130.211.0.0/22,35.191.0.0/16 --direction EGRESS

You have deployed an HTTP(s) Load Balancer with the gcloud commands shown below.
image
Health checks to port 80 on the Compute Engine virtual machine instance are failing and no traffic is sent to your instances. You want to resolve the problem.
Which commands should you run?

  • A. gcloud compute instances add-access-config ${NAME}-backend-instance-1
  • B. gcloud compute instances add-tags ${NAME}-backend-instance-1 --tags http-server
  • C. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --source-ranges 130.211.0.0/22,35.191.0.0/16 --direction INGRESS
  • D. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --destination-ranges 130.211.0.0/22,35.191.0.0/16 --direction EGRESS

2. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 312. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 31

問題Question

運用中のアプリケーションがあります。これは、マネージド インスタンス グループによって制御される Compute Engine 仮想マシン インスタンスにデプロイされます。トラフィックは HTTP(s) ロード バランサ経由でインスタンスにルーティングされます。ユーザーはアプリケーションにアクセスできません。アプリケーションが利用できない場合に警告を発する監視手法を実装したいと考えています。
どのテクニックを選択すればよいでしょうか?

  • A. 煙テスト
  • B. Stackdriver 稼働時間チェック
  • C. クラウド負荷分散 - 健全性チェック
  • D. マネージド インスタンス グループ - 健全性チェック

You have an application in production. It is deployed on Compute Engine virtual machine instances controlled by a managed instance group. Traffic is routed to the instances via a HTTP(s) load balancer. Your users are unable to access your application. You want to implement a monitoring technique to alert you when the application is unavailable.
Which technique should you choose?

  • A. Smoke tests
  • B. Stackdriver uptime checks
  • C. Cloud Load Balancing - heath checks
  • D. Managed instance group - heath checks

3. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 343. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 34

問題Question

Compute Engine 仮想マシン インスタンスでホストされる HTTP API を開発しているとします。この API は、同じ仮想マシン内の複数のクライアントによって呼び出される必要があります。
プライベート クラウド (VPC)。クライアントがサービスの IP アドレスを取得できるようにしたいとします。
どうすればいいでしょうか?

  • A. 静的外部 IP アドレスを予約し、それを HTTP(S) ロード バランシング サービスの転送ルールに割り当てます。クライアントは、この IP アドレスを使用してサービスに接続する必要があります。
  • B. 静的外部 IP アドレスを予約し、それを HTTP(S) ロード バランシング サービスの転送ルールに割り当てます。次に、Cloud DNS で A レコードを定義します。クライアントは、A レコードの名前を使用してサービスに接続する必要があります。
  • C. URL https://[INSTANCE_NAME].[ZONE].c でインスタンス名に接続することで、クライアントが Compute Engine の内部 DNS を使用していることを確認します。 [プロジェクト_ID].internal/.
  • D. URL https://[API_NAME]/[API_VERSION]/ でインスタンス名に接続することで、クライアントが Compute Engine の内部 DNS を使用していることを確認します。

You are developing an HTTP API hosted on a Compute Engine virtual machine instance that needs to be invoked by multiple clients within the same Virtual
Private Cloud (VPC). You want clients to be able to get the IP address of the service.
What should you do?

  • A. Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule. Clients should use this IP address to connect to the service.
  • B. Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule. Then, define an A record in Cloud DNS. Clients should use the name of the A record to connect to the service.
  • C. Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[INSTANCE_NAME].[ZONE].c. [PROJECT_ID].internal/.
  • D. Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[API_NAME]/[API_VERSION]/.

4. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 454. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 45

問題Question

ケーススタディ -
これはケーススタディです。ケーススタディは個別に時間が設定されるわけではありません。各ケースを完了したいだけ試験時間を費やすことができます。ただし、この試験には追加のケーススタディやセクションが存在する場合があります。この試験に含まれるすべての質問を指定された時間内に完了できるように時間を管理する必要があります。
ケーススタディに含まれる質問に答えるには、ケーススタディで提供される情報を参照する必要があります。ケース スタディには、ケース スタディで説明されているシナリオに関する詳細情報を提供する展示やその他のリソースが含まれる場合があります。このケーススタディでは、各質問は他の質問から独立しています。
このケーススタディの最後に、レビュー画面が表示されます。この画面では、試験の次のセクションに進む前に、回答を確認し、変更を加えることができます。新しいセクションを開始した後は、このセクションに戻ることはできません。

ケーススタディを開始するには -
このケーススタディの最初の質問を表示するには、「次へ」ボタンをクリックします。質問に答える前に、左側のペインのボタンを使用してケーススタディの内容を調べてください。これらのボタンをクリックすると、ビジネス要件、既存の環境、問題の説明などの情報が表示されます。ケーススタディに
[すべての情報] タブでは、表示される情報が後続のタブに表示される情報と同じであることに注意してください。質問に答える準備ができたら、「質問」ボタンをクリックして質問に戻ります。

会社概要 -
HipLocal は、近くにいる人々の間のコミュニケーションを促進するように設計されたコミュニティ アプリケーションです。スポーツイベントの企画や開催、企業が地域社会とつながるために利用されています。 HipLocal は最近ダラスのいくつかの地域でサービスを開始し、急速に世界的な現象に成長しています。ハイパーローカルなコミュニティコミュニケーションとビジネスアウトリーチのユニークなスタイルは、世界中で需要があります。

エグゼクティブステートメント -
私たちはナンバーワンのローカルコミュニティアプリです。地域コミュニティ サービスをグローバルに展開する時が来ました。私たちのベンチャー キャピタルの投資家は、メンバーが互いに 10 マイルまたは 10,000 マイル離れていても、急速な成長と、オンラインになる新しいローカル コミュニティや仮想コミュニティに同様の素晴らしい体験を提供したいと考えています。

ソリューションコンセプト -
HipLocal は、世界中の顧客により良いサービスを提供するために、最新の機能を備えた既存のサービスを新しい地域で拡張したいと考えています。彼らは、これらの地域をタイムゾーンでサポートするための新しいチームを雇用してトレーニングしたいと考えています。アプリケーションがスムーズに拡張され、明確な稼働時間データが提供されることを確認する必要があります。

既存の技術環境 -
HipLocal の環境は、オンプレミスのハードウェアと Google Cloud Platform で実行されるインフラストラクチャが混在しています。 HipLocal チームはアプリケーションをよく理解していますが、世界規模のアプリケーションの経験は限られています。現在の技術環境は次のとおりです。
* 既存の API は、GCP でホストされている Compute Engine 仮想マシン インスタンス上で実行されます。
* 状態は GCP の単一インスタンスの MySQL データベースに保存されます。
* データはオンプレミスの Teradata/Vertica データ ウェアハウスにエクスポートされます。
* データ分析はオンプレミスの Hadoop 環境で実行されます。
※アプリケーションにはログ記録がありません。
* 稼働時間の基本的な指標があります。 API が応答しない場合、アラートが頻繁に発生します。

ビジネス要件 -
HipLocal の投資家は、事業展開を拡大し、見られる需要の増加をサポートしたいと考えています。彼らの要件は次のとおりです。
* アプリケーションの利用可能性を新しい地域に拡大します。
* サポートできる同時ユーザー数を増やします。
* ユーザーが異なる地域に旅行する場合でも、一貫したエクスペリエンスを確保します。
* ユーザーのアクティビティ指標を取得して、製品を収益化する方法をより深く理解します。
* 新しい地域の規制 (GDPR など) への準拠を確保します。
* インフラストラクチャ管理の時間とコストを削減します。
* Google が推奨するクラウド コンピューティングのプラクティスを採用します。

技術的要件 -
* アプリケーションとバックエンドは、使用状況のメトリクスとモニタリングを提供する必要があります。
* API には強力な認証と認可が必要です。
* ログ記録を増やし、データをクラウド分析プラットフォームに保存する必要があります。
* 柔軟なスケーリングを容易にするためにサーバーレス アーキテクチャに移行します。
* 安全な方法で内部アプリへの承認されたアクセスを提供します。
HipLocal は、永続ディスクに保存されているデータをクエリするために、Cloud Interconnect を使用して Hadoop インフラストラクチャを GCP に接続しました。
どの知財戦略を採用すべきでしょうか?

  • A. 手動サブネットを作成します。
  • B. 自動モードのサブネットを作成します。
  • C. 複数のピア VPC を作成します。
  • D. NAT 用に単一のインスタンスをプロビジョニングします。

Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.

To start the case study -
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an
All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Company Overview -
HipLocal is a community application designed to facilitate communication between people in close proximity. It is used for event planning and organizing sporting events, and for businesses to connect with their local communities. HipLocal launched recently in a few neighborhoods in Dallas and is rapidly growing into a global phenomenon. Its unique style of hyper-local community communication and business outreach is in demand around the world.

Executive Statement -
We are the number one local community app; it's time to take our local community services global. Our venture capital investors want to see rapid growth and the same great experience for new local and virtual communities that come online, whether their members are 10 or 10000 miles away from each other.

Solution Concept -
HipLocal wants to expand their existing service, with updated functionality, in new regions to better serve their global customers. They want to hire and train a new team to support these regions in their time zones. They will need to ensure that the application scales smoothly and provides clear uptime data.

Existing Technical Environment -
HipLocal's environment is a mix of on-premises hardware and infrastructure running in Google Cloud Platform. The HipLocal team understands their application well, but has limited experience in global scale applications. Their existing technical environment is as follows:
* Existing APIs run on Compute Engine virtual machine instances hosted in GCP.
* State is stored in a single instance MySQL database in GCP.
* Data is exported to an on-premises Teradata/Vertica data warehouse.
* Data analytics is performed in an on-premises Hadoop environment.
* The application has no logging.
* There are basic indicators of uptime; alerts are frequently fired when the APIs are unresponsive.

Business Requirements -
HipLocal's investors want to expand their footprint and support the increase in demand they are seeing. Their requirements are:
* Expand availability of the application to new regions.
* Increase the number of concurrent users that can be supported.
* Ensure a consistent experience for users when they travel to different regions.
* Obtain user activity metrics to better understand how to monetize their product.
* Ensure compliance with regulations in the new regions (for example, GDPR).
* Reduce infrastructure management time and cost.
* Adopt the Google-recommended practices for cloud computing.

Technical Requirements -
* The application and backend must provide usage metrics and monitoring.
* APIs require strong authentication and authorization.
* Logging must be increased, and data should be stored in a cloud analytics platform.
* Move to serverless architecture to facilitate elastic scaling.
* Provide authorized access to internal apps in a secure manner.
HipLocal has connected their Hadoop infrastructure to GCP using Cloud Interconnect in order to query data stored on persistent disks.
Which IP strategy should they use?

  • A. Create manual subnets.
  • B. Create an auto mode subnet.
  • C. Create multiple peered VPCs.
  • D. Provision a single instance for NAT.

5. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 705. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 70

問題Question

アプリケーションは Google Kubernetes Engine (GKE) クラスターにデプロイされます。このアプリケーションを Cloud Load Balancing HTTP(S) ロードバランサの背後で公開したいと考えています。
どうすればいいでしょうか?

  • A. GKE Ingress リソースを構成します。
  • B. GKE サービス リソースを構成します。
  • C. GKE Ingress リソースをタイプ: LoadBalancer で構成します。
  • D. GKE サービス リソースをタイプ: LoadBalancer で構成します。

Your application is deployed in a Google Kubernetes Engine (GKE) cluster. You want to expose this application publicly behind a Cloud Load Balancing HTTP(S) load balancer.
What should you do?

  • A. Configure a GKE Ingress resource.
  • B. Configure a GKE Service resource.
  • C. Configure a GKE Ingress resource with type: LoadBalancer.
  • D. Configure a GKE Service resource with type: LoadBalancer.

6. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 786. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 78

問題Question

あなたは Compute Engine 上で財務部門向けの企業ツールを開発しています。このツールでは、ユーザーを認証し、ユーザーが財務部門に所属していることを確認する必要があります。同社の従業員は全員 G Suite を使用しています。
どうすればいいでしょうか?

  • A. HTTP(s) ロードバランサで Cloud Identity-Aware Proxy を有効にし、財務部門のユーザーを含む Google グループへのアクセスを制限します。アプリケーション内で提供された JSON Web トークンを確認します。
  • B. HTTP(s) ロードバランサで Cloud Identity-Aware Proxy を有効にし、財務部門のユーザーを含む Google グループへのアクセスを制限します。クライアント側の証明書を財務チームの全員に発行し、アプリケーションで証明書を検証します。
  • C. Cloud Armor セキュリティ ポリシーを構成して、企業 IP アドレス範囲のみへのアクセスを制限します。アプリケーション内で提供された JSON Web トークンを確認します。
  • D. Cloud Armor セキュリティ ポリシーを構成して、企業 IP アドレス範囲のみへのアクセスを制限します。クライアント側の証明書を財務チームの全員に発行し、アプリケーションで証明書を検証します。

You are developing a corporate tool on Compute Engine for the finance department, which needs to authenticate users and verify that they are in the finance department. All company employees use G Suite.
What should you do?

  • A. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Verify the provided JSON Web Token within the application.
  • B. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Issue client-side certificates to everybody in the finance team and verify the certificates in the application.
  • C. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Verify the provided JSON Web Token within the application.
  • D. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Issue client side certificates to everybody in the finance team and verify the certificates in the application.

7. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 827. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 82

問題Question

ケーススタディ -
これはケーススタディです。ケーススタディは個別に時間が設定されるわけではありません。各ケースを完了したいだけ試験時間を費やすことができます。ただし、この試験には追加のケーススタディやセクションが存在する場合があります。この試験に含まれるすべての質問を指定された時間内に完了できるように時間を管理する必要があります。
ケーススタディに含まれる質問に答えるには、ケーススタディで提供される情報を参照する必要があります。ケース スタディには、ケース スタディで説明されているシナリオに関する詳細情報を提供する展示やその他のリソースが含まれる場合があります。このケーススタディでは、各質問は他の質問から独立しています。
このケーススタディの最後に、レビュー画面が表示されます。この画面では、試験の次のセクションに進む前に、回答を確認し、変更を加えることができます。新しいセクションを開始した後は、このセクションに戻ることはできません。

ケーススタディを開始するには -
このケーススタディの最初の質問を表示するには、「次へ」ボタンをクリックします。質問に答える前に、左側のペインのボタンを使用してケーススタディの内容を調べてください。これらのボタンをクリックすると、ビジネス要件、既存の環境、問題の説明などの情報が表示されます。ケーススタディに
[すべての情報] タブでは、表示される情報が後続のタブに表示される情報と同じであることに注意してください。質問に答える準備ができたら、「質問」ボタンをクリックして質問に戻ります。

会社概要 -
HipLocal は、近くにいる人々の間のコミュニケーションを促進するように設計されたコミュニティ アプリケーションです。スポーツイベントの企画や開催、企業が地域社会とつながるために利用されています。 HipLocal は最近ダラスのいくつかの地域でサービスを開始し、急速に世界的な現象に成長しています。ハイパーローカルなコミュニティコミュニケーションとビジネスアウトリーチのユニークなスタイルは、世界中で需要があります。

エグゼクティブステートメント -
私たちはナンバーワンのローカルコミュニティアプリです。地域コミュニティ サービスをグローバルに展開する時が来ました。私たちのベンチャー キャピタルの投資家は、メンバーが互いに 10 マイルまたは 10,000 マイル離れていても、急速な成長と、オンラインになる新しいローカル コミュニティや仮想コミュニティに同様の素晴らしい体験を提供したいと考えています。

ソリューションコンセプト -
HipLocal は、世界中の顧客により良いサービスを提供するために、最新の機能を備えた既存のサービスを新しい地域で拡張したいと考えています。彼らは、これらの地域をタイムゾーンでサポートするための新しいチームを雇用してトレーニングしたいと考えています。アプリケーションがスムーズに拡張され、明確な稼働時間データが提供されることを確認する必要があります。

既存の技術環境 -
HipLocal の環境は、オンプレミスのハードウェアと Google Cloud Platform で実行されるインフラストラクチャが混在しています。 HipLocal チームはアプリケーションをよく理解していますが、世界規模のアプリケーションの経験は限られています。現在の技術環境は次のとおりです。
* 既存の API は、GCP でホストされている Compute Engine 仮想マシン インスタンス上で実行されます。
* 状態は GCP の単一インスタンスの MySQL データベースに保存されます。
* データはオンプレミスの Teradata/Vertica データ ウェアハウスにエクスポートされます。
* データ分析はオンプレミスの Hadoop 環境で実行されます。
※アプリケーションにはログ記録がありません。
* 稼働時間の基本的な指標があります。 API が応答しない場合、アラートが頻繁に発生します。

ビジネス要件 -
HipLocal の投資家は、事業展開を拡大し、見られる需要の増加をサポートしたいと考えています。彼らの要件は次のとおりです。
* アプリケーションの利用可能性を新しい地域に拡大します。
* サポートできる同時ユーザー数を増やします。
* ユーザーが異なる地域に旅行する場合でも、一貫したエクスペリエンスを確保します。
* ユーザーのアクティビティ指標を取得して、製品を収益化する方法をより深く理解します。
* 新しい地域の規制 (GDPR など) への準拠を確保します。
* インフラストラクチャ管理の時間とコストを削減します。
* Google が推奨するクラウド コンピューティングのプラクティスを採用します。

技術的要件 -
* アプリケーションとバックエンドは、使用状況のメトリクスとモニタリングを提供する必要があります。
* API には強力な認証と認可が必要です。
* ログ記録を増やし、データをクラウド分析プラットフォームに保存する必要があります。
* 柔軟なスケーリングを容易にするためにサーバーレス アーキテクチャに移行します。
* 安全な方法で内部アプリへの承認されたアクセスを提供します。
HipLocal のデータ サイエンス チームは、ユーザー レビューを分析したいと考えています。
データはどのように準備すればよいのでしょうか?

  • A. レビュー データセットの編集には Cloud Data Loss Prevention API を使用します。
  • B. レビュー データセットの匿名化には Cloud Data Loss Prevention API を使用します。
  • C. レビュー データセットの編集には Cloud Natural Language Processing API を使用します。
  • D. レビュー データセットの匿名化には Cloud Natural Language Processing API を使用します。

Case study -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.

To start the case study -
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an
All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Company Overview -
HipLocal is a community application designed to facilitate communication between people in close proximity. It is used for event planning and organizing sporting events, and for businesses to connect with their local communities. HipLocal launched recently in a few neighborhoods in Dallas and is rapidly growing into a global phenomenon. Its unique style of hyper-local community communication and business outreach is in demand around the world.

Executive Statement -
We are the number one local community app; it's time to take our local community services global. Our venture capital investors want to see rapid growth and the same great experience for new local and virtual communities that come online, whether their members are 10 or 10000 miles away from each other.

Solution Concept -
HipLocal wants to expand their existing service, with updated functionality, in new regions to better serve their global customers. They want to hire and train a new team to support these regions in their time zones. They will need to ensure that the application scales smoothly and provides clear uptime data.

Existing Technical Environment -
HipLocal's environment is a mix of on-premises hardware and infrastructure running in Google Cloud Platform. The HipLocal team understands their application well, but has limited experience in global scale applications. Their existing technical environment is as follows:
* Existing APIs run on Compute Engine virtual machine instances hosted in GCP.
* State is stored in a single instance MySQL database in GCP.
* Data is exported to an on-premises Teradata/Vertica data warehouse.
* Data analytics is performed in an on-premises Hadoop environment.
* The application has no logging.
* There are basic indicators of uptime; alerts are frequently fired when the APIs are unresponsive.

Business Requirements -
HipLocal's investors want to expand their footprint and support the increase in demand they are seeing. Their requirements are:
* Expand availability of the application to new regions.
* Increase the number of concurrent users that can be supported.
* Ensure a consistent experience for users when they travel to different regions.
* Obtain user activity metrics to better understand how to monetize their product.
* Ensure compliance with regulations in the new regions (for example, GDPR).
* Reduce infrastructure management time and cost.
* Adopt the Google-recommended practices for cloud computing.

Technical Requirements -
* The application and backend must provide usage metrics and monitoring.
* APIs require strong authentication and authorization.
* Logging must be increased, and data should be stored in a cloud analytics platform.
* Move to serverless architecture to facilitate elastic scaling.
* Provide authorized access to internal apps in a secure manner.
HipLocal's data science team wants to analyze user reviews.
How should they prepare the data?

  • A. Use the Cloud Data Loss Prevention API for redaction of the review dataset.
  • B. Use the Cloud Data Loss Prevention API for de-identification of the review dataset.
  • C. Use the Cloud Natural Language Processing API for redaction of the review dataset.
  • D. Use the Cloud Natural Language Processing API for de-identification of the review dataset.

8. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 948. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 94

問題Question

トラフィックの大幅な増加に対応できるように、認証サービスからの監査イベントの取り込みを再設計する必要があります。現在、監査サービスと認証システムは同じ Compute Engine 仮想マシンで実行されています。新しいアーキテクチャでは次の Google Cloud ツールを使用する予定です。
✑ 複数の Compute Engine マシン。それぞれが認証サービスのインスタンスを実行します。
✑ 複数の Compute Engine マシン。それぞれが監査サービスのインスタンスを実行します。
✑ 認証サービスからイベントを送信するための Pub/Sub。
システムが大量のメッセージを処理し、効率的に拡張できるようにするには、トピックとサブスクリプションをどのように設定すればよいでしょうか?

  • A. Pub/Sub トピックを 1 つ作成します。 1 つのプル サブスクリプションを作成して、監査サービスがメッセージを共有できるようにします。
  • B. Pub/Sub トピックを 1 つ作成します。監査サービス インスタンスごとに 1 つのプル サブスクリプションを作成して、サービスがメッセージを共有できるようにします。
  • C. Pub/Sub トピックを 1 つ作成します。監査サービスの前にあるロード バランサーを指すエンドポイントを使用して、プッシュ サブスクリプションを 1 つ作成します。
  • D. 認証サービスごとに 1 つの Pub/Sub トピックを作成します。 1 つの監査サービスで使用されるトピックごとに 1 つのプル サブスクリプションを作成します。
  • E. 認証サービスごとに 1 つの Pub/Sub トピックを作成します。エンドポイントが 1 つの監査サービスを指すように、トピックごとに 1 つのプッシュ サブスクリプションを作成します。

You need to redesign the ingestion of audit events from your authentication service to allow it to handle a large increase in traffic. Currently, the audit service and the authentication system run in the same Compute Engine virtual machine. You plan to use the following Google Cloud tools in the new architecture:
✑ Multiple Compute Engine machines, each running an instance of the authentication service
✑ Multiple Compute Engine machines, each running an instance of the audit service
✑ Pub/Sub to send the events from the authentication services.
How should you set up the topics and subscriptions to ensure that the system can handle a large volume of messages and can scale efficiently?

  • A. Create one Pub/Sub topic. Create one pull subscription to allow the audit services to share the messages.
  • B. Create one Pub/Sub topic. Create one pull subscription per audit service instance to allow the services to share the messages.
  • C. Create one Pub/Sub topic. Create one push subscription with the endpoint pointing to a load balancer in front of the audit services.
  • D. Create one Pub/Sub topic per authentication service. Create one pull subscription per topic to be used by one audit service.
  • E. Create one Pub/Sub topic per authentication service. Create one push subscription per topic, with the endpoint pointing to one audit service.

9. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 999. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 99

問題Question

あなたは、従業員が社内でコミュニティ イベントを開催できるようにする内部アプリケーションを開発しています。アプリケーションを単一の Compute Engine インスタンスにデプロイしました。あなたの会社は Google Workspace (旧 G Suite) を使用しており、会社の従業員がどこからでもアプリケーションに対して認証できるようにする必要があります。どうすればいいでしょうか?

  • A. パブリック IP アドレスをインスタンスに追加し、ファイアウォール ルールを使用してインスタンスへのアクセスを制限します。会社のプロキシを唯一の送信元 IP アドレスとして許可します。
  • B. インスタンスの前に HTTP(S) ロード バランサを追加し、Identity-Aware Proxy (IAP) を設定します。会社のドメインが Web サイトにアクセスできるように IAP 設定を構成します。
  • C. 企業ネットワークと Google Cloud 上のインスタンスの VPC ロケーションの間に VPN トンネルを設定します。必要なファイアウォール ルールと、オンプレミス ネットワークと Google Cloud ネットワークの両方へのルーティング情報を構成します。
  • D. インスタンスにパブリック IP アドレスを追加し、インターネットからのトラフィックを許可します。ランダムなハッシュを生成し、このハッシュを含み、インスタンスを指すサブドメインを作成します。この DNS アドレスを会社の従業員に配布します。

You are developing an internal application that will allow employees to organize community events within your company. You deployed your application on a single Compute Engine instance. Your company uses Google Workspace (formerly G Suite), and you need to ensure that the company employees can authenticate to the application from anywhere. What should you do?

  • A. Add a public IP address to your instance, and restrict access to the instance using firewall rules. Allow your company's proxy as the only source IP address.
  • B. Add an HTTP(S) load balancer in front of the instance, and set up Identity-Aware Proxy (IAP). Configure the IAP settings to allow your company domain to access the website.
  • C. Set up a VPN tunnel between your company network and your instance's VPC location on Google Cloud. Configure the required firewall rules and routing information to both the on-premises and Google Cloud networks.
  • D. Add a public IP address to your instance, and allow traffic from the internet. Generate a random hash, and create a subdomain that includes this hash and points to your instance. Distribute this DNS address to your company's employees.

10. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 10110. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 101

問題Question

あなたは、HTTP と HTTPS の両方でアクセスでき、Compute Engine インスタンス上で実行されるウェブ アプリケーションを開発しています。場合によっては、アプリのメンテナンスを行うために、リモート ラップトップから Compute Engine インスタンスの 1 つに SSH 接続する必要があります。 Google が推奨するベスト プラクティスに従ってインスタンスを構成するにはどうすればよいですか?

  • A. TCP プロキシ ロードバランサの背後にプライベート IP アドレスを持つ Compute Engine ウェブサーバー インスタンスを使用してバックエンドを設定します。
  • B. すべての上りトラフィックが Compute Engine ウェブサーバーに接続できるようにファイアウォール ルールを構成し、各サーバーに一意の外部 IP アドレスを割り当てます。
  • C. SSH アクセス用に Cloud Identity-Aware Proxy API を構成します。次に、アプリケーション ウェブ トラフィック用に HTTP(s) ロードバランサの背後にあるプライベート IP アドレスを使用して Compute Engine サーバーを構成します。
  • D. HTTP(S) ロードバランサの背後にプライベート IP アドレスを持つ Compute Engine ウェブサーバー インスタンスを使用してバックエンドを設定します。パブリック IP アドレスを使用して要塞ホストをセットアップし、ファイアウォール ポートを開きます。要塞ホストを使用して Web インスタンスに接続します。

You are developing a web application that will be accessible over both HTTP and HTTPS and will run on Compute Engine instances. On occasion, you will need to SSH from your remote laptop into one of the Compute Engine instances to conduct maintenance on the app. How should you configure the instances while following Google-recommended best practices?

  • A. Set up a backend with Compute Engine web server instances with a private IP address behind a TCP proxy load balancer.
  • B. Configure the firewall rules to allow all ingress traffic to connect to the Compute Engine web servers, with each server having a unique external IP address.
  • C. Configure Cloud Identity-Aware Proxy API for SSH access. Then configure the Compute Engine servers with private IP addresses behind an HTTP(s) load balancer for the application web traffic.
  • D. Set up a backend with Compute Engine web server instances with a private IP address behind an HTTP(S) load balancer. Set up a bastion host with a public IP address and open firewall ports. Connect to the web instances using the bastion host.

11. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 10911. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 109

問題Question

あなたは最近アプリケーションを開発しました。コンピューティングから Cloud Storage API を呼び出す必要があります
パブリック IP アドレスを持たないエンジン インスタンス。どうすればいいでしょうか?

  • A. キャリアピアリングを使用する
  • B. VPC ネットワーク ピアリングを使用する
  • C. 共有 VPC ネットワークを使用する
  • D. 限定公開の Google アクセスを使用する

You recently developed an application. You need to call the Cloud Storage API from a Compute
Engine instance that doesn't have a public IP address. What should you do?

  • A. Use Carrier Peering
  • B. Use VPC Network Peering
  • C. Use Shared VPC networks
  • D. Use Private Google Access

12. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 11712. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 117

問題Question

あなたのチームは、PostgreSQL データベースと Cloud Run を使用して新しいアプリケーションを開発しています。 Google 上ですべてのトラフィックが非公開であることを確認するのはお客様の責任です。
雲。マネージド サービスを使用し、Google が推奨するベスト プラクティスに従いたいと考えています。どうすればいいでしょうか?

  • A. 1. 同じプロジェクトで Cloud SQL と Cloud Run を有効にします。 2. Cloud SQL のプライベート IP アドレスを構成します。プライベート サービス アクセスを有効にします。 3. サーバーレス VPC アクセス コネクタを作成します。 4. コネクタを使用して Cloud SQL に接続するように Cloud Run を構成します。
  • B. 1. Compute Engine 仮想マシン(VM)に PostgreSQL をインストールし、同じプロジェクトで Cloud Run を有効にします。 2. VM のプライベート IP アドレスを構成します。プライベート サービス アクセスを有効にします。 3. サーバーレス VPC アクセス コネクタを作成します。 4. コネクタを使用して PostgreSQL をホストしている VM に接続するように Cloud Run を構成します。
  • C. 1. Cloud SQL と Cloud Run を異なるプロジェクトで使用します。 2. Cloud SQL のプライベート IP アドレスを構成します。プライベート サービス アクセスを有効にします。 3. サーバーレス VPC アクセス コネクタを作成します。 4. 2 つのプロジェクト間に VPN 接続をセットアップします。コネクタを使用して Cloud SQL に接続するように Cloud Run を構成します。
  • D. 1. Compute Engine VM に PostgreSQL をインストールし、さまざまなプロジェクトで Cloud Run を有効にします。 2. VM のプライベート IP アドレスを構成します。プライベート サービス アクセスを有効にします。 3. サーバーレス VPC アクセス コネクタを作成します。 4. 2 つのプロジェクト間に VPN 接続をセットアップします。コネクタを使用して PostgreSQL をホストする VM にアクセスするように Cloud Run を構成する

Your team is developing a new application using a PostgreSQL database and Cloud Run. You are responsible for ensuring that all traffic is kept private on Google
Cloud. You want to use managed services and follow Google-recommended best practices. What should you do?

  • A. 1. Enable Cloud SQL and Cloud Run in the same project. 2. Configure a private IP address for Cloud SQL. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Configure Cloud Run to use the connector to connect to Cloud SQL.
  • B. 1. Install PostgreSQL on a Compute Engine virtual machine (VM), and enable Cloud Run in the same project. 2. Configure a private IP address for the VM. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Configure Cloud Run to use the connector to connect to the VM hosting PostgreSQL.
  • C. 1. Use Cloud SQL and Cloud Run in different projects. 2. Configure a private IP address for Cloud SQL. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to connect to Cloud SQL.
  • D. 1. Install PostgreSQL on a Compute Engine VM, and enable Cloud Run in different projects. 2. Configure a private IP address for the VM. Enable private services access. 3. Create a Serverless VPC Access connector. 4. Set up a VPN connection between the two projects. Configure Cloud Run to use the connector to access the VM hosting PostgreSQL

13. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 12513. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 125

問題Question

あなたは、App Engine スタンダード環境と Memorystore for Redis を使用する e コマース Web アプリケーションを開発しています。ユーザーがアプリにログインすると、アプリケーションはユーザーの情報 (セッション、名前、アドレス、設定など) をキャッシュし、チェックアウト時にすぐに取得できるように保存されます。
ブラウザでアプリケーションをテストしているときに、502 Bad Gateway エラーが発生します。アプリケーションが Memorystore に接続していないと判断されました。このエラーの理由は何ですか?

  • A. Memorystore for Redis インスタンスはパブリック IP アドレスなしでデプロイされました。
  • B. App Engine インスタンスとは異なるリージョンでサーバーレス VPC アクセス コネクタを構成しました。
  • C. App Engine と Memorystore 間の接続を許可するファイアウォール ルールは、DevOps チームによるインフラストラクチャの更新中に削除されました。
  • D. App Engine インスタンスとは異なるアベイラビリティ ゾーンの異なるサブネット上でサーバーレス VPC アクセス コネクタを使用するようにアプリケーションを構成しました。

You are developing an ecommerce web application that uses App Engine standard environment and Memorystore for Redis. When a user logs into the app, the application caches the user's information (e.g., session, name, address, preferences), which is stored for quick retrieval during checkout.
While testing your application in a browser, you get a 502 Bad Gateway error. You have determined that the application is not connecting to Memorystore. What is the reason for this error?

  • A. Your Memorystore for Redis instance was deployed without a public IP address.
  • B. You configured your Serverless VPC Access connector in a different region than your App Engine instance.
  • C. The firewall rule allowing a connection between App Engine and Memorystore was removed during an infrastructure update by the DevOps team.
  • D. You configured your application to use a Serverless VPC Access connector on a different subnet in a different availability zone than your App Engine instance.

14. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 14314. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 143

問題Question

Google Kubernetes Engine でホストされる Web サイトの新しい欧州バージョンをデプロイする必要があります。現在の Web サイトと新しい Web サイトは、同じ HTTP(S) ロード バランサーの外部 IP アドレスを介してアクセスする必要がありますが、ドメイン名は異なります。どうすればいいでしょうか?

  • A. 新しいドメインに一致するホスト ルールを使用して新しい Ingress リソースを定義する
  • B. 新しいドメインに一致するホスト ルールを使用して既存の Ingress リソースを変更します。
  • C. 既存の IP アドレスをloadBalancerIPとして指定して、LoadBalancerタイプの新しいサービスを作成します。
  • D. 新しい Ingress リソースを生成し、既存の IP アドレスを kubernetes.io/ingress.global-static-ip-name アノテーション値として指定します。

You need to deploy a new European version of a website hosted on Google Kubernetes Engine. The current and new websites must be accessed via the same HTTP(S) load balancer's external IP address, but have different domain names. What should you do?

  • A. Define a new Ingress resource with a host rule matching the new domain
  • B. Modify the existing Ingress resource with a host rule matching the new domain
  • C. Create a new Service of type LoadBalancer specifying the existing IP address as the loadBalancerIP
  • D. Generate a new Ingress resource and specify the existing IP address as the kubernetes.io/ingress.global-static-ip-name annotation value

15. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 18015. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 180

問題Question

あなたは、複数のマイクロサービスで構成されるアプリケーションを設計しています。各マイクロサービスには独自の RESTful API があり、別個の Kubernetes Service としてデプロイされます。 API に変更があった場合に、これらの API の利用者が影響を受けないようにする必要があります。また、API の新しいバージョンがリリースされたときにサードパーティ システムが中断されないようにしたいと考えています。 Google が推奨するベスト プラクティスに従って、アプリケーションへの接続をどのように構成すればよいでしょうか?

  • A. API の URL を使用する Ingress を使用して、リクエストを適切なバックエンドにルーティングします。
  • B. Service Discovery システムを利用し、リクエストで指定されたバックエンドに接続します。
  • C. 複数のクラスターを使用し、DNS エントリーを使用してリクエストを別のバージョン管理されたバックエンドにルーティングします。
  • D. 同じサービス内の複数のバージョンを結合し、POST リクエストで API バージョンを指定します。

You are designing an application that consists of several microservices. Each microservice has its own RESTful API and will be deployed as a separate Kubernetes Service. You want to ensure that the consumers of these APIs aren't impacted when there is a change to your API, and also ensure that third-party systems aren't interrupted when new versions of the API are released. How should you configure the connection to the application following Google-recommended best practices?

  • A. Use an Ingress that uses the API's URL to route requests to the appropriate backend.
  • B. Leverage a Service Discovery system, and connect to the backend specified by the request.
  • C. Use multiple clusters, and use DNS entries to route requests to separate versioned backends.
  • D. Combine multiple versions in the same service, and then specify the API version in the POST request.

16. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 18516. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 185

問題Question

あなたは、ユーザーに静的コンテンツを提供する、可用性が高く、グローバルにアクセスできるアプリケーションを構築しています。ストレージおよびサービスコンポーネントを構成する必要があります。ユーザーの信頼性を最大化しながら、管理のオーバーヘッドと遅延を最小限に抑えたいと考えています。どうすればいいでしょうか?

  • A. 1. マネージド インスタンス グループを作成します。仮想マシン (VM) 全体で静的コンテンツをレプリケートする
    2. 外部 HTTP(S) ロード バランサを作成します。
    3. Cloud CDN を有効にし、マネージド インスタンス グループにトラフィックを送信します。
  • B. 1. 非マネージド インスタンス グループを作成します。 VM 全体で静的コンテンツをレプリケートします。
    2. 外部 HTTP(S) ロード バランサを作成する
    3. Cloud CDN を有効にし、アンマネージド インスタンス グループにトラフィックを送信します。
  • C. 1. 標準ストレージ クラス、リージョン Cloud Storage バケットを作成します。静的コンテンツをバケットに入れる
    2. 外部 IP アドレスを予約し、外部 HTTP(S) ロード バランサを作成します。
    3. Cloud CDN を有効にし、バックエンド バケットにトラフィックを送信します
  • D. 1. 標準ストレージ クラス、マルチリージョン Cloud Storage バケットを作成します。静的コンテンツをバケットに入れます。
    2. 外部 IP アドレスを予約し、外部 HTTP(S) ロード バランサを作成します。
    3. Cloud CDN を有効にし、バックエンド バケットにトラフィックを送信します。

You are building a highly available and globally accessible application that will serve static content to users. You need to configure the storage and serving components. You want to minimize management overhead and latency while maximizing reliability for users. What should you do?

  • A. 1. Create a managed instance group. Replicate the static content across the virtual machines (VMs)
    2. Create an external HTTP(S) load balancer.
    3. Enable Cloud CDN, and send traffic to the managed instance group.
  • B. 1. Create an unmanaged instance group. Replicate the static content across the VMs.
    2. Create an external HTTP(S) load balancer
    3. Enable Cloud CDN, and send traffic to the unmanaged instance group.
  • C. 1. Create a Standard storage class, regional Cloud Storage bucket. Put the static content in the bucket
    2. Reserve an external IP address, and create an external HTTP(S) load balancer
    3. Enable Cloud CDN, and send traffic to your backend bucket
  • D. 1. Create a Standard storage class, multi-regional Cloud Storage bucket. Put the static content in the bucket.
    2. Reserve an external IP address, and create an external HTTP(S) load balancer.
    3. Enable Cloud CDN, and send traffic to your backend bucket.

17. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 19617. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 196

問題Question

あなたのチームは、さまざまなソースからのニュース記事を集約するアプリケーションを保守する責任があります。モニタリング ダッシュボードには一般にアクセスできるリアルタイム レポートが含まれており、Compute Engine インスタンス上でウェブ アプリケーションとして実行されます。外部の関係者やアナリストは、認証なしで安全なチャネル経由でこれらのレポートにアクセスする必要があります。この安全なチャネルをどのように構成すればよいでしょうか?

  • A. パブリック IP アドレスをインスタンスに追加します。インスタンスのサービス アカウント キーを使用してトラフィックを暗号化します。
  • B. Cloud Scheduler を使用して Cloud Build を 1 時間ごとにトリガーし、レポートからエクスポートを作成します。レポートをパブリック Cloud Storage バケットに保存します。
  • C. 監視ダッシュボードの前に HTTP(S) ロード バランサを追加します。 Identity-Aware Proxy を構成して通信チャネルを保護します。
  • D. 監視ダッシュボードの前に HTTP(S) ロード バランサを追加します。トラフィック暗号化のためにロードバランサに Google マネージド SSL 証明書を設定します。

Your team is responsible for maintaining an application that aggregates news articles from many different sources. Your monitoring dashboard contains publicly accessible real-time reports and runs on a Compute Engine instance as a web application. External stakeholders and analysts need to access these reports via a secure channel without authentication. How should you configure this secure channel?

  • A. Add a public IP address to the instance. Use the service account key of the instance to encrypt the traffic.
  • B. Use Cloud Scheduler to trigger Cloud Build every hour to create an export from the reports. Store the reports in a public Cloud Storage bucket.
  • C. Add an HTTP(S) load balancer in front of the monitoring dashboard. Configure Identity-Aware Proxy to secure the communication channel.
  • D. Add an HTTP(S) load balancer in front of the monitoring dashboard. Set up a Google-managed SSL certificate on the load balancer for traffic encryption.

18. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 22318. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 223

問題Question

あなたは、e コマース サイトを管理する組織で働いています。アプリケーションはグローバル HTTP(S) ロード バランサの背後にデプロイされます。新製品推奨アルゴリズムをテストする必要があります。 A/B テストを使用して、新しいアルゴリズムが売上に与える影響をランダムな方法で判断する予定です。この機能をどのようにテストすればよいでしょうか?

  • A. 重みを使用してバージョン間でトラフィックを分割します。
  • B. 単一インスタンスで新しい推奨機能フラグを有効にします。
  • C. トラフィックをアプリケーションの新しいバージョンにミラーリングします。
  • D. HTTP ヘッダーベースのルーティングを使用します。

You work for an organization that manages an ecommerce site. Your application is deployed behind a global HTTP(S) load balancer. You need to test a new product recommendation algorithm. You plan to use A/B testing to determine the new algorithm’s effect on sales in a randomized way. How should you test this feature?

  • A. Split traffic between versions using weights.
  • B. Enable the new recommendation feature flag on a single instance.
  • C. Mirror traffic to the new version of your application.
  • D. Use HTTP header-based routing.

19. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 24119. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 241

問題Question

Java アプリケーションを Cloud Run にデプロイしました。アプリケーションは、Cloud SQL でホストされているデータベースにアクセスする必要があります。規制要件により、Cloud SQL インスタンスへの接続には内部 IP アドレスを使用する必要があります。 Google が推奨するベスト プラクティスに従って接続を構成するにはどうすればよいですか?

  • A. Cloud SQL 接続を使用して Cloud Run サービスを構成します。
  • B. サーバーレス VPC アクセス コネクタを使用するように Cloud Run サービスを構成します。
  • C. Cloud SQL Java コネクタを使用するようにアプリケーションを構成します。
  • D. Cloud SQL Auth プロキシのインスタンスに接続するようにアプリケーションを構成します。

You have deployed a Java application to Cloud Run. Your application requires access to a database hosted on Cloud SQL. Due to regulatory requirements, your connection to the Cloud SQL instance must use its internal IP address. How should you configure the connectivity while following Google-recommended best practices?

  • A. Configure your Cloud Run service with a Cloud SQL connection.
  • B. Configure your Cloud Run service to use a Serverless VPC Access connector.
  • C. Configure your application to use the Cloud SQL Java connector.
  • D. Configure your application to connect to an instance of the Cloud SQL Auth proxy.

20. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 25720. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 257

問題Question

Cloud Run を使用してグローバル e コマース ウェブ アプリケーションをホストしています。あなたの会社のデザイン チームは、Web アプリの新しい配色を作成しています。あなたは、新しい配色が売上を増やすかどうかを判断する任務を負っています。本番環境の実際のトラフィックでテストを実施したいと考えています。研究をどのように設計すべきでしょうか?

  • A. 外部 HTTP(S) ロード バランサを使用して、トラフィックの所定の割合をアプリケーションの 2 つの異なるカラー スキームにルーティングします。結果を分析して、売上に統計的に有意な差があるかどうかを判断します。
  • B. 新しい展開の作成とテスト中に、外部 HTTP(S) ロード バランサを使用してトラフィックを元のカラー スキームにルーティングします。テストが完了したら、すべてのトラフィックを新しい配色に再ルーティングします。結果を分析して、売上に統計的に有意な差があるかどうかを判断します。
  • C. 外部 HTTP(S) ロード バランサを使用して、アプリケーションの新しいバージョンにトラフィックをミラーリングします。結果を分析して、売上に統計的に有意な差があるかどうかを判断します。
  • D. すべてのユーザーの半数に新しい配色を表示する機能フラグを有効にします。売上を監視して、このユーザー グループの売上が増加するかどうかを確認します。

You are using Cloud Run to host a global ecommerce web application. Your company’s design team is creating a new color scheme for the web app. You have been tasked with determining whether the new color scheme will increase sales. You want to conduct testing on live production traffic. How should you design the study?

  • A. Use an external HTTP(S) load balancer to route a predetermined percentage of traffic to two different color schemes of your application. Analyze the results to determine whether there is a statistically significant difference in sales.
  • B. Use an external HTTP(S) load balancer to route traffic to the original color scheme while the new deployment is created and tested. After testing is complete, reroute all traffic to the new color scheme. Analyze the results to determine whether there is a statistically significant difference in sales.
  • C. Use an external HTTP(S) load balancer to mirror traffic to the new version of your application. Analyze the results to determine whether there is a statistically significant difference in sales.
  • D. Enable a feature flag that displays the new color scheme to half of all users. Monitor sales to see whether they increase for this group of users.

21. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 26721. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 267

問題Question

SSL 証明書を使用してグローバル ロードバランサの背後にある Google Cloud でホストされるウェブ アプリケーションをコンテナ化する必要があります。アプリケーション レベルで認証を開発する時間がないため、アプリケーションから SSL 暗号化と管理をオフロードしたいと考えています。可能な場合は、マネージド サービスを使用してアーキテクチャを構成したいと考えています。どうすればいいでしょうか?

  • A. Google Kubernetes Engine でアプリケーションをホストし、認証を処理するために NGINX Ingress コントローラーをデプロイします。
  • B. Google Kubernetes Engine でアプリケーションをホストし、SSL 証明書を管理するために cert-manager をデプロイします。
  • C. Compute Engine でアプリケーションをホストし、アプリケーションのクラウド エンドポイントを構成します。
  • D. Google Kubernetes Engine でアプリケーションをホストし、Identity-Aware Proxy (IAP) と Cloud Load Balancing および Google 管理の証明書を使用します。

You need to containerize a web application that will be hosted on Google Cloud behind a global load balancer with SSL certificates. You don’t have the time to develop authentication at the application level, and you want to offload SSL encryption and management from your application. You want to configure the architecture using managed services where possible. What should you do?

  • A. Host the application on Google Kubernetes Engine, and deploy an NGINX Ingress Controller to handle authentication.
  • B. Host the application on Google Kubernetes Engine, and deploy cert-manager to manage SSL certificates.
  • C. Host the application on Compute Engine, and configure Cloud Endpoints for your application.
  • D. Host the application on Google Kubernetes Engine, and use Identity-Aware Proxy (IAP) with Cloud Load Balancing and Google-managed certificates.

22. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 28322. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 283

問題Question

あなたは、最近いくつかの Google Cloud サービスを統合した組織の主任開発者です。これらのサービスは、VPC Service Controls と Private Service Connect エンドポイントで保護された Virtual Private Cloud (VPC) 環境内にあります。組織全体の開発者は、さまざまなオペレーティング システム、開発フレームワーク、統合開発環境 (IDE) を使用しています。開発プロセスの一貫性を確保し、全体的な開発エクスペリエンスを向上させる開発環境を推奨する必要があります。このソリューションで次のことを実現したいと考えています。

• 一貫したセキュリティ管理を実施します。
• VPC 内の Google Cloud リソースとアプリケーションにアクセスできる。
• 開発環境へのカスタム ツールおよびユーティリティのインストールを許可します。

どのような解決策を推奨する必要がありますか?

  • A. クラウド ワークステーションを使用すると、開発者が独自のカスタム イメージを作成できるようになります。
  • B. 事前構成された基本イメージを持つクラウド ワークステーションを使用します。カスタム ツールとユーティリティの場合は、毎週再構築されるカスタム イメージを使用します。
  • C. 組織全体で使用される IDE で Cloud Code 拡張機能を使用します。 VPC アクセスを有効にするように Cloud VPN を構成します。
  • D. 組織全体で使用される IDE で Cloud Code 拡張機能を使用します。 Identity-Aware Proxy を使用して、VPC 内のサービスへのアクセスを有効にします。

You are a lead developer at an organization that recently integrated several Google Cloud services. These services are located within Virtual Private Cloud (VPC) environments that are secured with VPC Service Controls and Private Service Connect endpoints. Developers across your organization use different operating systems, development frameworks, and integrated development environments (IDEs). You need to recommend a developer environment that will ensure consistency in the developer process and improve the overall developer experience. You want this solution to:

• Enforce consistent security controls.
• Have access to Google Cloud resources and applications within the VPC.
• Allow the installation of custom tools and utilities on the development environments.

What solution should you recommend?

  • A. Use Cloud Workstations, and allow developers to create their own custom images.
  • B. Use Cloud Workstations with preconfigured base images. For custom tools and utilities, use custom images that are rebuilt weekly.
  • C. Use the Cloud Code extension with the IDEs that are used across the organization. Configure Cloud VPN to enable VPC access.
  • D. Use the Cloud Code extension with the IDEs that are used across the organization. Use Identity-Aware Proxy to enable access to the services in the VPC.

23. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 30523. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 305

問題Question

e コマース アプリケーションのユーザー ベースは急速に増加しており、バックエンド API への過剰なリクエストによりパフォーマンスの問題が発生しています。あなたのチームがこの API を開発および管理します。 Cloud SQL バックエンド データベースは高い需要を処理するのに苦労しており、レイテンシやタイムアウトが発生しています。 API のパフォーマンスを最適化し、ユーザー エクスペリエンスを向上させるソリューションを実装する必要があります。どうすればいいでしょうか?

  • A. Apigee を使用して API を公開します。 Memorystore for Redis を使用して、頻繁にアクセスされるデータをキャッシュします。アプリケーションに指数バックオフを実装して、失敗したリクエストを再試行します。
  • B. Apigee を使用して API を公開します。 Apigee にレート制限とアクセス制御ポリシーを実装して、API トラフィックを制御します。 Pub/Sub を使用してリクエストをキューに入れ、データベースの過負荷を防ぎます。
  • C. Cloud Load Balancing を使用して API を公開します。ロードバランサの前で Cloud CDN を使用して、応答をキャッシュします。指数バックオフを実装して、失敗したリクエストを再試行します。
  • D. Cloud Load Balancing を使用して API を公開します。より多くの同時リクエストを処理できるように、データベース インスタンスのメモリを増やします。アプリケーション コードにカスタム レート制限メカニズムを実装して、API リクエストを制御します。

Your ecommerce application has a rapidly growing user base, and it is experiencing performance issues due to excessive requests to your backend API. Your team develops and manages this API. The Cloud SQL backend database is struggling to handle the high demand, leading to latency and timeouts. You need to implement a solution that optimizes API performance and improves user experience. What should you do?

  • A. Use Apigee to expose your API. Use Memorystore for Redis to cache frequently accessed data. Implement exponential backoff in the application to retry failed requests.
  • B. Use Apigee to expose your API. Implement rate limiting and access control policies in Apigee to control API traffic. Use Pub/Sub to queue requests to prevent database overload.
  • C. Use Cloud Load Balancing to expose your API. Use Cloud CDN in front of the load balancer to cache responses. Implement exponential backoff to retry failed requests.
  • D. Use Cloud Load Balancing to expose your API. Increase the memory for the database instances to handle more concurrent requests. Implement a custom rate-limiting mechanism in your application code to control API requests.

24. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 30724. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 307

問題Question

あなたは、ユーザーにストリーミング API を提供する外部向けアプリケーションを GKE 上で開発しています。各クライアント アプリケーションが毎日実行できる API リクエストの数に基づいて、「ベーシック」と「プレミアム」の 2 つのサブスクリプション層をユーザーに提供したいと考えています。あなたは、Google が推奨するプラクティスに従いながら、ユーザーにサブスクリプション層を提供するアプリケーション アーキテクチャを設計したいと考えています。どうすればいいでしょうか?

  • A. 1. GKE 上のサービスを Apigee プロキシのバックエンドとして構成します。
    2. クライアント アプリケーションを識別するための API キーをユーザーに提供します。
    3. サブスクリプション階層に基づいて、Apigee で API キーの割り当てポリシーを構成します。
  • B. 1. GKE 上のサービスを Apigee プロキシのバックエンドとして構成します。
    2. クライアント アプリケーションを識別するための API キーをユーザーに提供します。
    3. サブスクリプション階層に基づいて API キー用に Apigee で SpikeArrest ポリシーを構成します。
  • C. 1. それぞれに個別の Application Load Balancer を備えた 2 つの新しいプロジェクトのバックエンドとして GKE 上のサービスを構成します。
    2. 各プロジェクトのクォータ「ネットワークごとのリージョンごとの 1 秒あたりのクエリ数 (QPS)」を個別に構成します。
    3. サブスクリプション層に基づいて API エンドポイントをユーザーに提供します。
  • D. 1. アプリケーションを 2 つの GKE クラスタ (サブスクリプション階層ごとに 1 つ) にデプロイします。個別の Ingress を持つように各クラスターを構成します。
    2. 各クラスタを Apigee プロキシのバックエンドとして構成します。
    3. クライアント アプリケーションを識別するための API キーをユーザーに提供します。
    4. サブスクリプション層に基づいて、クライアント アプリケーションの個別のレート制限を構成します。

You are developing an external-facing application on GKE that provides a streaming API to users. You want to offer two subscription tiers, “basic" and “premium", to users based on the number of API requests that each client application is allowed to make each day. You want to design the application architecture to provide subscription tiers to users while following Google-recommended practices. What should you do?

  • A. 1. Configure the service on GKE as a backend to an Apigee proxy.
    2. Provide API keys to users to identify client applications.
    3. Configure a Quota policy in Apigee for API keys based on the subscription tier.
  • B. 1. Configure the service on GKE as a backend to an Apigee proxy.
    2. Provide API keys to users to identify client applications.
    3. Configure a SpikeArrest policy in Apigee for API keys based on the subscription tier.
  • C. 1. Configure the service on GKE as a backend to two new projects, each with a separate Application Load Balancer.
    2. Configure the quota "Queries per second (QPS) per region per network” for each project individually.
    3. Provide users with API endpoints based on the subscription tier.
  • D. 1. Deploy the application to two GKE clusters, one for each subscription tier. Configure each cluster to have a separate Ingress.
    2. Configure each cluster as a backend to an Apigee proxy.
    3. Provide API keys to users to identify client applications.
    4. Configure separate rate limits for client applications based on the subscription tier.

25. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 31225. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 312

問題Question

あなたは大都市の環境庁で働いています。あなたは、市内の何千もの場所から大気質の測定値を取得する新しい監視プラットフォームを開発しています。空気品質読み取りデバイスが、curl コマンドを使用して、新しく作成された RESTful バックエンド システムとデータ ペイロードを毎分送受信できるようにしたいと考えています。バックエンド システムは単一のクラウド リージョンで実行され、プレミアム ティア ネットワーキングを使用しています。最初のバイトまでの時間 (TTFB) を使用して測定される 1 日の平均遅延を最小限に抑えながら、デバイスをバックエンドに接続する必要があります。このサービスをどのように構築すればよいでしょうか?

  • A. 1. Compute Engine VM 上で大気品質デバイスのバックエンドを実行します。
    2. Cloud DNS に重み付けラウンドロビン ルーティング ポリシーを作成します。
    3. この DNS を使用して接続するように電波品質デバイスを設定します。
  • B. 1. Compute Engine VM 上で大気品質デバイスのバックエンドを実行します。
    2. これらの Compute Engine VM に対して Cloud DNS 上にラウンド ロビン ルーティング ポリシーを作成します。
    3. この DNS を使用して接続するように電波品質デバイスを設定します。
  • C. 1. 空気品質デバイスのバックエンドをマネージド インスタンス グループで実行します。
    2. マネージド インスタンス グループに接続するための外部パススルー ネットワーク ロード バランサーを作成します。
    3. 電波品質デバイスと Network Load Balancer の間の接続を構成します。
  • D. 1 マネージド インスタンス グループで空気品質デバイスのバックエンドを実行します。
    2. 外部 Application Load Balancer を作成し、マネージド インスタンス グループに接続します。
    3. Configure a connection between the air quality devices and the Application Load Balancer.

You work for an environmental agency in a large city. You are developing a new monitoring platform that will capture air quality readings from thousands of locations in the city. You want the air quality reading devices to send and receive their data payload to the newly created RESTful backend systems every minute by using a curl command. The backend systems are running in a single cloud region and are using Premium Tier networking. You need to connect the devices to the backend while minimizing the daily average latency, measured by using Time to First Byte (TTFB). How should you build this service?

  • A. 1. Run the air quality devices’ backends on Compute Engine VMs.
    2. Create a weighted round robin routing policy on Cloud DNS.
    3. Configure the air quality devices to connect by using this DNS.
  • B. 1. Run the air quality devices’ backends on Compute Engine VMs.
    2. Create a round robin routing policy on Cloud DNS for these Compute Engine VMs.
    3. Configure the air quality devices to connect by using this DNS.
  • C. 1. Run the air quality devices' backends in a managed instance group.
    2. Create an external passthrough Network Load Balancer to connect to the managed instance group.
    3. Configure a connection between the air quality devices and the Network Load Balancer.
  • D. 1 Run the air quality devices' backends in a managed instance group.
    2. Create an external Application Load Balancer, and connect it to the managed instance group.
    3. Configure a connection between the air quality devices and the Application Load Balancer.

26. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 31726. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 317

問題Question

最近、組織の 2 つのリージョンに Apigee API プロキシをデプロイしました。どちらのリージョンも、API をホストする別のバックエンドで構成されています。トラフィックを適切なローカル リージョン バックエンドにルーティングするように Apigee を構成する必要があります。どうすればいいでしょうか?

image

  • A. 重み付け負荷分散アルゴリズムを使用して TargetEndpoint を作成します。各リージョンのバックエンドに同じ重みを使用するように API プロキシを構成します。
  • B. 各リージョンでリージョン内部 Application Load Balancer を構成し、ヘルスチェックを使用して各バックエンドがアクティブであることを確認します。両方のリージョンのロード バランサーの IP アドレスを含む DNS A レコードを作成します。この DNS 名を使用する地域ごとにターゲットサーバーを構成します。
  • C. グローバル外部 Application Load Balancer を構成し、異なるリージョン バックエンド サービスを使用して各リージョンのバックエンドを構成します。各リージョンは、TargetServer としてこの単一のグローバル外部 Application Load Balancer と通信します。
  • D. 各リージョンのバックエンド ホスト名に TargetServer を構成します。 system.region.name フロー変数に基づいて TargetServer を選択するように API プロキシを構成します。

You recently deployed an Apigee API proxy to your organization across two regions. Both regions are configured with a separate backend that is hosting the API. You need to configure Apigee to route traffic to the appropriate local region backend. What should you do?

image

  • A. Create a TargetEndpoint with a weighted load balancing algorithm. Configure the API proxy to use the same weights for each region's backend.
  • B. Configure a regional internal Application Load Balancer in each region, and use health checks to verify that each backend is active. Create a DNS A record that contains the IP addresses of both regions' load balancers. Configure a Targetserver for each region that uses this DNS name.
  • C. Configure a global external Application Load Balancer and configure each region’s backend with a different regional backend service. Each region communicates to this single global external Application Load Balancer as its TargetServer.
  • D. Configure a TargetServer for each region's backend host names. Configure the API proxy to choose the TargetServer based on the system.region.name flow variable.

27. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 34527. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 345

問題Question

あなたは、e コマース サイトを管理する組織で働いています。アプリケーションは外部 Application Load Balancer の背後にデプロイされます。新製品推奨アルゴリズムをテストする必要があります。 A/B テストを使用して、新しいアルゴリズムが売上に与える影響をランダムな方法で判断する予定です。この機能をどのようにテストすればよいでしょうか?

  • A. 重みを使用してバージョン間でトラフィックを分割します。
  • B. 単一インスタンスで新しい推奨機能フラグを有効にします。
  • C. トラフィックをアプリケーションの新しいバージョンにミラーリングします。
  • D. HTTP ヘッダーベースのルーティングを使用します。

You work for an organization that manages an ecommerce site. Your application is deployed behind an external Application Load Balancer. You need to test a new product recommendation algorithm. You plan to use A/B testing to determine the new algorithm’s effect on sales in a randomized way. How should you test this feature?

  • A. Split traffic between versions using weights.
  • B. Enable the new recommendation feature flag on a single instance.
  • C. Mirror traffic to the new version of your application.
  • D. Use HTTP header-based routing.

28. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 34728. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 347

問題Question

あなたは GKE 上でパブリック API をユーザーに公開するマイクロサービス アプリケーションを設計しています。ユーザーは OAuth 2.0 を使用してアプリケーションと対話し、不正なリクエストは 403 応答コードを受け取る必要があります。 API には、分散型サービス拒否 (DDoS) 攻撃や、SQL インジェクション (SQL) やクロスサイト スクリプティング (XSS) などの重大なセキュリティ リスクに対する回復力が必要です。

Google が推奨するプラクティスに従いながら、アプリケーションのアーキテクチャを設計したいと考えています。どうすればいいでしょうか?

  • A. GKE クラスタに Service Mesh をインストールします。 Service Mesh ユーザー認証を構成し、OpenID Connect 準拠の ID プロバイダを使用して GKE でホストされているサービスを統合します。 Istio Ingress Gateway を使用してアプリケーションを外部に公開します。 VPC ファイアウォール ルールを使用して、Ingress ゲートウェイへの Ingress トラフィックを制限します。
  • B. Cloud Run で Apache HTTP サーバーを実行して、パブリック IP アドレスを持つサービスを公開します。 Configure the Apache HTTP server as a reverse proxy to only forward valid requests to the API hosted on GKE.
  • C. Cloud Armor で外部 Application Load Balancer を使用します。 Cloud Armor を reCAPTCHA Enterprise と統合します。 GKE でホストされているアプリケーションにトラフィックを転送するようにロードバランサを構成します。
  • D. Cloud Armor で外部 Application Load Balancer を使用し、リクエストを Apigee に転送して API リクエストの有効性を確認するようにロードバランサを構成します。 GKE をアプリケーションのバックエンドとして構成します。

You are designing a microservices application on GKE that will expose a public API to users. Users will interact with the application by using OAuth 2.0, and illegitimate requests should receive a 403 response code. You need the API to be resilient against distributed denial of service (DDoS) attacks and critical security risks such as SQL injection (SQL) and cross-site scripting (XSS).

You want to design the application's architecture while following Google-recommended practices. What should you do?

  • A. Install Service Mesh in your GKE cluster. Configure Service Mesh user authentication to integrate the service hosted on GKE by using an OpenID Connect-compliant identity provider. Expose the application externally by using an Istio Ingress Gateway. Use VPC firewall rules to restrict Ingress traffic to the Ingress gateway.
  • B. Run an Apache HTTP server on Cloud Run to expose a service with a public IP address. Configure the Apache HTTP server as a reverse proxy to only forward valid requests to the API hosted on GKE.
  • C. Use an external Application Load Balancer with Cloud Armor. Integrate Cloud Armor with reCAPTCHA Enterprise. Configure the load balancer to forward traffic to the application hosted on GKE.
  • D. Use an external Application Load Balancer with Cloud Armor, and configure the load balancer to forward requests to Apigee to check the validity of the API requests. Configure GKE as the application's backend.

29. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 36029. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 360

問題Question

あなたは、都市の周囲温度を監視する何千もの IoT デバイスからの温度測定値を集約するダッシュボードを開発しています。ダッシュボードがライブになると、大量の表示トラフィックが発生し、大量のデータ出力が発生することが予想されます。ダッシュボードの温度表示データはリアルタイムである必要はなく、数秒の遅れは許容されます。 Memorystore for Redis をストレージ バックエンドとしてデプロイすることにしました。ダッシュボードの可用性を確保したいと考えています。 Memorystore for Redis でサービスをどのように構成すればよいですか?

  • A. Memorystore for Redis を最新バージョンに更新します。
  • B. リードレプリカを使用するように Memorystore を構成します。
  • C. プライベート サービス アクセスを使用して、低遅延のネットワーク スループットを有効にします。
  • D. サーバーレス VPC アクセスをセットアップして、インターネット経由でのトラフィックの受信を回避します。

You are developing a dashboard that aggregates temperature readings from thousands of IoT devices monitoring a city's ambient temperature. You expect a large amount of viewing traffic resulting in a large amount of data egress once the dashboard is live. The dashboard temperature display data doesn't need to be real-time and can tolerate a few seconds of lag. You decide to deploy Memorystore for Redis as the storage backend. You want to ensure that the dashboard will be highly available. How should you configure the service in Memorystore for Redis?

  • A. Update Memorystore for Redis to the latest version.
  • B. Configure Memorystore to use read replicas.
  • C. Use Private Service Access to enable low-latency network throughput.
  • D. Set up Serverless VPC Access to avoid receiving traffic over the internet.

30. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 36130. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 361

問題Question

あなたは、Cloud Run 上で実行される新しい e コマース アプリケーションを開発する責任を負います。アプリケーションを別のプロジェクト内の Cloud SQL データベースに接続する必要があります。このプロジェクトは、パブリック IP を持たない複数のデータベース専用の分離されたネットワーク上にあります。アプリケーションをこのデータベースに接続する必要があります。どうすればいいでしょうか?

  • A. ネットワーク上に Private Service Connect エンドポイントを作成します。プロジェクトにサーバーレス VPC アクセス コネクタを作成します。 Cloud SQL 言語コネクタを使用して内部接続を作成します。
  • B. 両方のネットワーク間に VPC ネットワーク ピアリングを構成します。 Cloud Run で、内部 IP を使用する Cloud SQL 接続を作成します。 Cloud SQL 言語コネクタを使用してデータベースと対話します。
  • C. プロジェクトでプライベート サービス アクセスを構成します。 Cloud Run で、Cloud SQL 接続を作成します。 Cloud SQL 言語コネクタを使用してデータベースと対話します。
  • D. VPC 上にサブネットを作成します。新しいサブネットを使用して、プロジェクトにサーバーレス VPC アクセス コネクタを作成します。 Cloud Run で、Cloud SQL 接続を作成します。 Cloud SQL 言語コネクタを使用してデータベースを操作します。

You are responsible for developing a new ecommerce application that is running on Cloud Run. You need to connect your application to a Cloud SQL database that is in a separate project. This project is on an isolated network dedicated to multiple databases without a public IP. You need to connect your application to this database. What should you do?

  • A. Create a Private Service Connect endpoint on your network. Create a Serverless VPC Access connector on your project. Use Cloud SQL Language Connectors to create an internal connection.
  • B. Configure VPC Network Peering between both networks. In Cloud Run, create a Cloud SQL connection that uses the internal IP. Use Cloud SQL Language Connectors to interact with the database.
  • C. Configure private services access on your project. In Cloud Run, create a Cloud SQL connection. Use Cloud SQL Language Connectors to interact with the database.
  • D. Create a subnet on your VPC. Create a Serverless VPC Access connector on your project using the new subnet. In Cloud Run, create a Cloud SQL connection. Use Cloud SQL Language Connectors to interact with the database.

31. PROFESSIONAL-CLOUD-DEVELOPER トピック 1 問題 36631. PROFESSIONAL-CLOUD-DEVELOPER Topic 1 Question 366

問題Question

あなたは、Cloud SQL Auth Proxy を使用して Cloud SQL for PostgreSQL データベースに接続する必要があるアプリケーションを開発しています。 Cloud SQL Auth Proxy は、別の Google Cloud VPC ネットワークでホストされています。 Cloud SQL for PostgreSQL インスタンスにはパブリック IP アドレスとプライベート IP アドレスがあります。セキュリティ上の理由から、プライベート IP を使用する必要があります。 Cloud SQL インスタンスへの接続をテストする場合、パブリック IP アドレスを使用して接続することはできますが、プライベート IP アドレスを使用して接続することはできません。この問題をどのように解決すればよいでしょうか?

  • A. Cloud SQL Auth Proxy をバックグラウンド サービスとして実行します。
  • B. Cloud SQL Auth Proxy を開始するときに --private-ip オプションを追加します。
  • C. VPC と Cloud SQL インスタンスがデプロイされている VPC の間に VPC ネットワーク ピアリングを設定します。
  • D. Cloud SQL インスタンスへのアクセスを提供する IAM ロールを自分に付与します。

You are developing an application that needs to connect to a Cloud SQL for PostgreSQL database by using the Cloud SQL Auth Proxy. The Cloud SQL Auth Proxy is hosted in a different Google Cloud VPC network. The Cloud SQL for PostgreSQL instance has public and private IP addresses. You are required to use the private IP for security reasons. When testing the connection to the Cloud SQL instance, you can connect by using the public IP address, but you are unable to connect by using the private IP address. How should you fix this issue?

  • A. Run the Cloud SQL Auth Proxy as a background service.
  • B. Add the --private-ip option when starting the Cloud SQL Auth Proxy.
  • C. Set up VPC Network Peering between your VPC and the VPC where the Cloud SQL instance is deployed.
  • D. Grant yourself the IAM role that provides access to the Cloud SQL instance.