You are always likely to be using non-polarized capacitors, In an HF antenna matching network, for a fixed frequency device they may be fixed, for a ham radio antenna tuner they will typically be variable capacitors or combinations of the two of some kind.
Similarly with the inductor, (not resistor) you would likely want to be able to change whatever inductance you use there to optimize the match. You might do that with a switch on a "transmatch" or antenna tuner box, on a PCB you would usually use fixed values.
In microwave devices its common to incorporate matching and other RF-active transformations into the PCBs design in the form of various modifications to the traces. (Way more complicated than you'd need to do here).
One kind of Pi-matching network - assuming an inductor there in the signal path instead of resistor, also helps filter out harmonics if its on a transmitter. It also acts as a low pass filter. Another kind of pi-network, one where a capacitor works with two inductors to ground acts as a high pass filter.
The impedance of the device there may be nominally 50 ohms, but in a real world situation it in fact may vary a lot. MMICs may specify 50 ohms but in fact many of them in fact have a real input impedance for the purpose of receiving that is much higher than that and when that is the case, indeed, they will perform markedly better on receive when you match the input from the antenna to their real input impedance, not 50 ohms. The real load impedance on a transmitter? I suspect that in a school question they'd want you to match the output to a resistive load first. (this is common practice in the real world too) In a real world device, it depends on whether you know in advance what the antenna is going to be and what its immediate environs are in its use cases. (proximity to other objects will impact its performance and impedance a lot)
if you are using coax feedline to the antenna, they mean typically 50 ohms (more common) or occasionally 75 ohms in the case of some equipment that you would be expected to provide a match to under all circumstances.
But then an antenna matching circuit, for HF use by amateur radio operators, an ideal antenna tuner is there to provide a match to a wide range of antennas. Even electrically short or long resonant and non-resonant wires, loops and so on. So there, the wider the range your components can adjust to, often the better.
At HF no the traces matter but unless they are made in such a way that ignores basic rules of what an RF trace should do you can likely just do that and figure in the nominally small values only if it would seem to matter right there in your circuit (if they were high enough to relative to the filter values). At VHF/UHF and above yes, they matter, or even make a huge difference - more and more the higher you go in frequency.