ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 10 - Professional Cloud DevOps Engineer discussion

Report
Export

You are managing an application that runs in Compute Engine The application uses a custom HTTP server to expose an API that is accessed by other applications through an internal TCP/UDP load balancer A firewall rule allows access to the API port from 0.0.0-0/0. You need to configure Cloud Logging to log each IP address that accesses the API by using the fewest number of steps What should you do Bret?

A.
Enable Packet Mirroring on the VPC
Answers
A.
Enable Packet Mirroring on the VPC
B.
Install the Ops Agent on the Compute Engine instances.
Answers
B.
Install the Ops Agent on the Compute Engine instances.
C.
Enable logging on the firewall rule
Answers
C.
Enable logging on the firewall rule
D.
Enable VPC Flow Logs on the subnet
Answers
D.
Enable VPC Flow Logs on the subnet
Suggested answer: C

Explanation:

The best option for configuring Cloud Logging to log each IP address that accesses the API by using the fewest number of steps is to enable logging on the firewall rule. A firewall rule is a rule that controls the traffic to and from your Compute Engine instances. You can enable logging on a firewall rule to capture information about the traffic that matches the rule, such as source and destination IP addresses, protocols, ports, and actions. You can use Cloud Logging to view and export the firewall logs to other destinations, such as BigQuery, for further analysis.

asked 18/09/2024
Srinivasan Kumaresan
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first