Reader small image

You're reading from  Kubernetes – An Enterprise Guide - Second Edition

Product typeBook
Published inDec 2021
PublisherPackt
ISBN-139781803230030
Edition2nd Edition
Right arrow
Authors (2):
Marc Boorshtein
Marc Boorshtein
author image
Marc Boorshtein

Marc Boorshtein has been a software engineer and consultant for 20 years and is currently the CTO (Chief Technology Officer) of Tremolo Security, Inc. Marc has spent most of his career building identity management solutions for large enterprises, U.S. Government civilian agencies, and local government public safety systems.
Read more about Marc Boorshtein

Scott Surovich
Scott Surovich
author image
Scott Surovich

Scott Surovich has been involved in the industry for over 25 years and is currently the Global Container Engineering Lead at a tier 1 bank as the Global on-premises Kubernetes product owner architecting and, delivering cluster standards, including the surrounding ecosystem. His previous roles include working on other global engineering teams, including Windows, Linux, and virtualization.
Read more about Scott Surovich

View More author details
Right arrow

Questions

  1. Are OPA and Gatekeeper the same thing?
    1. Yes
    2. No
  2. How is Rego code stored in Gatekeeper?
    1. It is stored as ConfigMap objects that are watched
    2. Rego has to be mounted to the Pod
    3. Rego needs to be stored as secret objects
    4. Rego is saved as a ConstraintTemplate
  3. How do you test Rego policies?
    1. In production
    2. Using an automated framework built directly into OPA
    3. By first compiling to WebAssembly
  4. In Rego, how do you write a for loop?
    1. You don't need to; Rego will identify iterative steps.
    2. By using the for all syntax.
    3. By initializing counters in a loop.
    4. There are no loops in Rego.
  5. What is the best way to debug Rego policies?
    1. Use an IDE to attach to the Gatekeeper container in a cluster
    2. In production
    3. Add trace functions to your code and...
lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Kubernetes – An Enterprise Guide - Second Edition
Published in: Dec 2021Publisher: PacktISBN-13: 9781803230030

Authors (2)

author image
Marc Boorshtein

Marc Boorshtein has been a software engineer and consultant for 20 years and is currently the CTO (Chief Technology Officer) of Tremolo Security, Inc. Marc has spent most of his career building identity management solutions for large enterprises, U.S. Government civilian agencies, and local government public safety systems.
Read more about Marc Boorshtein

author image
Scott Surovich

Scott Surovich has been involved in the industry for over 25 years and is currently the Global Container Engineering Lead at a tier 1 bank as the Global on-premises Kubernetes product owner architecting and, delivering cluster standards, including the surrounding ecosystem. His previous roles include working on other global engineering teams, including Windows, Linux, and virtualization.
Read more about Scott Surovich