Security Engineer Flashcards
What is a GKE network policy?
While Firewall Rules are a powerful security measure, and Kubernetes enables you to define even finer grained rules via Network Policies. Network Policies are used to limit intra-cluster communication. Network policies do not apply to pods attached to the host’s network namespace.
How can you restrict traffic with a GKE network policy?
By pod label or namespace
How are IAM and Kubernetes RBAC different?
RBAC is used for restricting access within a GKE cluster. There are no deny rules, only allow rules. IAM is higher level at the node and project level. They are used in conjunction in GKE.
What can Binary Authorization do?
With Binary Authorization you can whitelist container registries, require images to be signed by trusted authorities, and centrally enforce those policies
What does the Titan security chip do?
Enable trusted server boot
Which logs allow you to see if Google has accessed your data?
Access Transparency Logs
What can be used for authentication for GCP resources?
Either Google Sign-in or SAML/OIDC
Which roles are added when creating an org?
Existing users are granted project creator and billing account creator roles - remove these ASAP for people that don’t need them
What is an org policy?
An org policy is a configuration of restrictions, defined by configuring a constraint with restrictions, applied to the org node, folder, or projects
What are audit logs?
They are logs that record project-level permission changes
What scope do firewall rules have?
Global within a VPC
What are the implied firewall rules?
Allow all outgoing traffic, block all incoming traffic
What additional rules does the default VPC allow?
the default VPC allows internal, ssh, rdp, and icmp
What VPC traffic is always blocked?
Email ports and non-standard protocols
What firewall rule can be set to prevent exposing ports and protocols unnecessarily?
Set low priority firewall rule to deny all ports/protocols
Does private google API access resolve to a public or private IP address?
It is still resolved to a public IP address, but the traffic is all internal and private, and subnet must still have a route to the default-internet-gateway set
What are the Forseti modules?
Inventory, Scanner, Enforcer, Explain, and Notifier
What does Forseti Inventory do?
Saves an inventory snapshot of your GCP resources to Cloud SQL
What does Forseti Scanner do?
Regularly compares role-based access policies for your GCP resources