Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation PCA Exam - Topic 3 Question 3 Discussion

Actual exam question for Linux Foundation's PCA exam
Question #: 3
Topic #: 3
[All PCA Questions]

What Prometheus component would you use if targets are running behind a Firewall/NAT?

Show Suggested Answer Hide Answer
Suggested Answer: D

When Prometheus targets are behind firewalls or NAT and cannot be reached directly by the Prometheus server's pull mechanism, the recommended component to use is PushProx.

PushProx works by reversing the usual pull model. It consists of a PushProx Proxy (accessible by Prometheus) and PushProx Clients (running alongside the targets). The clients establish outbound connections to the proxy, which allows Prometheus to ''pull'' metrics indirectly. This approach bypasses network restrictions without compromising the Prometheus data model.

Unlike the Pushgateway (which is used for short-lived batch jobs, not network-isolated targets), PushProx maintains the Prometheus ''pull'' semantics while accommodating environments where direct scraping is impossible.


Verified from Prometheus documentation and official PushProx design notes -- Monitoring Behind NAT/Firewall, PushProx Overview, and Architecture and Usage Scenarios sections.

Contribute your Thoughts:

0/2000 characters
Tambra
9 hours ago
I think it's Pull Proxy.
upvoted 0 times
...
Micah
5 days ago
I thought NAT issues were handled differently, though.
upvoted 0 times
...
Vince
24 days ago
A) Pull Proxy is the way to go!
upvoted 0 times
...
Charlesetta
29 days ago
Wait, isn't it D) PushProx? I'm not so sure.
upvoted 0 times
...
Reta
1 month ago
D) PushProx, because who doesn't love a good push-based proxy? Am I right, folks?
upvoted 0 times
...
Daniel
1 month ago
Hmm, D) PushProx. Sounds like the perfect solution for my firewall-protected targets.
upvoted 0 times
...
Henriette
1 month ago
D) PushProx, no doubt about it. Gotta love that push-based approach.
upvoted 0 times
...
Dong
2 months ago
I'd go with D. PushProx, it's designed for that exact use case.
upvoted 0 times
...
Skye
2 months ago
D) PushProx seems like the way to go if targets are behind a firewall.
upvoted 0 times
...
Rebbecca
2 months ago
I’m a bit confused between Pull Gateway and PushProx. I know one is for pulling metrics, but I can’t recall which one is specifically for NAT situations.
upvoted 0 times
...
Shawna
2 months ago
I feel like I’ve seen a question like this before, and I think the answer is Pull Proxy. It makes sense for targets that can’t be reached directly.
upvoted 0 times
...
Dean
2 months ago
I think it might be the Pull Gateway, but I'm not entirely sure. I remember something about how it handles targets behind NAT.
upvoted 0 times
...
Annelle
3 months ago
I'm pretty confident B is the right answer here. The Pull Gateway is designed specifically for scraping targets that are behind a NAT or firewall. The other options don't seem as well-suited for that use case.
upvoted 0 times
...
Louvenia
3 months ago
Option A, the Pull Proxy, sounds like it could work too. I'm not 100% sure of the differences between the proxy and gateway, but either one might be able to handle the firewall issue.
upvoted 0 times
...
Rocco
3 months ago
D) PushProx - that's the one I was thinking of. I remember reading about that in the Prometheus docs as the solution for scraping targets behind a firewall.
upvoted 0 times
...
Breana
3 months ago
I disagree, it's B) Pull Gateway for sure.
upvoted 0 times
...
Derick
3 months ago
I think it's definitely A) Pull Proxy.
upvoted 0 times
...
Amos
4 months ago
I agree, Pull Gateway could work too.
upvoted 0 times
...
Carol
4 months ago
I remember that HA Proxy is more about load balancing, so I don’t think it’s the right choice here. It’s definitely between the other options.
upvoted 0 times
...
Una
4 months ago
Hmm, I'm a bit unsure about this one. I know Prometheus has some options for dealing with firewalls, but I can't quite remember the specifics. I'll have to think this through carefully.
upvoted 0 times
...
Alisha
4 months ago
I think I'd go with option B, the Pull Gateway. That seems like the best way to handle targets behind a firewall or NAT.
upvoted 0 times
...

Save Cancel