D2: OS Login & VM Manager
Google Cloud Associate Cloud Engineer exam practice questions · 13 flashcards
Question
What is OS Login?
1 / 13
Tip: Space flips the card, ← / → navigate.
Show all 13 OS Login & VM Manager practice questions and answers
- What is OS Login?Uses IAM to manage SSH access to Linux VMs, linking to Google identities.
- How do you enable OS Login?Set metadata enable-oslogin=TRUE on instance or project, or enforce via org policy.
- Which role allows standard SSH via OS Login?roles/compute.osLogin.
- Which role allows sudo via OS Login?roles/compute.osAdminLogin.
- What extra role is needed if the VM runs as a service account?roles/iam.serviceAccountUser on that service account.
- Role for users outside the organization?roles/compute.osLoginExternalUser at the org level.
- How do you add 2-step verification to OS Login?Set enable-oslogin-2fa=TRUE.
- Benefits of OS Login?Central access control, automatic revocation and audit logging.
- What is VM Manager?A suite for managing OS on VM fleets: patch management, OS inventory and OS policies.
- What does VM Manager Patch do?Runs patch jobs and scheduled patch deployments across VMs.
- What is OS inventory?Collects installed packages and OS details from VMs.
- What are OS policies?Declarative configs to install/remove software and configure VMs consistently.
- What agent does VM Manager use?The OS Config agent (enable-osconfig metadata and OS Config API).