You work as a Cloud Infrastructure Specialist for MDFT Pro, a well-known training agency that delivers Azure certification courses to students worldwide. MDFT Pro operates a student portal application that needs to be deployed to an Azure Kubernetes Service (AKS) cluster.
Mark, the senior DevOps engineer, has specified that this application must only be accessible from within the VNet that includes the AKS cluster, ensuring that internal administrative tools remain secure and aren’t exposed to the public internet. The application will be used by trainers to manage course materials and student progress, so it’s critical that it remains accessible only to internal systems within the training agency’s private network.
How should you complete the deployment YAML to ensure the service is only accessible within the VNet?
apiVersion: v1
kind: Service
metadata:
name: student-portal
annotations:
service.beta.kubernetes.io/_________: "true"
spec:
type: LoadBalancer
ports:
- port: 80
selector:
app: student-portal
Choose the correct answer from the options below.
Explanations for each answer: