Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Docker DCA Exam - Topic 5 Question 55 Discussion

Posted by Ty on Jul 21, 2022 at 11:19 AM

Some Docker images take time to build through a Continuous Integration environment. You want to speed up builds and take advantage of build caching.

Where should the most frequently changed part of a Docker image be placed in a Dockerfile?

Suggested Answer: A

Get Premium DCA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
RE
Reita 11 months ago
I’m surprised this isn’t more common knowledge!
FA
Fausto 11 months ago
Definitely after the FROM directive, that’s where it goes!
NA
Natalie 12 months ago
Wait, are you sure? I thought it was better at the top.
AL
Alishia 12 months ago
Totally agree, that’s the best practice.
GL
Glory 12 months ago
It should be at the bottom of the Dockerfile for caching!
BL
Blair 1 year ago
I’m a bit confused; I thought the ENTRYPOINT directive was for specifying the command to run, not for caching purposes.
RO
Rory 1 year ago
I practiced a similar question, and I think it was suggested to put the frequently changed parts after the FROM directive to optimize caching.
CA
Catrice 1 year ago
I remember something about caching layers, and I think the most frequently changed parts should go at the bottom to avoid invalidating the cache.
VI
Virgie 1 year ago
I’m not entirely sure, but I feel like it might be better to place them at the top so that the base layers can be cached effectively.
RU
Rupert 1 year ago
I think I've got a handle on this. The key is to understand the difference between the two Predicate objects and how they're being combined in the stream() method. I'll work through it carefully and try to identify the correct answer.
DE
Devorah 1 year ago
I remember a practice question where we had to evaluate URLs in an email. I think checking if the email body contains a URL might be one of the right answers.
JA
Jaclyn 1 year ago
This looks like a straightforward Salesforce automation question. I think the key is to identify the specific requirements and match them to the appropriate Salesforce tools.
0/2000 characters

Save Cancel