โ† All LCA Flashcard Decks

Cloud Integration & Deployment Flashcards

7 cards from real LCA practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Cloud Integration & Deployment flashcards as text
  1. Which AWS CLI command uploads a local file to an S3 bucket?

    Answer: aws s3 cp file.txt s3://mybucket/

    The 'aws s3 cp' command copies a local file to an S3 bucket using the s3:// URI scheme.

  2. What is the purpose of an IAM role attached to an EC2 instance?

    Answer: To allow the instance to make AWS API calls without embedded credentials

    An IAM role attached to an EC2 instance provides temporary credentials so the instance can call AWS APIs without storing long-term access keys.

  3. Which command initializes a new Terraform working directory and downloads provider plugins?

    Answer: terraform init

    'terraform init' initializes the working directory, downloads required providers, and sets up the backend.

  4. In Kubernetes, what object ensures a specified number of pod replicas are always running?

    Answer: ReplicaSet

    A ReplicaSet maintains a stable set of replica pods running at any given time, restarting pods if they fail.

  5. Which Linux tool is commonly used to manage containerized application lifecycles defined in a YAML file with multiple services?

    Answer: docker-compose

    Docker Compose uses a docker-compose.yml file to define and run multi-container Docker applications with a single command.

  6. What does the 'kubectl rollout undo deployment/myapp' command do?

    Answer: Reverts the deployment to the previous revision

    'kubectl rollout undo' rolls back a Deployment to its previous revision, restoring the prior pod template.

  7. Which file in a Docker image build context specifies instructions for creating the image?

    Answer: Dockerfile

    A Dockerfile contains sequential instructions (FROM, RUN, COPY, CMD, etc.) that Docker uses to build an image.