BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Associate Cloud Engineer Exam - Topic 3 Question 74 Discussion

Posted by Fausto on Dec 25, 2023 at 05:53 AM

You are performing a monthly security check of your Google Cloud environment and want to know who has access to view data stored in your Google Cloud

Project. What should you do?

Suggested Answer: A, E

Before you run the gcloud compute instances list command, you need to do two things: authenticate with your user account and set the default project for gcloud CLI.

To authenticate with your user account, you need to run gcloud auth login, enter your login credentials in the dialog window, and paste the received login token to gcloud CLI.This will authorize the gcloud CLI to access Google Cloud resources on your behalf1.

To set the default project for gcloud CLI, you need to run gcloud config set project $my_project, where $my_project is the ID of the project that contains the instances you want to list.This will save you from having to specify the project flag for every gcloud command2.

Option B is not recommended, because using a service account key increases the risk of credential leakage and misuse.It is also not necessary, because you can use your user account to authenticate to the gcloud CLI3. Option C is not correct, because there is no such thing as a Cloud Identity user account key.Cloud Identity is a service that provides identity and access management for Google Cloud users and groups4. Option D is not required, because the gcloud compute instances list command does not depend on the default zone. You can list instances from all zones or filter by a specific zone using the --filter flag.


1: https://cloud.google.com/sdk/docs/authorizing

2: https://cloud.google.com/sdk/gcloud/reference/config/set

3: https://cloud.google.com/iam/docs/best-practices-for-managing-service-account-keys

4: https://cloud.google.com/identity/docs/overview

: https://cloud.google.com/sdk/gcloud/reference/compute/instances/list

Get Premium Associate Cloud Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
41 comments · newest first
LA
Layla 1 year ago
D sounds cool, but not really for this situation, right?
RU
Ruthann 1 year ago
C seems less relevant for just checking data access.
LE
Leonida 1 year ago
Wait, can you really see all data access just by reviewing IAM?
DE
Deandrea 1 year ago
A is important too, but B should come first.
VE
Veda 1 year ago
Definitely B, checking IAM permissions is key!
LE
Leonora 1 year ago
Creating a Data Loss Prevention job seems more about protecting data rather than checking who can view it. I think it’s not the right choice here.
TH
Thora 1 year ago
I feel like checking the Identity-Aware Proxy settings might be relevant, but I can't recall how it ties into data access specifically.
BA
Barney 1 year ago
I remember practicing a question about audit logs, but I don't think they specifically show who has access, just what actions were taken.
BO
Bonita 1 year ago
I think reviewing IAM permissions is crucial since it directly relates to who can access the data. But I'm not entirely sure if that's the only step needed.
BE
Bernadine 1 year ago
I'm a little confused by this question. There are a few different options, and I'm not sure which one is the best approach. I think I'll start by reviewing the IAM permissions, as option B suggests, and then see if I need to do anything else based on what I find.
AN
Annelle 1 year ago
Okay, I've got this. The key here is to focus on access control and permissions. Option B is the way to go - reviewing the IAM permissions is the best way to see who has access to the data. I feel confident about this one.
BR
Brittni 1 year ago
Hmm, I'm a bit unsure about this one. I'm trying to decide between options A and B. Enabling audit logs could be helpful, but reviewing the IAM permissions might give me a more complete picture. I'll have to think this through carefully.
RO
Roselle 1 year ago
This looks like a straightforward security check question. I think I'll go with option B - reviewing the IAM permissions for any role that allows for data access. That seems like the most direct way to identify who has access to the data.
RE
Refugia 1 year ago
I'm pretty sure the answer is D. Impairment-free transmission is not an advantage of super-channels, since they still have some impairments to deal with.
CH
Cheryl 1 year ago
Hmm, I'm a little confused on the unit conversions here. How many pints are in a gallon? I need to make sure I have that right before I can solve this.
AR
Arlette 2 years ago
Hey, at least you're not the one in charge of the 'Data Disappearance Prevention' team. That's a tough gig!
LO
Lorean 1 year ago
↳ replying to Arlette
C) Review the Identity-Aware Proxy settings for each resource.
AS
Ashley 1 year ago
↳ replying to Arlette
B) Review the IAM permissions for any role that allows for data access.
ZI
Zita 2 years ago
↳ replying to Arlette
A) Enable Audit Logs for all APIs that are related to data storage.
PR
Precious 2 years ago
I'm a little confused. Why can't I just use Option C and review the Identity-Aware Proxy settings? That sounds like it would do the trick.
MA
Mabel 1 year ago
↳ replying to Precious
User1: True, having multiple layers of security checks is always a good idea.
MA
Maurine 1 year ago
↳ replying to Precious
User3: Enabling Audit Logs for data storage APIs is also a good practice to track access.
LO
Lorrie 1 year ago
↳ replying to Precious
User2: I agree with User1, it's crucial to check all roles that have access to data.
JE
Jennifer 1 year ago
↳ replying to Precious
User1: Option B is also important to review the IAM permissions for data access.
EZ
Ezekiel 2 years ago
I believe enabling Audit Logs for data storage APIs is also important to track access.
OM
Omega 2 years ago
I agree with Arlyne, checking IAM permissions is crucial for security.
AR
Arlyne 2 years ago
I think we should review the IAM permissions for data access.
LA
Laura 2 years ago
D seems like the best choice. A Data Loss Prevention job can help you monitor and protect your data.
PA
Paz 2 years ago
↳ replying to Laura
D) Create a Data Loss Prevention job.
LA
Lashon 2 years ago
↳ replying to Laura
B) Review the IAM permissions for any role that allows for data access.
NO
Noble 2 years ago
↳ replying to Laura
D) Create a Data Loss Prevention job.
TA
Tamra 2 years ago
↳ replying to Laura
B) Review the IAM permissions for any role that allows for data access.
PA
Paulina 2 years ago
I believe enabling Audit Logs for data storage APIs is also important to track access.
XO
Xochitl 2 years ago
I agree with Marilynn, checking IAM permissions is crucial for security.
LE
Leah 2 years ago
I'm going with Option A. Enabling Audit Logs is a great way to track who's been accessing the data.
EZ
Ezekiel 1 year ago
↳ replying to Leah
Definitely, it's important to have a comprehensive approach to data security.
BR
Brendan 2 years ago
↳ replying to Leah
We should also review IAM permissions to ensure only authorized users have access.
OL
Olga 2 years ago
↳ replying to Leah
I agree, enabling Audit Logs will help us monitor who has been viewing the data.
AN
Anastacia 2 years ago
↳ replying to Leah
Option A sounds like a good choice. It's important to track data access.
GA
Gayla 2 years ago
Option B looks like the right answer. Reviewing the IAM permissions is the way to go to see who has access to the data.
MA
Marilynn 2 years ago
I think we should review the IAM permissions for data access.
0/2000 characters

Save Cancel