Is it possible to download a Kubernetes aliases file I created in advance and use it in the exam?

Let’s say I create a file with:
alias kgp=‘kubectl get pods’
etc…
and curl it to my exam terminal… Is that allowed on the test?

Afraid not!

You are not allowed to download anything to the exam terminal other than when directed by a question. You are also not permitted to run any software other than the PSI bridge application, so no copy/paste from a notepad either.

If you want to set up aliases then you need to do this manually at the start of the exam and from memory.

alias k=kubectl

is already set on the exam terminal, as is autocompletion. I can build fairly complex kubectl commands quite quickly just with k and autocomplete - just needs practice which you can do in the labs.