Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 210 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 210
Topic #: 1
[All Associate Cloud Engineer Questions]

Your team is using Linux instances on Google Cloud. You need to ensure that your team logs in to these instances in the most secure and cost efficient way. What should you do?

  • A. Attach a public IP to the instances and allow incoming connections from the internet on port 22 for SSH.
  • B. Use the gcloud compute ssh command with the --tunnel-through-iap flag. Allow ingress traffic from the IP range 35.235.240.0/20 on port 22.
  • C. Use a third party tool to provide remote access to the instances.
  • D. Create a bastion host with public internet access. Create the SSH tunnel to the instance through the bastion host.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Captain1212
Highly Voted 1 year, 2 months ago
Selected Answer: B
Common sense B is the correct answer , must safer from using the third party apps or the public id addresses
upvoted 6 times
...
LaCubanita
Most Recent 1 month, 1 week ago
According to Gemini: In Google Cloud Platform (GCP), Identity-Aware Proxy (IAP) is a more secure alternative to bastion hosts for accessing private resources. IAP encrypts SSH connections end-to-end, so it can't inspect the contents of the session. IAP also provides access controls to reduce the risk of unauthorized access and data breaches. https://cloud.google.com/compute/docs/connect/ssh-best-practices/network-access#use-a-bastion-host
upvoted 1 times
...
Ciupaz
2 months ago
Selected Answer: B
Why the others are not correct? Bastion Host: While a bastion host can provide remote access, it introduces additional complexity and potential security risks. Third-Party Tools: Using third-party tools may add costs and introduce dependencies.
upvoted 2 times
...
Rajkumar21
9 months ago
One General Question: Most of the cases the Answer provided for each questions in Exam Topic Differs from the Answer comes as a result as part of discussion. Just worried, since appearing ACE exam-Should we go with Answers what the group of people says (with highest percentage opted answer)?
upvoted 1 times
123kiki1626
6 months, 2 weeks ago
Go with majority, the website might have the wrong answer but discussion and majority people mostly know the right answer.
upvoted 5 times
...
...
mufuuuu
12 months ago
Selected Answer: B
B is correct
upvoted 2 times
Rahul001
11 months, 3 weeks ago
I will be appearing for Ace in the upcoming week is this 255 questions will be enough to pass the exam
upvoted 2 times
tlopsm
11 months, 3 weeks ago
Please give us feedback when you are done
upvoted 4 times
Rahul001
11 months, 2 weeks ago
Yes it is enough to clear, 6-7 questions may come from outside exam topics but you can expect atleast 40 to come out of 246 questions.
upvoted 8 times
...
...
...
...
3arle
1 year, 3 months ago
Selected Answer: B
You can use Bastion if "You have a specific use case, like session recording, and you can't use IAP." https://cloud.google.com/compute/docs/connect/ssh-internal-ip
upvoted 4 times
Ahmed_Y
1 year, 3 months ago
Thanks for that link but I think it is C, Although totally agree that Bastion comes 2nd in that table, no way all the user would have IP within this range 35.235.240.0/20!
upvoted 1 times
itsimranmalik
1 year, 2 months ago
"allows ingress traffic from the IP range `35.235.240.0/20`. This range contains all IP addresses that IAP uses for TCP forwarding" https://cloud.google.com/iap/docs/using-tcp-forwarding#create-firewall-rule
upvoted 2 times
...
...
...
qannik
1 year, 3 months ago
Selected Answer: D
But the question states "You need to ensure that your team logs in to these instances in the most secure and cost efficient way" Bastion is more secure than IAP but I'm not sure is more cost effective... Hard to choose
upvoted 1 times
...
juliorevk
1 year, 3 months ago
Understood about IAP being a secure way to SSH but where did the "Allow ingress traffic from the IP range 35.235.240.0/20 on port 22." come from and how does that fit in? The question had no details about it and the IP range seemed to come out of nowhere.
upvoted 4 times
Linhtinh603
11 months, 3 weeks ago
35.235.240.0/20 is IP range of Cloud IAP for TCP forwarding, we need to allow ingress as the guideline below: https://cloud.google.com/iap/docs/using-tcp-forwarding#preparing_your_project_for_tcp_forwarding
upvoted 3 times
...
...
Husni_adam
1 year, 4 months ago
Selected Answer: B
https://cloud.google.com/compute/docs/connect/ssh-using-iap#gcloud according the documentation the correct answer is B
upvoted 3 times
...
techsteph
1 year, 4 months ago
Selected Answer: B
https://cloud.google.com/compute/docs/connect/ssh-using-iap#gcloud
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...